Browse Source

形态转换

master
yangtm 4 months ago
parent
commit
6f0ef9f188
  1. 2
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs

2
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs

@ -9392,7 +9392,7 @@ ORDER BY CAST(Sequence AS INT),MTDOCType";
//获取转换前物料所匹配条码
string lotList = @"SELECT a.*,b.ExtensionID FROM ICSWareHouseLotInfo a
LEFT JOIN ICSInventoryLot b ON a.lotno=b.lotno and a.WorkPoint=b.WorkPoint
WHERE a.Quantity>0 AND a.INVCode='{0}' AND b.ExtensionID='{1}' and a.WorkPoint='{2}' and WHCode='{3}'
WHERE a.Quantity>0 AND a.INVCode='{0}' AND b.ExtensionID='{1}' and a.WorkPoint='{2}' and a.WarehouseCode='{3}'
ORDER BY a.mtime desc ";
lotList = string.Format(lotList, beforInvCode, beforExtensionID, JsonData.WorkPoint, whCode);
DataTable dtlotList = DBHelper.SQlReturnData(lotList, cmd);

Loading…
Cancel
Save