工单变更(成品工单变更BUG修复)

highway
wws 1 year ago
parent 09e0b3e249
commit c2caaab2f8

@ -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());
// 生成对应批次表 // 生成对应批次表

Loading…
Cancel
Save