| | |
| | | @ApiModelProperty(value = "处理时长(分钟)") |
| | | private transient String duration; |
| | | |
| | | @ApiModelProperty("任务描述") |
| | | private String description; |
| | | |
| | | } |
| | |
| | | <select id="PageList" resultType="org.jeecg.modules.flowable.apithird.business.dto.FlowMyBusinessDto"> |
| | | SELECT |
| | | flow_my_business.id, |
| | | flow_my_business.title, |
| | | flow_my_business.title as 'description', |
| | | flow_my_business.proposer, |
| | | flow_my_business.task_name, |
| | | flow_my_business.task_id, |
| | |
| | | fmb.process_definition_key AS 'processDefinitionKey', |
| | | fmb.process_definition_id AS 'processDefinitionId', |
| | | fmb.proposer, |
| | | fmb.todo_users, |
| | | fmb.task_name, |
| | | latest_task.NAME_ AS taskName, |
| | | fmb.create_time AS createTime, |
| | |
| | | @Excel(name = "流程业务实例id 一个流程业务唯一,本表中也唯一", width = 15) |
| | | @ApiModelProperty(value = "流程业务实例id 一个流程业务唯一,本表中也唯一") |
| | | private String processInstanceId; |
| | | |
| | | @ApiModelProperty("任务描述") |
| | | private String description; |
| | | |
| | | } |
| | |
| | | atask.suspension_state_ AS suspensionState, |
| | | atask.ASSIGNEE_ as assignee, |
| | | fmb.act_status AS actStatus, |
| | | fmb.title AS title, |
| | | fmb.title AS 'description', |
| | | fmb.data_id AS dataId, |
| | | fmb.process_definition_key AS processDefinitionKey, |
| | | fmb.process_definition_id AS processDefinitionId, |
| | |
| | | flowTaskDto.setStartUserName(startUser.getRealname()); |
| | | List<String> departNamesByUsername = iFlowThirdService.getDepartNamesByUsername(historicProcessInstance.getStartUserId()); |
| | | flowTaskDto.setStartDeptName(CollUtil.join(departNamesByUsername,",")); |
| | | if (flowTaskDto.getTodoUsers() == null){ |
| | | flowTaskDto.setTodoUsers(""); |
| | | }else { |
| | | //去除[] |
| | | flowTaskDto.setTodoUsers(flowTaskDto.getTodoUsers().replaceAll("\\[", "").replaceAll("\\]", "")); |
| | | flowTaskDto.setTodoUsers(flowTaskDto.getTodoUsers().replaceAll("\"", "")); |
| | | } |
| | | }); |
| | | IPage<FlowTaskDto> flowTaskDtoIPage = new Page<>(); |
| | | flowTaskDtoIPage.setRecords(list); |