diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailUnInterface.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailUnInterface.cs index 97043cc3..05298cdf 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailUnInterface.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailUnInterface.cs @@ -123,7 +123,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS private async Task 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 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();