|
|
|
@ -85,8 +85,8 @@ public class MesShippingCheckVolvoRackNoAndPartNoStrategyServiceImpl implements
|
|
|
|
|
boolean scanFlg = false;
|
|
|
|
|
for (MesShippingOrderManagementDetail detail : model.getDetailList()) {
|
|
|
|
|
if (detail.getPartNo().equals(produceSn.getPartNo()) && StringUtils.isEmpty(detail.getBarcode()) && !Objects.equals(detail.getIsScanFlg(), MesCommonConstant.TRUE_INTEGER)) {
|
|
|
|
|
if (Objects.equals(detail.getVin(), workOrder.getVinCode())) {
|
|
|
|
|
throw new ImppBusiException(String.format("产品条码明细【%s】与发运单明细不匹配,请重新扫描!", model.getSn()));
|
|
|
|
|
if (!Objects.equals(detail.getVin(), workOrder.getVinCode())) {
|
|
|
|
|
throw new ImppBusiException(String.format("产品条码【%s】对应工单Vince号与发运单明细的Vin号不匹配,请重新扫描!", model.getSn()));
|
|
|
|
|
}
|
|
|
|
|
checkDetailScanSeq(orderManagement, detail, workOrder);
|
|
|
|
|
//校验发运明细
|
|
|
|
|