Browse Source

1.正极板对接位由一层改为三层

master
psh 10 months ago
parent
commit
b6b9d9bc03
  1. 4
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java
  2. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java

4
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java

@ -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"));
} }

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/ghs/GHSQHTask.java

@ -102,7 +102,7 @@ public class GHSQHTask extends AbstractTask {
return; return;
} }
// 放料先去等待点 // 放料先去等待点
this.createTask(schBasePoint, nextPoint.getNext_wait_point()); this.createTask(schBasePoint, nextPoint.getStart_wait_point());
} }

Loading…
Cancel
Save