wms物料编号问题

master
mengjiao 6 months ago
parent 1fe9b03f0f
commit dc1f1ecff2

@ -805,7 +805,11 @@ public class OdsProcureOrderServiceImpl implements IOdsProcureOrderService {
order.setProcureCode(sapPurchaseOrderQuery1.get("orderNum"));
order.setSiteCode(sapPurchaseOrderQuery1.get("werks"));
//order.setUserDefined3(sapPurchaseOrderQuery1.get("ebelp"));//批次
order.setMaterialCode(sapPurchaseOrderQuery1.get("matnr"));
String materialCode = sapPurchaseOrderQuery1.get("matnr");
materialCode = "0000000" + materialCode;
order.setMaterialCode(materialCode);
// order.setMaterialCode(sapPurchaseOrderQuery1.get("matnr"));
// order.setMaterialCode("0000000"+order.getMaterialCode());
order.setMaterialDesc(sapPurchaseOrderQuery1.get("matnrName"));
order.setActive("1");
List<OdsProcureOrder> orderList = odsProcureOrderMapper.selectOdsProcureOrderList(order);

Loading…
Cancel
Save