|
@ -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)) { |
|
|