feat: 流程中心-待办流程
只完成基础功能
This commit is contained in:
+3
-3
@@ -166,7 +166,7 @@ public class ActivitiController {
|
||||
taskQuery.processDefinitionKey(processKey); //流程Key
|
||||
}
|
||||
List<Task> list = taskQuery.list();
|
||||
List<Map<String, String>> resut = new ArrayList<>();
|
||||
List<Map<String, String>> result = new ArrayList<>();
|
||||
for (Task task : list) {
|
||||
Map<String, String> map = new HashMap<>();
|
||||
map.put("流程实例id:", task.getProcessInstanceId());
|
||||
@@ -174,9 +174,9 @@ public class ActivitiController {
|
||||
map.put("任务负责人:", task.getAssignee());
|
||||
map.put("任务名称:", task.getName());
|
||||
//map.put("任务名称:", task.get);
|
||||
resut.add(map);
|
||||
result.add(map);
|
||||
}
|
||||
return Result.OK(resut);
|
||||
return Result.OK(result);
|
||||
}
|
||||
|
||||
@ApiOperation(value="完成任务")
|
||||
|
||||
Reference in New Issue
Block a user