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