From 2917d335bc3fd1f6dfb57cbad6d73ba48bc5f9d7 Mon Sep 17 00:00:00 2001
From: konbai <1527468660@qq.com>
Date: 星期六, 19 二月 2022 16:15:44 +0800
Subject: [PATCH] update 优化 是否为管理员的判断

---
 ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java
index f2485b7..14ffcfd 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysOperLogService.java
@@ -1,6 +1,6 @@
 package com.ruoyi.system.service;
 
-import com.ruoyi.common.core.page.IServicePlus;
+import com.ruoyi.common.core.domain.PageQuery;
 import com.ruoyi.common.core.page.TableDataInfo;
 import com.ruoyi.system.domain.SysOperLog;
 
@@ -9,18 +9,18 @@
 /**
  * 鎿嶄綔鏃ュ織 鏈嶅姟灞�
  *
- * @author ruoyi
+ * @author Lion Li
  */
-public interface ISysOperLogService extends IServicePlus<SysOperLog> {
+public interface ISysOperLogService {
 
-    TableDataInfo<SysOperLog> selectPageOperLogList(SysOperLog operLog);
+    TableDataInfo<SysOperLog> selectPageOperLogList(SysOperLog operLog, PageQuery pageQuery);
 
     /**
      * 鏂板鎿嶄綔鏃ュ織
      *
      * @param operLog 鎿嶄綔鏃ュ織瀵硅薄
      */
-    public void insertOperlog(SysOperLog operLog);
+    void insertOperlog(SysOperLog operLog);
 
     /**
      * 鏌ヨ绯荤粺鎿嶄綔鏃ュ織闆嗗悎
@@ -28,7 +28,7 @@
      * @param operLog 鎿嶄綔鏃ュ織瀵硅薄
      * @return 鎿嶄綔鏃ュ織闆嗗悎
      */
-    public List<SysOperLog> selectOperLogList(SysOperLog operLog);
+    List<SysOperLog> selectOperLogList(SysOperLog operLog);
 
     /**
      * 鎵归噺鍒犻櫎绯荤粺鎿嶄綔鏃ュ織
@@ -36,7 +36,7 @@
      * @param operIds 闇�瑕佸垹闄ょ殑鎿嶄綔鏃ュ織ID
      * @return 缁撴灉
      */
-    public int deleteOperLogByIds(Long[] operIds);
+    int deleteOperLogByIds(Long[] operIds);
 
     /**
      * 鏌ヨ鎿嶄綔鏃ュ織璇︾粏
@@ -44,10 +44,10 @@
      * @param operId 鎿嶄綔ID
      * @return 鎿嶄綔鏃ュ織瀵硅薄
      */
-    public SysOperLog selectOperLogById(Long operId);
+    SysOperLog selectOperLogById(Long operId);
 
     /**
      * 娓呯┖鎿嶄綔鏃ュ織
      */
-    public void cleanOperLog();
+    void cleanOperLog();
 }

--
Gitblit v1.9.3