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

[退役、报废、销毁] 流程图操作人展示 草稿状态 不反值

上级 bdf29283
...@@ -362,13 +362,31 @@ public class TaskController { ...@@ -362,13 +362,31 @@ public class TaskController {
case 5 : case 5 :
//语句 //语句
return ResponseEntity.ok(repair(taskLogUserVos,billStatus)); return ResponseEntity.ok(repair(taskLogUserVos,billStatus));
case 17:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
case 14:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
case 23:
return ResponseEntity.ok(destructionAndScrap(taskLogUserVos,billStatus));
default : //可选 default : //可选
return ResponseEntity.ok(defaults(taskLogUserVos)); return ResponseEntity.ok(defaults(taskLogUserVos));
} }
} }
/**
* 退役、报废、销毁 流程图操作人显示数据查询接口
* 特殊例子 判断当前任务状态是否为草稿 1250、2223、8110
*/
private Map<String,String> destructionAndScrap(List<TaskLogUserVo> taskLogUserVos,Integer billStatus){
Map<String, String> map = new HashMap<>();
if (billStatus==1250 ||billStatus==2223|| billStatus==8110){
return map;
}else {
return defaults(taskLogUserVos);
}
}
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<>();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论