From 2883b631fad80102cce6beb13ddaf465cf11be9a Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 17 十月 2024 17:29:04 +0800
Subject: [PATCH] 新增/修改学员优化

---
 src/main/resources/mapper/UserEventLogMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/UserEventLogMapper.xml b/src/main/resources/mapper/UserEventLogMapper.xml
index 4c0cf7b..be0dccd 100644
--- a/src/main/resources/mapper/UserEventLogMapper.xml
+++ b/src/main/resources/mapper/UserEventLogMapper.xml
@@ -24,7 +24,7 @@
         limit 10
     </select>
 
-    <select id="page" resultMap="BaseResultMap" parameterType="com.ycl.jxkg.vo.admin.user.UserEventPageRequestVO">
+    <select id="page" resultMap="BaseResultMap" parameterType="com.ycl.jxkg.domain.vo.admin.user.UserEventPageRequestVO">
         select
         <include refid="Base_Column_List"/>
         from t_user_event_log
@@ -32,8 +32,8 @@
             <if test="userId != null">
                 and user_id= #{userId}
             </if>
-            <if test="userName != null">
-                and user_name= #{userName}
+            <if test="realName != null">
+                and real_name like  concat('%', #{realName} , '%')
             </if>
         </where>
     </select>

--
Gitblit v1.8.0