|
@ -90,7 +90,7 @@ public class BPSLTask extends AbstractTask { |
|
|
// 设置起点并修改创建成功状态
|
|
|
// 设置起点并修改创建成功状态
|
|
|
// 取料先去等待点
|
|
|
// 取料先去等待点
|
|
|
task.setTask_type("3"); |
|
|
task.setTask_type("3"); |
|
|
task.setPoint_code1(point.getStart_wait_point()); |
|
|
task.setPoint_code1(point.getNext_wait_point()); |
|
|
task.setTask_status(TaskStatus.CREATED.getCode()); |
|
|
task.setTask_status(TaskStatus.CREATED.getCode()); |
|
|
task.setRemark(""); |
|
|
task.setRemark(""); |
|
|
taskService.update(task); |
|
|
taskService.update(task); |
|
@ -240,7 +240,7 @@ public class BPSLTask extends AbstractTask { |
|
|
SchBasePoint point = this.findNextPoint(jsonObject,schBaseTask); |
|
|
SchBasePoint point = this.findNextPoint(jsonObject,schBaseTask); |
|
|
//正极板现在不堆叠
|
|
|
//正极板现在不堆叠
|
|
|
if( "1".equals(jsonObject.getString("material_type"))) { |
|
|
if( "1".equals(jsonObject.getString("material_type"))) { |
|
|
schBaseTask.setPoint_code1(point.getPoint_code()); |
|
|
schBaseTask.setPoint_code1(point.getPoint_code()+"0"+(point.getVehicle_qty())); |
|
|
}else{ |
|
|
}else{ |
|
|
schBaseTask.setPoint_code1(point.getPoint_code().replace("HCQ","QHQ")); |
|
|
schBaseTask.setPoint_code1(point.getPoint_code().replace("HCQ","QHQ")); |
|
|
} |
|
|
} |
|
|