|
@ -25,7 +25,7 @@ import java.util.List; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @author: lyd |
|
|
* @author: lyd |
|
|
* @description: 压制机送空托盘入库 |
|
|
* @description: 压制机送空盅入库 |
|
|
* @Date: 2022/11/10 |
|
|
* @Date: 2022/11/10 |
|
|
*/ |
|
|
*/ |
|
|
@Service |
|
|
@Service |
|
@ -149,7 +149,7 @@ public class YzjSendEmpVehicleTask extends AbstractAcsTask { |
|
|
SchTaskDto dto = SchTaskDto.builder().task_id(org.nl.wms.util.IdUtil.getLongId()) |
|
|
SchTaskDto dto = SchTaskDto.builder().task_id(org.nl.wms.util.IdUtil.getLongId()) |
|
|
.task_code(CodeUtil.getNewCode("TASK_CODE")) |
|
|
.task_code(CodeUtil.getNewCode("TASK_CODE")) |
|
|
.task_type("") |
|
|
.task_type("") |
|
|
.task_name("压制机空盘入库") |
|
|
.task_name("压制机空盅入库") |
|
|
.task_status(TaskStatusEnum.SURE_START.getCode()) |
|
|
.task_status(TaskStatusEnum.SURE_START.getCode()) |
|
|
.point_code1(point_code1) |
|
|
.point_code1(point_code1) |
|
|
.vehicle_code(form.getString("vehicle_code")) |
|
|
.vehicle_code(form.getString("vehicle_code")) |
|
@ -187,7 +187,7 @@ public class YzjSendEmpVehicleTask 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_hnSendEmptyVehicle_01").addParamMap(param1).process().uniqueResult(0); |
|
|
JSONObject endPoint = WQL.getWO("QSCH_yzjSendEmptyVehicle_01").addParamMap(param1).process().uniqueResult(0); |
|
|
if (ObjectUtil.isEmpty(endPoint)) { |
|
|
if (ObjectUtil.isEmpty(endPoint)) { |
|
|
taskObj.put("remark", "困料货架无可用货位!"); |
|
|
taskObj.put("remark", "困料货架无可用货位!"); |
|
|
taskObj.put("task_status", TaskStatusEnum.SURE_START.getCode()); |
|
|
taskObj.put("task_status", TaskStatusEnum.SURE_START.getCode()); |
|
|