| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得调岗申请详情") |
| | | @Parameter(name = "id", description = "申请ID", required = true) |
| | | @PreAuthorize("@ss.hasPermission('hrm:transfer:query')") |
| | | public CommonResult<HrmTransferApplicationRespVO> getTransferApplication(@RequestParam("id") Long id) { |
| | | return success(transferApplicationService.getTransferApplicationDetail(id)); |
| | | } |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得调岗申请分页") |
| | | @PreAuthorize("@ss.hasPermission('hrm:transfer:query')") |
| | | public CommonResult<PageResult<HrmTransferApplicationRespVO>> getTransferApplicationPage(@Valid HrmTransferApplicationPageReqVO pageReqVO) { |
| | | return success(transferApplicationService.getTransferApplicationPage(pageReqVO)); |
| | | } |
| | |
| | | |
| | | @GetMapping("/approver-ids") |
| | | @Operation(summary = "获得审批人编号集合,供前端判断是否展示审核按钮") |
| | | @PreAuthorize("@ss.hasPermission('hrm:transfer:query')") |
| | | public CommonResult<Set<Long>> getApproverUserIds() { |
| | | return success(transferApplicationService.getTransferApplicationApproverUserIds()); |
| | | } |