|
|
@ -202,11 +202,6 @@ public class BBAC_SA_SERVICE : SettleAccountApplicationBase<BBAC_SA> |
|
|
|
[HttpPost] |
|
|
|
public async Task<PagedResultDto<BBAC_SA_DTO>> GetListAsync(RequestDto input) |
|
|
|
{ |
|
|
|
//var businessTypeFilterConditions = input.Filters.FindAll(t => t.Column.ToLower() == "businesstype");
|
|
|
|
//businessTypeFilterConditions.ForEach(t =>
|
|
|
|
//{
|
|
|
|
// t.Value = EnumBusinessType.JisBBAC.ToString();
|
|
|
|
//});
|
|
|
|
var entities = await _bbacSaRepository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true).ConfigureAwait(false); |
|
|
|
var totalCount = await _bbacSaRepository.GetCountByFilterAsync(input.Filters).ConfigureAwait(false); |
|
|
|
var dtos = ObjectMapper.Map<List<BBAC_SA>, List<BBAC_SA_DTO>>(entities); |
|
|
|