This commit is contained in:
psh
2024-06-21 13:24:44 +08:00
parent 56069030a6
commit ddfa8e34ab
2 changed files with 2 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
param.put("config_code", requestMethodCode);
try {
if (ObjectUtil.isEmpty(requestMethodCode)) {
throw new BadRequestException("任务类型不正确!requestMethodCode" + requestMethodName + ",device_code" + device_code);
throw new BadRequestException("任务类型不正确!requestMethodCode" + requestMethodCode + ",device_code" + device_code);
}
AbstractTask task = taskFactory.getTask(requestMethodCode);
// 执行创建任务

View File

@@ -262,6 +262,7 @@ public class BPSLTask extends AbstractTask {
// point.setVehicle_qty(point.getVehicle_qty() - 1);
// }
//重算点位时把点位占用
schBaseTask.setPoint_code1(point.getPoint_code());
point.setIng_task_code(schBaseTask.getTask_code());
pointService.update(point);