diff --git a/src/main/java/com/spring/modules/shipment/service/impl/ShipmentBoxServiceImpl.java b/src/main/java/com/spring/modules/shipment/service/impl/ShipmentBoxServiceImpl.java index b46a9a5..904fb5a 100644 --- a/src/main/java/com/spring/modules/shipment/service/impl/ShipmentBoxServiceImpl.java +++ b/src/main/java/com/spring/modules/shipment/service/impl/ShipmentBoxServiceImpl.java @@ -163,8 +163,9 @@ public class ShipmentBoxServiceImpl extends ServiceImpl i throw new RuntimeException("物料"+box.getPartNo()+"系统批次号格式不正确或不存在!"); } String batchNo = finalRollData.getSystemBatchNo().substring(0,10); - String partBatchNo = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00002"); +// String partBatchNo = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00002"); String partMCO = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00017"); BigDecimal qty = detail.getSaleQty(); Date proDate = ship.getCreateDate(); - ShipmentPrint shipmentPrint = new ShipmentPrint(address,address1,address2,city,state,country,postCode,vendorCode,detail.getPoNumber(),detail.getRefId(),ACCPartNo,part.getPartDesc(),version, qty,part.getUmId(),proDate,partBatchNo,part.getPhaseDescription(),partMCO); + ShipmentPrint shipmentPrint = new ShipmentPrint(address,address1,address2,city,state,country,postCode,vendorCode,detail.getPoNumber(),detail.getRefId(),ACCPartNo,part.getPartDesc(),version, qty,part.getUmId(),proDate,batchNo,part.getPhaseDescription(),partMCO); printList.add(shipmentPrint); } // 查询明细