|
|
@ -229,6 +229,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
var totalCount = await _vmiBalanceSumDetailRepository.GetCountByFilterAsync(input.Filters).ConfigureAwait(false); |
|
|
|
|
|
|
|
var dtos = _maper.Map<List<VmiBalanceSumDetail>, List<VmiBalanceSumDetailDto>>(entities); |
|
|
|
dtos=dtos.OrderByDescending(p => p.BillTime).ToList(); |
|
|
|
|
|
|
|
return new PagedResultDto<VmiBalanceSumDetailDto>(totalCount, dtos); |
|
|
|
} |
|
|
@ -261,6 +262,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
//var totalCount = await _vmiBalanceSumDetailRepository.GetCountByFilterAsync(input.Filters).ConfigureAwait(false);
|
|
|
|
|
|
|
|
var dtos = _maper.Map<List<VmiBalanceSumDetail>, List<VmiBalanceSumDetailDto>>(entities); |
|
|
|
dtos=dtos.OrderByDescending(p => p.BillTime).ToList(); |
|
|
|
|
|
|
|
var fileName = $"库存余额_{DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss")}.xlsx"; |
|
|
|
var content = this.GetContent(dtos, "库存余额"); |
|
|
|