fix
This commit is contained in:
@@ -101,7 +101,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
|||||||
param.put("config_code", requestMethodCode);
|
param.put("config_code", requestMethodCode);
|
||||||
try {
|
try {
|
||||||
if (ObjectUtil.isEmpty(requestMethodCode)) {
|
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);
|
AbstractTask task = taskFactory.getTask(requestMethodCode);
|
||||||
// 执行创建任务
|
// 执行创建任务
|
||||||
|
|||||||
@@ -262,6 +262,7 @@ public class BPSLTask extends AbstractTask {
|
|||||||
// point.setVehicle_qty(point.getVehicle_qty() - 1);
|
// point.setVehicle_qty(point.getVehicle_qty() - 1);
|
||||||
// }
|
// }
|
||||||
//重算点位时把点位占用
|
//重算点位时把点位占用
|
||||||
|
schBaseTask.setPoint_code1(point.getPoint_code());
|
||||||
point.setIng_task_code(schBaseTask.getTask_code());
|
point.setIng_task_code(schBaseTask.getTask_code());
|
||||||
|
|
||||||
pointService.update(point);
|
pointService.update(point);
|
||||||
|
|||||||
Reference in New Issue
Block a user