From bb5b39a0a4b1ac7f77f21f16bbe1eb214fe1cd40 Mon Sep 17 00:00:00 2001 From: lilili Date: Tue, 4 Apr 2023 16:03:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B0=83=E6=8B=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ICSSoft.DataProject/ICSSubmitService.cs | 2 +- .../ICSSoft.DataProject/ICSWareHouseLotInfoService.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index 3e6e2a8..60ff176 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -314,7 +314,7 @@ namespace ICSSoft.DataProject tableName = @"ICSTransfer a "; - where = @" a.TransferNO='{0}' AND a.WorkPoint='{1}' AND a.Status='1' "; + where = @" a.TransferNO='{0}' AND a.WorkPoint='{1}' "; } #endregion #region 调拨申请单(领料) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs index 422580a..a307f02 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs @@ -1131,11 +1131,11 @@ namespace ICSSoft.DataProject RETURN END - IF EXISTS(SELECT id FROM ICSWareHouseLotInfo WHERE WarehouseCode='{9}' AND LocationCode='{10}' AND WorkPoint='{1}' AND LotNo = '{0}') - BEGIN - RAISERROR('" + string.Format(language.GetNameByCode("WMSAPIInfo355")) + @"',16,1); - RETURN - END + --IF EXISTS(SELECT id FROM ICSWareHouseLotInfo WHERE WarehouseCode='{9}' AND LocationCode='{10}' AND WorkPoint='{1}' AND LotNo = '{0}') + --BEGIN + --RAISERROR('" + string.Format(language.GetNameByCode("WMSAPIInfo355")) + @"',16,1); + --RETURN + --END INSERT INTO ICSWareHouseLotInfoLog(ID,Identification,TransCode,TransSequence,LotNo,InvCode, FromWarehouseCode,FromLocationCode,ToWarehouseCode,ToLocationCode,Quantity,