diff --git a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs index 1df06c1..a8bac2a 100644 --- a/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs +++ b/WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs @@ -3523,7 +3523,7 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu else { log.Debug("过账返回值:" + result.Z_NULL + "过账返回信息:" + result.L_MESSAGE); - string updatesql = @"update ICSDeliveryNotice set RCVQuantity+=Convert(decimal(18,6),SAPSequence) + string updatesql = @"update ICSDeliveryNotice set RCVQuantity=Convert(decimal(18,6),Quantity) where DNCode='{0}' and WorkPoint='{1}'"; updatesql = string.Format(updatesql, dt.Rows[i]["DNCode"].ToString(), WorkPoint); SqlHelper.CmdExecuteNonQueryLi(updatesql.ToString());