|
|
@ -24,6 +24,7 @@ using Win.Sfs.SettleAccount.CommonManagers; |
|
|
|
using Win.Sfs.SettleAccount.Constant; |
|
|
|
using Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
|
|
|
using Win.Sfs.SettleAccount.Entities.CodeSettings; |
|
|
|
using Win.Sfs.SettleAccount.Entities.Controls; |
|
|
|
using Win.Sfs.SettleAccount.Entities.ImportMap; |
|
|
|
using Win.Sfs.SettleAccount.ExcelImporter; |
|
|
|
using Win.Sfs.Shared.CacheBase; |
|
|
@ -108,6 +109,17 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取全部
|
|
|
|
/// </summary>
|
|
|
|
[HttpPost] |
|
|
|
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>
|
|
|
|