提交 d13f82d1 authored 作者: 133's avatar 133

[task] 添加清退流程图人员方法

上级 d9ae8e76
...@@ -363,9 +363,13 @@ public class TaskController { ...@@ -363,9 +363,13 @@ public class TaskController {
//语句 //语句
return ResponseEntity.ok(repair(taskLogUserVos,billStatus)); return ResponseEntity.ok(repair(taskLogUserVos,billStatus));
case 17: case 17:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
case 14: case 14:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
case 23: case 23:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus)); return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
case 16:
return ResponseEntity.ok(sendBack(taskLogUserVos,billStatus));
default : //可选 default : //可选
return ResponseEntity.ok(defaults(taskLogUserVos)); return ResponseEntity.ok(defaults(taskLogUserVos));
} }
...@@ -386,6 +390,16 @@ public class TaskController { ...@@ -386,6 +390,16 @@ public class TaskController {
} }
private Map<String,String> sendBack(List<TaskLogUserVo> taskLogUserVos,Integer billStatus){
Map<String, String> map = new HashMap<>();
map=defaults(taskLogUserVos);
map.remove("0");
return map;
}
private Map<String, String> allot(List<TaskLogUserVo> taskLogUserVos,Integer billStatus){ private Map<String, String> allot(List<TaskLogUserVo> taskLogUserVos,Integer billStatus){
Map<String, String> map = new HashMap<>(); Map<String, String> map = new HashMap<>();
for (TaskLogUserVo taskLogUserVo : taskLogUserVos) { for (TaskLogUserVo taskLogUserVo : taskLogUserVos) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论