From 8b570649f27e8867062555ac19286004c3d333e6 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 14 Mar 2022 11:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/WMS/WmsDetailUnInterface.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();