opt: B2车间生箔下料配送顺序:先烘箱对接位再到冷却位

This commit is contained in:
2024-12-21 03:27:41 +08:00
parent 0de92594e3
commit 05cb222073
2 changed files with 3 additions and 3 deletions

View File

@@ -165,6 +165,7 @@ public class RawFoilServiceImpl implements RawFoilService {
String start_pint_code = "";
String point_code4 = "";
String orderType = jsonRaw.getString("order_type");
//二期B1、B3的生箔烘箱任务和其他不一致
if (jsonSb.getString("product_area").equals("B1")) {
@@ -250,7 +251,6 @@ public class RawFoilServiceImpl implements RawFoilService {
map.put("point_type", "1");
// 如果是B2, 需要根据标箔或者锂电来判断是哪个位置
if (jsonSb.getString("product_area").equals("B2")) {
String orderType = jsonRaw.getString("order_type");
// order_type 1-标箔2-锂电
if ("2".equals(orderType)) {
map.put("point_type", "4");
@@ -293,7 +293,7 @@ public class RawFoilServiceImpl implements RawFoilService {
param.put("task_type", "010105");
param.put("material_code", jsonRaw.getString("container_name"));
param.put("product_area", jsonSb.getString("product_area"));
} else if (jsonSb.getString("product_area").startsWith("B2")) {
} else if (jsonSb.getString("product_area").equals("B2") && "2".equals(orderType)) {
// 如果是B2直接送到对接位。
JSONObject map2 = new JSONObject();
map2.put("flag", "3");

View File

@@ -380,7 +380,7 @@ public class CallEmpReelTask extends AbstractAcsTask {
} else {
json.put("priority", priority_jo.getString("value"));
}
if ("010101".equals(form.getString("task_type")) || "010104".equals(form.getString("task_type"))) {
if ("010101".equals(form.getString("task_type")) || "010106".equals(form.getString("task_type")) || "010104".equals(form.getString("task_type"))) {
json.put("acs_task_type", "1");
} else {
json.put("acs_task_type", "3");