| | |
| | | @ApiOperation("获取调休假时长")
|
| | | public ResponseEntity<Object> getOverTimeLength(@PathVariable Long userId, @RequestBody String yearMonth) throws ParseException {
|
| | | Double overTimeLength = attendanceLeaveService.getOverTimeLength(userId, yearMonth);
|
| | | Double overTimeCloseLength = attendanceLeaveService.getOverTimeCloseLength(userId, yearMonth);
|
| | | return new ResponseEntity<>(overTimeLength + overTimeCloseLength, HttpStatus.OK);
|
| | | return new ResponseEntity<>(overTimeLength, HttpStatus.OK);
|
| | | }
|
| | |
|
| | | @PutMapping(value = "/approve")
|