|
|
@ -123,7 +123,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
|
|
|
|
private async Task<long> GetCountAsync(WmsRequestDetailReportDto input) |
|
|
|
{ |
|
|
|
|
|
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version }); |
|
|
|
return await _wmsRepository.GetCountByFilterAsync(GuidGenerator.Create(), input.Filters); |
|
|
|
} |
|
|
|
[HttpPost] |
|
|
@ -158,6 +158,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
[Route("Export")] |
|
|
|
virtual public async Task<string> ExportAsync(WmsRequestDetailReportDto input) |
|
|
|
{ |
|
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version }); |
|
|
|
var entities = await _wmsRepository.GetListByFilterAsync(GuidGenerator.Create(), input.Filters, input.Sorting, int.MaxValue, |
|
|
|
0, true); |
|
|
|
IExporter _excel = new ExcelExporter(); |
|
|
|