fix : 排列层校验
This commit is contained in:
@@ -1254,7 +1254,7 @@ public class TaskServiceImpl extends CommonServiceImpl<TaskMapper, Task> impleme
|
||||
String to_z = null;
|
||||
//校验排列层为空
|
||||
if (task.getTask_type().equals(TaskTypeEnum.AGV_Task.getIndex())){
|
||||
if (StrUtil.isEmpty(task.getTo_y()) || StrUtil.isEmpty(task.getTo_z())|| StrUtil.isEmpty(task.getFrom_y()) || StrUtil.isEmpty(task.getFrom_z())){
|
||||
if ((next_point_code.startsWith("L")&&(StrUtil.isEmpty(task.getTo_y()) || StrUtil.isEmpty(task.getTo_z()))) || (start_point_code.startsWith("L")&&(StrUtil.isEmpty(task.getFrom_y()) || StrUtil.isEmpty(task.getFrom_z())))){
|
||||
throw new BadRequestException(LangProcess.msg("point_null"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user