|
@ -24,6 +24,7 @@ using Win.Sfs.SettleAccount.CommonManagers; |
|
|
using Win.Sfs.SettleAccount.Constant; |
|
|
using Win.Sfs.SettleAccount.Constant; |
|
|
using Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
using Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
using Win.Sfs.SettleAccount.Entities.CodeSettings; |
|
|
using Win.Sfs.SettleAccount.Entities.CodeSettings; |
|
|
|
|
|
using Win.Sfs.SettleAccount.Entities.Controls; |
|
|
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|
|
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|
|
using Win.Sfs.SettleAccount.ExcelImporter; |
|
|
using Win.Sfs.SettleAccount.ExcelImporter; |
|
|
using Win.Sfs.Shared.CacheBase; |
|
|
using Win.Sfs.Shared.CacheBase; |
|
@ -108,6 +109,18 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取全部
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>实体DTO列表</returns>
|
|
|
|
|
|
[HttpGet] |
|
|
|
|
|
public async Task<ListResultDto<CodeSettingDto>> GetAllAsync() |
|
|
|
|
|
{ |
|
|
|
|
|
var entities = await _repository.GetAllAsync(true); |
|
|
|
|
|
var dtos = ObjectMapper.Map<List<CodeSetting>, List<CodeSettingDto>>(entities); |
|
|
|
|
|
return new ListResultDto<CodeSettingDto>(dtos); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 获取列表
|
|
|
/// 获取列表
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|