public List<Map<String, Object>> execute(CommandContext commandContext) {
TaskService taskService = ProcessEngineManagement.getDefaultProcessEngine().getTaskService();
String userId=Authentication.getAuthenticatedUserId();
List<TaskInstance> taskInstances=taskService.createTaskQuery().processInstanceId(processInstanceId).taskAssignee(userId).taskIsEnd().list();
List<Map<String, Object>> listMap=new ArrayList<Map<String,Object>>();
List<TaskInstance> taskInstancesNotEndA=taskService.createTaskQuery().processInstanceId(processInstanceId).taskAssignee(userId).taskNotEnd().list();
List<TaskInstance> taskInstancesNotEndC=taskService.createTaskQuery().processInstanceId(processInstanceId).taskCandidateUser(userId).taskNotEnd().list();
Map<String, String> notEndTask=new HashMap<String, String>();
//独占未完成
for (TaskInstance taskInstance : taskInstancesNotEndA) {
List<TaskCommandInst> taskCommandInsts=taskService.GetTaskCommandByTaskInstance(taskInstance,true);