From 6f0ef9f18850f3d4091ceb22d91f29af20107f54 Mon Sep 17 00:00:00 2001 From: yangtm Date: Thu, 15 Aug 2024 10:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=A2=E6=80=81=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index 074da73..00c9908 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -9392,7 +9392,7 @@ ORDER BY CAST(Sequence AS INT),MTDOCType"; //获取转换前物料所匹配条码 string lotList = @"SELECT a.*,b.ExtensionID FROM ICSWareHouseLotInfo a LEFT JOIN ICSInventoryLot b ON a.lotno=b.lotno and a.WorkPoint=b.WorkPoint -WHERE a.Quantity>0 AND a.INVCode='{0}' AND b.ExtensionID='{1}' and a.WorkPoint='{2}' and WHCode='{3}' +WHERE a.Quantity>0 AND a.INVCode='{0}' AND b.ExtensionID='{1}' and a.WorkPoint='{2}' and a.WarehouseCode='{3}' ORDER BY a.mtime desc "; lotList = string.Format(lotList, beforInvCode, beforExtensionID, JsonData.WorkPoint, whCode); DataTable dtlotList = DBHelper.SQlReturnData(lotList, cmd);