From 2691194cb3ea13de13aa5fda4af2f7ff78daa7b3 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 08 七月 2025 15:26:06 +0800
Subject: [PATCH] 添加ResLog类

---
 se-system/src/main/resources/mapper/sys/ResOpMapper.xml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/se-system/src/main/resources/mapper/sys/ResOpMapper.xml b/se-system/src/main/resources/mapper/sys/ResOpMapper.xml
index 3db0ca7..1f01420 100644
--- a/se-system/src/main/resources/mapper/sys/ResOpMapper.xml
+++ b/se-system/src/main/resources/mapper/sys/ResOpMapper.xml
@@ -6,7 +6,7 @@
         <where>
             1 = 1
             <if test="name != null">
-                and upper(c.name) like #{name}
+                and upper(c.cn_name) like #{name}
             </if>
             <if test="type != null">
                 and a.type = #{type}
@@ -21,11 +21,13 @@
     </select>
 
     <select id="selectByPage" resultType="com.terra.system.entity.sys.ResOpEntity">
-        select a.*,b.uname,c.name from lf.sys_res_op a inner join lf.sys_user b on a.userid = b.id inner join lf.sys_res c on a.resid=c.id
+        select a.*, b.uname, c.cn_name "name"
+        from lf.sys_res_op a
+        inner join lf.sys_user b on a.userid = b.id inner join lf.sys_res c on a.resid=c.id
         <where>
             1 = 1
             <if test="name != null">
-                and upper(c.name) like #{name}
+                and upper(c.cn_name) like #{name}
             </if>
             <if test="type != null">
                 and a.type = #{type}

--
Gitblit v1.9.3