| | |
| | | |
| | | @GetMapping("/get") |
| | | @Operation(summary = "获得薪酬结构") |
| | | @PreAuthorize("@ss.hasPermission('hrm:salary-structure:query')") |
| | | public CommonResult<HrmSalaryStructureRespVO> getSalaryStructure(@RequestParam("id") Long id) { |
| | | return success(BeanUtils.toBean(salaryStructureService.getSalaryStructure(id), |
| | | HrmSalaryStructureRespVO.class)); |
| | |
| | | |
| | | @GetMapping("/list") |
| | | @Operation(summary = "获得薪酬结构列表") |
| | | @PreAuthorize("@ss.hasPermission('hrm:salary-structure:query')") |
| | | public CommonResult<List<HrmSalaryStructureRespVO>> getSalaryStructureList( |
| | | @RequestParam(value = "name", required = false) String name, |
| | | @RequestParam(value = "status", required = false) Integer status) { |