|
@ -146,7 +146,7 @@ public class GHSQHTask extends AbstractTask { |
|
|
task.setTask_status(TaskStatus.APPLY.getCode()); |
|
|
task.setTask_status(TaskStatus.APPLY.getCode()); |
|
|
task.setWorkshop_code(taskConfig.getWorkshop_code()); // 车间编码
|
|
|
task.setWorkshop_code(taskConfig.getWorkshop_code()); // 车间编码
|
|
|
//首位01或06生成任务需要补01,例如GHS0101下发需要改成GHS010101
|
|
|
//首位01或06生成任务需要补01,例如GHS0101下发需要改成GHS010101
|
|
|
if(task.getPoint_code1().endsWith("01")||task.getPoint_code1().endsWith("06")) { |
|
|
if(schBasePoint.getPoint_code().endsWith("01")||schBasePoint.getPoint_code().endsWith("06")) { |
|
|
task.setPoint_code1(task.getPoint_code1()+"01"); |
|
|
task.setPoint_code1(task.getPoint_code1()+"01"); |
|
|
} |
|
|
} |
|
|
task.setPoint_code2(endPoint); |
|
|
task.setPoint_code2(endPoint); |
|
|