| | |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.flowable.engine.HistoryService; |
| | | import org.flowable.engine.TaskService; |
| | | import org.flowable.task.api.history.HistoricTaskInstance; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | |
| | | @Autowired |
| | | private TaskService taskService; |
| | | @Autowired |
| | | private HistoryService historyService; |
| | | @Autowired |
| | | private FlowBusinessService businessService; |
| | | @Autowired |
| | | private IUserSearchClient userSearchClient; |
| | | |
| | | @Autowired |
| | | private FlowTransferService flowTransferService; |
| | | @Autowired |
| | | private FlowCommonService flowCommonService; |
| | | /** |
| | | * 待办任务列表页 |
| | | */ |
| | |
| | | return userSearchClient.listByDept(deptId); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 上一步审批人查询 |
| | | */ |
| | | @GetMapping("previus-approve-user") |
| | | @ApiOperationSupport(order = 3) |
| | | @Operation(summary = "上一步审批人查询", description = "上一步审批人查询,返回审批人id") |
| | | public R<String> previusApproveUserId(@Parameter(description = "部门ID") String processInstanceId) { |
| | | return R.data(this.flowCommonService.previusAssignee(processInstanceId)); |
| | | } |
| | | } |