| | |
| | | import me.zhengjie.utils.*; |
| | | import me.zhengjie.modules.system.service.UserService; |
| | | import me.zhengjie.utils.enums.CodeEnum; |
| | | import org.springframework.cache.annotation.CacheEvict; |
| | | import org.springframework.data.domain.Pageable; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | |
| | | return new ResponseEntity<>(PageUtil.toPage(null,0),HttpStatus.OK); |
| | | } |
| | | |
| | | @Log("新增用户") |
| | | // @Log("新增用户") |
| | | @ApiOperation("新增用户") |
| | | @PostMapping |
| | | @PreAuthorize("@el.check('user:add')") |
| | |
| | | return new ResponseEntity<>(userService.getUserByTaskId(taskId),HttpStatus.OK); |
| | | } |
| | | |
| | | @GetMapping("/getAllUser") |
| | | public ResponseEntity<Object> getAllUserByTaskId(String taskId){ |
| | | return new ResponseEntity<>(userService.getAllUserByTaskId(taskId),HttpStatus.OK); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getUserDept") |
| | | public ResponseEntity<Object> getAllUserDetail(){ |
| | |
| | | } |
| | | |
| | | @GetMapping("/getPerformanceDetail") |
| | | public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) { |
| | | return new ResponseEntity<>(userService.getPerformanceDetail(nextMonth),HttpStatus.OK); |
| | | public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) throws ParseException { |
| | | return new ResponseEntity<>(HttpStatus.OK); // userService.getPerformanceDetail(nextMonth), |
| | | |
| | | } |
| | | |
| | | @GetMapping(value = "/getUserInfose") |
| | | @Log("查询用户信息") |
| | | @ApiOperation("查询用户信息") |
| | | public ResponseEntity<Object> getUserInfos() { |
| | | return new ResponseEntity<>(userService.getUserInfose(), HttpStatus.OK); |
| | | } |
| | | } |