opt: B2生箔下料与烘箱出来冷却区区域划分

This commit is contained in:
2024-11-13 17:20:23 +08:00
parent 1418965344
commit 80bf20b11d
2 changed files with 7 additions and 3 deletions

View File

@@ -618,12 +618,12 @@ public class BakingServiceImpl implements BakingService {
map.put("point_location", jsonPoint.getString("point_location"));
}
map.put("point_type", "1");
// B2出来要根据锂电或者标箔去不同地方
// B2出来要根据锂电或者标箔去不同地方状态5
if (jsonPoint.getString("product_area").equals("B2")) {
String orderType = raw_jo.getString("order_type");
// order_type 1-标箔2-锂电
if ("2".equals(orderType)) {
map.put("point_type", "4");
map.put("point_type", "5");
}
}
JSONObject jsonCooIvt = WQL.getWO("PDA_OVENINANDOUT_01").addParamMap(map).process().uniqueResult(0);

View File

@@ -271,9 +271,13 @@ public class RawFoilServiceImpl implements RawFoilService {
// 起点和终点确定 生成任务
JSONObject param = new JSONObject();
String bigType = whereJson.getString("big_type");
if (ObjectUtil.isNotEmpty(bigType) && "1".equals(bigType)) {
// 只有一期才需要指定车号
if (jsonSb.getString("product_area").startsWith("A")
&& ObjectUtil.isNotEmpty(bigType)
&& "1".equals(bigType)) {
param.put("car_no", "8");
}
param.put("point_code1", start_pint_code);
param.put("point_code2", jsonSb.getString("point_code") + "_K");
param.put("point_code3", jsonSb.getString("point_code") + "_M");