From 520361d90b71c31a49233d8d86347d704dbc72bc Mon Sep 17 00:00:00 2001 From: lilili Date: Wed, 30 Aug 2023 11:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=95=E6=8D=AE=E6=96=99?= =?UTF-8?q?=E6=9E=B6=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ICSSoft.DataProject/ICSWareHouseLotInfoService.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs index 26324c2..bf63f04 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseLotInfoService.cs @@ -3757,12 +3757,7 @@ namespace ICSSoft.DataProject } foreach (string tranCode in tranCodes) { - string sqlCheck = @"IF NOT EXISTS(select ID from ICSWareHouseLotInfoLog where TransType='15' AND TransCode='{0}') - BEGIN - RAISERROR('" + language.GetNameByCode("WMSAPIInfo478") + @"',16,1); - RETURN - END; - IF NOT EXISTS( SELECT ID FROM ICSMOApply WHERE ApplyCode='{0}' AND Desks='{1}') + string sqlCheck = @"IF NOT EXISTS( SELECT ID FROM ICSMOApply WHERE ApplyCode='{0}' AND Desks='{1}') BEGIN RAISERROR('" + language.GetNameByCode("WMSAPIInfo477") + @"',16,1); RETURN