|
|
|
@ -1242,7 +1242,7 @@ public class DailyPlanServiceImpl implements DailyPlanService { |
|
|
|
if(!sfdcCheck.get(0).getOrderNo().equals(checkFirstItem.get(0).getOrderNo())||sfdcCheck.get(0).getItemNo().intValue()!=checkFirstItem.get(0).getItemNo().intValue()){ |
|
|
|
throw new RuntimeException("扫描的上道派工单工序不匹配,或者不是同一个生产订单!"); |
|
|
|
} |
|
|
|
if(getPreviousSOSData.get(0).getMaterSeqNo()==null){ |
|
|
|
if(getPreviousSOSData.get(0).getPreviousBatchNo()==null){ |
|
|
|
throw new RuntimeException("上道派工单没有交接记录!"); |
|
|
|
} |
|
|
|
dailyPlanMapper.updatePreviousSOSData(inData.getSeqNo(),inData.getPreviousSeqNo(),getPreviousSOSData.get(0).getPreviousBatchNo(),getPreviousSOSData.get(0).getMaterSeqNo()); |
|
|
|
|