From 8347330612c025e3fe4a587a7d45312df27eafd3 Mon Sep 17 00:00:00 2001 From: lilili Date: Wed, 29 Mar 2023 16:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=9B=98=E7=82=B9=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/BlitemApp.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/WMS-BS/NFine.Application/WMS/BlitemApp.cs b/WMS-BS/NFine.Application/WMS/BlitemApp.cs index 8b2982f..bc2418f 100644 --- a/WMS-BS/NFine.Application/WMS/BlitemApp.cs +++ b/WMS-BS/NFine.Application/WMS/BlitemApp.cs @@ -69,12 +69,11 @@ a.ReplayAmount, a.CheckQuantity, a.CheckAmount - FROM ICSCheck f - LEFT JOIN ICSCheckDetail a ON f.CheckCode=a.CheckCode + FROM ICSCheckDetail a left join ICSInventoryLot c on a.LotNo=c.LotNO and a.WorkPoint=c.WorkPoint left join ICSInventory b on c.InvCode=b.InvCode AND c.WorkPoint=b.WorkPoint left join ICSWareHouseLotInfo d on c.LotNO=d.LotNO AND c.WorkPoint=d.WorkPoint - WHERE f.ID='" + ID + "' and a.WorkPoint in ('" + WorkPoint + "')"; + WHERE a.CheckID='" + ID + "' and a.WorkPoint in ('" + WorkPoint + "')"; return Repository().FindTablePageBySql(sql.ToString(), parameter.ToArray(), ref jqgridparam); }