|
@ -242,9 +242,9 @@ public class HnSendMaterialTask extends AbstractAcsTask { |
|
|
param1.put("region_code", "KLHJ"); |
|
|
param1.put("region_code", "KLHJ"); |
|
|
param1.put("vehicle_type", "%" + vehicle_type + "%"); |
|
|
param1.put("vehicle_type", "%" + vehicle_type + "%"); |
|
|
//1、查找困料货架是否有响应的载具类型和对应的物料
|
|
|
//1、查找困料货架是否有响应的载具类型和对应的物料
|
|
|
JSONObject endPoint = WQL.getWO("QSCH_hnCallEmptyVehicle_01").addParamMap(param1).process().uniqueResult(0); |
|
|
JSONObject endPoint = WQL.getWO("QSCH_hnSendMaterial_01").addParamMap(param1).process().uniqueResult(0); |
|
|
if (ObjectUtil.isEmpty(endPoint)) { |
|
|
if (ObjectUtil.isEmpty(endPoint)) { |
|
|
taskObj.put("remark", "困料货架无可用货位!"); |
|
|
taskObj.put("remark", "困料货架无可用货位"); |
|
|
taskObj.put("update_time", DateUtil.now()); |
|
|
taskObj.put("update_time", DateUtil.now()); |
|
|
taskTab.update(taskObj); |
|
|
taskTab.update(taskObj); |
|
|
} else { |
|
|
} else { |
|
|