赵士淞
2023-01-13 c71ea3a3b1ff125cc5ca916accb50b797cb31d5e
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceGoOutController.java
@@ -16,6 +16,7 @@
package me.zhengjie.modules.attendance.rest;
import me.zhengjie.annotation.Log;
import me.zhengjie.modules.attendance.domain.AttendanceBusinessTravel;
import me.zhengjie.modules.attendance.domain.AttendanceGoOut;
import me.zhengjie.modules.attendance.domain.AttendanceLeave;
import me.zhengjie.modules.attendance.service.AttendanceGoOutService;
@@ -109,4 +110,12 @@
        attendanceGoOutService.updateApprove(resources);
        return new ResponseEntity<>(HttpStatus.NO_CONTENT);
    }
    @PutMapping(value = "/revoke")
    @Log("外出撤销")
    @ApiOperation("外出撤销")
    public ResponseEntity<Object> revokeGoOut(@Validated @RequestBody AttendanceGoOut resources){
        attendanceGoOutService.updateRevoke(resources);
        return new ResponseEntity<>(HttpStatus.NO_CONTENT);
    }
}