yao-zengchun
2025-11-11 08c514a901b0e7e1661c41f4472cbac08051a5c1
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceLeaveController.java
@@ -106,8 +106,7 @@
    @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")