|
@ -66,7 +66,7 @@ public class StructFindUtil { |
|
|
throw new BadRequestException("托盘不能为空!"); |
|
|
throw new BadRequestException("托盘不能为空!"); |
|
|
} |
|
|
} |
|
|
if (StrUtil.equals(point_code, "KGTPDDW05")) { |
|
|
if (StrUtil.equals(point_code, "KGTPDDW05")) { |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001").addParam("area_type", AreaEnum.KGTDDQ).addParam("flag", "2").process().getResultJSONArray(0); |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001").addParam("area_type", AreaEnum.KGTCPQ.getCode()).addParam("flag", "2").process().getResultJSONArray(0); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
} |
|
|
} |
|
|
//根据托盘找托盘类型,
|
|
|
//根据托盘找托盘类型,
|
|
@ -93,8 +93,7 @@ public class StructFindUtil { |
|
|
//如果是堆叠位5 需要更新 设备状态
|
|
|
//如果是堆叠位5 需要更新 设备状态
|
|
|
if(StrUtil.equals(point_code,"KGTDDW05")){ |
|
|
if(StrUtil.equals(point_code,"KGTDDW05")){ |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001") |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001") |
|
|
.addParam("area_type", AreaEnum.KGTDDQ.getCode()) |
|
|
.addParam("area_type", AreaEnum.KGTCPQ.getCode()) |
|
|
.addParam("point_code","KGTDDW05") |
|
|
|
|
|
.addParam("flag", "2").process().getResultJSONArray(0); |
|
|
.addParam("flag", "2").process().getResultJSONArray(0); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
} |
|
|
} |
|
@ -105,7 +104,7 @@ public class StructFindUtil { |
|
|
JSONObject result = new JSONObject(); |
|
|
JSONObject result = new JSONObject(); |
|
|
//如果是堆叠位5 需要更新 设备状态
|
|
|
//如果是堆叠位5 需要更新 设备状态
|
|
|
if (StrUtil.equals(point_code, "KGTDDW05")) { |
|
|
if (StrUtil.equals(point_code, "KGTDDW05")) { |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001").addParam("area_type", AreaEnum.KGTDDQ.getCode()).addParam("flag", "2").process().getResultJSONArray(0); |
|
|
JSONArray pointarr = WQL.getWO("ACSTOMES_001").addParam("area_type", AreaEnum.KGTCPQ.getCode()).addParam("flag", "2").process().getResultJSONArray(0); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
PointUpdateUtil.updatePoint(pointarr); |
|
|
result = WQL.getWO("QSTRUCT_RULE").addParam("flag", "6") |
|
|
result = WQL.getWO("QSTRUCT_RULE").addParam("flag", "6") |
|
|
.addParam("area_type", area_type) |
|
|
.addParam("area_type", area_type) |
|
|