| | |
| | | } |
| | | |
| | | @GetMapping("/get") |
| | | @PreAuthorize("@ss.hasPermission('bpm:oa-leave:query')") |
| | | @Operation(summary = "获得请假申请") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | public CommonResult<BpmOALeaveRespVO> getLeave(@RequestParam("id") Long id) { |
| | |
| | | } |
| | | |
| | | @GetMapping("/page") |
| | | @PreAuthorize("@ss.hasPermission('bpm:oa-leave:query')") |
| | | @Operation(summary = "获得请假申请分页") |
| | | public CommonResult<PageResult<BpmOALeaveRespVO>> getLeavePage(@Valid BpmOALeavePageReqVO pageVO) { |
| | | PageResult<BpmOALeaveDO> pageResult = leaveService.getLeavePage(getLoginUserId(), pageVO); |