| | |
| | | public ResponseEntity<Object> queryWorkDays(SalaryQueryCriteria criteria){ |
| | | return new ResponseEntity<>(salaryService.queryWorkDays(criteria),HttpStatus.OK); |
| | | } |
| | | |
| | | @PutMapping(value = "/publicity") |
| | | @Log("公示工资记录") |
| | | @ApiOperation("公示工资记录") |
| | | @PreAuthorize("@el.check('salary:publicity')") |
| | | public ResponseEntity<Object> publicitySalary(@RequestBody Long[] ids){ |
| | | salaryService.publicity(ids); |
| | | return new ResponseEntity<>(HttpStatus.NO_CONTENT); |
| | | } |
| | | |
| | | @PutMapping(value = "/approve") |
| | | @Log("承认工资记录") |
| | | @ApiOperation("承认工资记录") |
| | | @PreAuthorize("@el.check('salary:approve')") |
| | | public ResponseEntity<Object> approveSalary(@RequestBody Long[] ids){ |
| | | salaryService.approve(ids); |
| | | return new ResponseEntity<>(HttpStatus.NO_CONTENT); |
| | | } |
| | | } |