opt:任务完成,取消逻辑优化;
This commit is contained in:
@@ -1262,7 +1262,6 @@ public class TaskServiceImpl extends CommonServiceImpl<TaskMapper, Task> impleme
|
||||
instdto.setInstruction_type(task_type);
|
||||
instdto.setInstruction_id(IdUtil.simpleUUID());
|
||||
instdto.setRoute_plan_code(route_plan_code);
|
||||
instdto.setRemark(acsTask.getRemark());
|
||||
instdto.setMaterial(acsTask.getMaterial());
|
||||
instdto.setQuantity(acsTask.getQuantity());
|
||||
instdto.setTask_id(taskid);
|
||||
@@ -1288,7 +1287,6 @@ public class TaskServiceImpl extends CommonServiceImpl<TaskMapper, Task> impleme
|
||||
instdto.setExt_task_id(acsTask.getExt_task_id());
|
||||
try {
|
||||
instructionservice.create2(instdto);
|
||||
log.info("手动创建指令成功!任务id为:{},指令号为:{}", acsTask.getTask_id(), instdto.getInstruction_code());
|
||||
} catch (Exception e) {
|
||||
log.error("手动创建指令失败!任务id为:{},指令号为:{},失败原因{}", acsTask.getTask_id(), instdto.getInstruction_code(), e.getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user