add:增加返回点类型
This commit is contained in:
@@ -57,6 +57,9 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements IT
|
||||
case "Move" :
|
||||
json.put("taskType", "O0");
|
||||
break;
|
||||
case "Return" :
|
||||
json.put("taskType", "O0");
|
||||
break;
|
||||
}
|
||||
tasks.add(json);
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public class TaskManageServiceImpl implements TaskManageService {
|
||||
|
||||
// 判断前端参数是否有返回点
|
||||
boolean move = staList.stream()
|
||||
.anyMatch(row -> row.getAction_type().equals("Move"));
|
||||
.anyMatch(row -> row.getAction_type().equals("Return"));
|
||||
if (!move) {
|
||||
|
||||
// 取返回点
|
||||
|
||||
Reference in New Issue
Block a user