| | |
| | | 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(){ |
| | | return new ResponseEntity<>(userService.getUserDept(),HttpStatus.OK); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getUserPidDept") |
| | | public ResponseEntity<Object> getUserPidDept(Long[] ids) { |
| | | List<Long[]> result = new ArrayList<>(); |
| | | for (Long id : ids) { |
| | | result.add(userService.getUserPidDept(id)); |
| | | } |
| | | return new ResponseEntity<>(result,HttpStatus.OK); |
| | | } |
| | | |
| | | @GetMapping("/getPerformanceDetail") |
| | | public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) throws ParseException { |
| | | return new ResponseEntity<>(userService.getPerformanceDetail(nextMonth),HttpStatus.OK); |
| | | |
| | | } |
| | | |
| | | @GetMapping(value = "/getUserInfose") |
| | | @Log("查询用户信息") |
| | | @ApiOperation("查询用户信息") |
| | | public ResponseEntity<Object> getUserInfos() { |
| | | return new ResponseEntity<>(userService.getUserInfose(), HttpStatus.OK); |
| | | } |
| | | } |