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/java/com/mindskip/xzs/repository/UserMapper.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/repository/UserMapper.java b/src/main/java/com/mindskip/xzs/repository/UserMapper.java
index 67fc22a..89aaf6f 100644
--- a/src/main/java/com/mindskip/xzs/repository/UserMapper.java
+++ b/src/main/java/com/mindskip/xzs/repository/UserMapper.java
@@ -5,6 +5,7 @@
 import com.mindskip.xzs.viewmodel.admin.user.UserPageRequestVM;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
+import org.springframework.security.core.parameters.P;
 
 import java.util.List;
 import java.util.Map;
@@ -128,4 +129,17 @@
 
 
     User selectByWxOpenId(@Param("wxOpenId") String wxOpenId);
+
+    User selectByIdName(@Param("id") Integer id, @Param("userName") String userName);
+
+    List<User> getUserByLevel(@Param("userLevel") Integer userLevel);
+
+    User getUserByRealName(@Param("realName") String realName);
+
+    /**
+     * 淇敼閮ㄩ棬绠$悊鍛樻爣璇�
+     * @param id
+     * @param deptAdmin
+     */
+    void updateDeptAdmin(Integer id, String deptAdmin);
 }

--
Gitblit v1.8.0