From 9260a9b6ccdf33975be2615a0d13e6faa7277879 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 15 三月 2024 11:01:39 +0800
Subject: [PATCH] 试卷不返回答案,空指针修复

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

diff --git a/src/main/resources/mapper/UserEventLogMapper.xml b/src/main/resources/mapper/UserEventLogMapper.xml
index 61d6817..10db8ed 100644
--- a/src/main/resources/mapper/UserEventLogMapper.xml
+++ b/src/main/resources/mapper/UserEventLogMapper.xml
@@ -127,7 +127,7 @@
          and user_id= #{userId}
       </if>
       <if test="userName != null">
-        and user_name= #{userName}
+        and real_name= #{userName}
       </if>
     </where>
   </select>

--
Gitblit v1.8.0