BAOLH
2025-10-30 e8470c9472c29f7058cc5ae7aa3a70546123bc81
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")