weicd
2023-01-09 55398be84d5bd2629e9c86a8042f790e0dcde57f
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceLeaveController.java
@@ -95,9 +95,9 @@
    @PostMapping(value = "/getYearTimeLength")
    @Log("获取年假时长")
    @ApiOperation("计算请假时长")
    public ResponseEntity<Object> getYearTimeLength() throws ParseException {
        return new ResponseEntity<>(attendanceLeaveService.getYearTimeLength(), HttpStatus.OK);
    @ApiOperation("获取年假时长")
    public ResponseEntity<Object> getYearTimeLength(@RequestBody Long userId) throws ParseException {
        return new ResponseEntity<>(attendanceLeaveService.getYearTimeLength(userId), HttpStatus.OK);
    }
    @PutMapping(value = "/approve")