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,