Browse Source

二车间正极板叫料用任务13

master
psh 8 months ago
parent
commit
3363d2560d
  1. 7
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/BPSLTask.java

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

@ -87,8 +87,11 @@ public class BPSLTask extends AbstractTask {
log.info("包片上料未找到当前符合条件的点位materialType:{},", materialType); log.info("包片上料未找到当前符合条件的点位materialType:{},", materialType);
continue; continue;
} }
if ("1".equals(materialType)) {
task.setTask_type("13");
} else {
task.setTask_type("3"); task.setTask_type("3");
}
// 设置起点并修改创建成功状态 // 设置起点并修改创建成功状态
// 取料先去等待点 // 取料先去等待点
task.setPoint_code1(point.getNext_wait_point()); task.setPoint_code1(point.getNext_wait_point());
@ -118,7 +121,7 @@ public class BPSLTask extends AbstractTask {
String regionCode = ""; String regionCode = "";
String materialType = extGroupData.getString("material_type"); String materialType = extGroupData.getString("material_type");
if ("1".equals(materialType)) { if ("1".equals(materialType)) {
regionCode="ZJBDJW"; regionCode = "HCQ4";
} else if ("2".equals(materialType)) { } else if ("2".equals(materialType)) {
regionCode = "HCQ2"; regionCode = "HCQ2";
} else if ("3".equals(materialType)) { } else if ("3".equals(materialType)) {

Loading…
Cancel
Save