From c11bd01db2626862acaa3e712edbb79b645b2554 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G2TH1JI\\vivian" Date: Tue, 24 May 2022 09:42:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=92=E6=94=B6=E5=8D=95=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=9D=A1=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index d17b4e1..ac6c26f 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -1613,7 +1613,7 @@ left join (select b.TransCode,b.TransSequence,sum(isnull(Quantity,0)) LOTQTY fro group by b.TransCode,b.TransSequence ) c on a.DNCode=c.TransCode and a.Sequence=c.TransSequence - WHERE a.ODNType='3' + WHERE a.DNType='3' and a.DNCode='" + DNCode + "' and a.Sequence='" + Sequence + "'"; sql += " and a.WorkPoint='" + WorkPoint + "'"; return Repository().FindTableBySql(sql.ToString());