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