dev:表处问题修改

This commit is contained in:
2024-03-08 17:41:03 +08:00
parent c9d9e86848
commit f19b938a33

View File

@@ -1509,8 +1509,8 @@ public class MesToLmsServiceImpl implements MesToLmsService {
JSONObject form = new JSONObject();
if (StrUtil.isEmpty(up_scroll)) {
//取满放满
form.put("point_code1", jsonCoolIvt.getString("point_code"));
form.put("point_code2", device_jo.getString("point_code"));
form.put("point_code1", jsonCoolIvt.getString("full_point_code"));
form.put("point_code2", device_jo.getString("up_point_code"));
form.put("task_type", "010702");
form.put("material_code", jsonCoolIvt.getString("container_name"));
form.put("vehicle_code", jsonCoolIvt.getString("full_vehicle_code"));
@@ -1518,8 +1518,8 @@ public class MesToLmsServiceImpl implements MesToLmsService {
} else {
//取满取空放满放空
form.put("point_code1", jsonCoolIvt.getString("full_point_code"));
form.put("point_code2", device_jo.getString("point_code"));
form.put("point_code3", device_jo.getString("point_code"));
form.put("point_code2", device_jo.getString("up_point_code"));
form.put("point_code3", device_jo.getString("up_point_code"));
//判断对应空轴点位是否为空,为空用当前点位,不为空查询其他点位
if (jsonCoolIvt.getString("empty_point_status").equals("01")) {
form.put("point_code4", jsonCoolIvt.getString("empty_point_code"));
@@ -1545,7 +1545,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
map.put("flag", "1");
map.put("product_area", device_jo.getString("product_area"));
JSONObject jsonIvt = WQL.getWO("PDA_RAWFOIL_01").addParamMap(map).process().uniqueResult(0);
form.put("point_code1", device_jo.getString("point_code"));
form.put("point_code1", device_jo.getString("up_point_code"));
//寻找可用的冷却区满轴点位
form.put("point_code2", jsonIvt.getString("full_point_code"));
form.put("task_type", "010704");