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