| | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得转正申请详情") |
| | | @Parameter(name = "id", description = "申请ID", required = true) |
| | | @PreAuthorize("@ss.hasPermission('hrm:regularize:query')") |
| | | public CommonResult<HrmRegularizeApplicationRespVO> getRegularizeApplication(@RequestParam("id") Long id) { |
| | | return success(regularizeApplicationService.getRegularizeApplicationDetail(id)); |
| | | } |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得转正申请分页") |
| | | @PreAuthorize("@ss.hasPermission('hrm:regularize:query')") |
| | | public CommonResult<PageResult<HrmRegularizeApplicationRespVO>> getRegularizeApplicationPage(@Valid HrmRegularizeApplicationPageReqVO pageReqVO) { |
| | | return success(regularizeApplicationService.getRegularizeApplicationPage(pageReqVO)); |
| | | } |
| | |
| | | |
| | | @GetMapping("/approver-ids") |
| | | @Operation(summary = "获得审批人编号集合,供前端判断是否展示审核按钮") |
| | | @PreAuthorize("@ss.hasPermission('hrm:regularize:query')") |
| | | public CommonResult<Set<Long>> getApproverUserIds() { |
| | | return success(regularizeApplicationService.getRegularizeApplicationApproverUserIds()); |
| | | } |