|
|
|
@ -697,14 +697,16 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
|
|
|
|
|
if (splitOrderDTO.getRouteCode() != null) {
|
|
|
|
|
proOrderWorkorder.setRouteCode(splitOrderDTO.getRouteCode());
|
|
|
|
|
}
|
|
|
|
|
// 白坯工单返修-车数
|
|
|
|
|
if (proOrderWorkorder.getProdType().equals("white")) {
|
|
|
|
|
if (splitOrderDTO.getCarNum() != null) {
|
|
|
|
|
proOrderWorkorder.setCarNum(splitOrderDTO.getCarNum());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// // 白坯工单返修-车数
|
|
|
|
|
// if (proOrderWorkorder.getProdType().equals("white")) {
|
|
|
|
|
// if (splitOrderDTO.getCarNum() != null) {
|
|
|
|
|
// proOrderWorkorder.setCarNum(splitOrderDTO.getCarNum());
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
proOrderWorkorderMapper.updateProOrderWorkorder(proOrderWorkorder);
|
|
|
|
|
// 删除工单下对应批次信息
|
|
|
|
|
proOrderWorkorderBatchMapper.deleteProOrderWorkorderBatchByWorkorderId(proOrderWorkorder.getWorkorderId());
|
|
|
|
|
|
|
|
|
|
// System.out.println("这里是workorderCode------------》"+proOrderWorkorder.getWorkorderCode());
|
|
|
|
|
// 生成对应批次表
|
|
|
|
|