|
|
|
@ -195,6 +195,9 @@ public class ShipmentServiceImpl extends ServiceImpl<ShipmentMapper, Shipment> i |
|
|
|
box.setPartNo(detail.getPartNo()); |
|
|
|
box.setSite(shipment.getSite()); |
|
|
|
PartInformationVo part = shipmentRollMapper.queryPart(box); |
|
|
|
if (Objects.isNull(part)){ |
|
|
|
throw new RuntimeException(detail.getPartNo()+"物料信息不存在!"); |
|
|
|
} |
|
|
|
String customerPart = shipmentRollMapper.queryPartPropertyItem(part.getSite(),part.getPartNo(),"P00001"); |
|
|
|
String[] customerPartNo = customerPart.split(","); |
|
|
|
if (customerPartNo.length < 3){ |
|
|
|
|