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 |    7 +++++++
 1 files changed, 7 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 695001c..89aaf6f 100644
--- a/src/main/java/com/mindskip/xzs/repository/UserMapper.java
+++ b/src/main/java/com/mindskip/xzs/repository/UserMapper.java
@@ -135,4 +135,11 @@
     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