#
luxiaotao1123
2024-10-12 bb61bc0c22ae4ef9963ca00d23b5cf0c412f26f5
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/controller/JamController.java
@@ -108,4 +108,11 @@
        ExcelUtil.build(ExcelUtil.create(jamService.list(), Jam.class), response);
    }
    @PreAuthorize("hasAuthority('manager:jam:update')")
    @OperationLog("Deprecate Task")
    @GetMapping("/jam/deprecate/{id}")
    public R deprecate(@PathVariable Long id) {
        return jamService.deprecate(id, getLoginUserId()) ? R.ok("Deprecate Success") : R.error("Deprecate Fail");
    }
}