From 1f42bd3d22c104aaa2d780c20a555b5e467858bf Mon Sep 17 00:00:00 2001 From: MichelleChung <1242874891@qq.com> Date: 星期一, 07 十一月 2022 22:10:52 +0800 Subject: [PATCH] !245 数据源由 Druid 修改为 Hikari * update 更新 dataSource 数据源, 由 druid 修改为 hikari, 更新相关配置 ; --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java index d7dcff4..468b9c4 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/SysOperlogController.java @@ -10,7 +10,6 @@ import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.system.domain.SysOperLog; import com.ruoyi.system.service.ISysOperLogService; -import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; @@ -24,7 +23,6 @@ * @author Lion Li */ @Validated -@Tag(name ="鎿嶄綔鏃ュ織璁板綍", description = "鎿嶄綔鏃ュ織璁板綍绠$悊") @RequiredArgsConstructor @RestController @RequestMapping("/monitor/operlog") @@ -32,12 +30,18 @@ private final ISysOperLogService operLogService; + /** + * 鑾峰彇鎿嶄綔鏃ュ織璁板綍鍒楄〃 + */ @SaCheckPermission("monitor:operlog:list") @GetMapping("/list") public TableDataInfo<SysOperLog> list(SysOperLog operLog, PageQuery pageQuery) { return operLogService.selectPageOperLogList(operLog, pageQuery); } + /** + * 瀵煎嚭鎿嶄綔鏃ュ織璁板綍鍒楄〃 + */ @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.EXPORT) @SaCheckPermission("monitor:operlog:export") @PostMapping("/export") @@ -46,6 +50,10 @@ ExcelUtil.exportExcel(list, "鎿嶄綔鏃ュ織", SysOperLog.class, response); } + /** + * 鎵归噺鍒犻櫎鎿嶄綔鏃ュ織璁板綍 + * @param operIds 鏃ュ織ids + */ @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.DELETE) @SaCheckPermission("monitor:operlog:remove") @DeleteMapping("/{operIds}") @@ -53,6 +61,9 @@ return toAjax(operLogService.deleteOperLogByIds(operIds)); } + /** + * 娓呯悊鎿嶄綔鏃ュ織璁板綍 + */ @Log(title = "鎿嶄綔鏃ュ織", businessType = BusinessType.CLEAN) @SaCheckPermission("monitor:operlog:remove") @DeleteMapping("/clean") -- Gitblit v1.9.3