|
|
@ -139,7 +139,6 @@ namespace Win.Sfs.SettleAccount.Bases |
|
|
|
//[Route("mainquery")]
|
|
|
|
public virtual async Task<PagedResultDto<TEntityDto>> MainQueryAsync(TRequestMainInput input) |
|
|
|
{ |
|
|
|
|
|
|
|
var entitys = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount).ConfigureAwait(false); |
|
|
|
var totalCount = await _repository.GetCountByFilterAsync(input.Filters).ConfigureAwait(false); |
|
|
|
var dtos = ObjectMapper.Map<List<TEntity>, List<TEntityDto>>(entitys); |
|
|
|