From 247cb86585a1d1894596ed18a6c93efecb992946 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期四, 14 十一月 2024 10:34:27 +0800
Subject: [PATCH] 班级成绩图表分析

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

diff --git a/src/main/resources/mapper/UserEventLogMapper.xml b/src/main/resources/mapper/UserEventLogMapper.xml
index 8021ff1..be0dccd 100644
--- a/src/main/resources/mapper/UserEventLogMapper.xml
+++ b/src/main/resources/mapper/UserEventLogMapper.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ycl.jxkg.mapper.UserEventLogMapper">
-    <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.UserEventLog">
+    <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.entity.UserEventLog">
         <id column="id" jdbcType="INTEGER" property="id"/>
         <result column="user_id" jdbcType="INTEGER" property="userId"/>
         <result column="user_name" jdbcType="VARCHAR" property="userName"/>
@@ -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