| | |
| | | } |
| | | |
| | | @PutMapping |
| | | @Log("修改业绩管理") |
| | | @ApiOperation("修改业绩管理") |
| | | @PreAuthorize("@el.check('meritWage:edit')") |
| | | public ResponseEntity<Object> updateMeritWage(@Validated @RequestBody MeritWage resources){ |
| | |
| | | meritWageService.deleteAll(ids); |
| | | return new ResponseEntity<>(HttpStatus.OK); |
| | | } |
| | | |
| | | @ApiOperation("获取所有的等级") |
| | | @GetMapping("/getAllData") |
| | | public ResponseEntity<Object> getAllData() { |
| | | return new ResponseEntity<>(meritWageService.getAllData(),HttpStatus.OK); |
| | | } |
| | | |
| | | @GetMapping("/fillData") |
| | | @ApiOperation("回显指定的levelId的数据") |
| | | public ResponseEntity<Object> fillData(Long levelId) { |
| | | return new ResponseEntity<>(meritWageService.fillData(levelId),HttpStatus.OK); |
| | | } |
| | | } |