From 26422a99ed7e19579ca11f008c180addc21f5153 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 08 五月 2024 17:46:34 +0800
Subject: [PATCH] fix:禁用的人不能被查出来考试、题目去重

---
 src/main/java/com/mindskip/xzs/repository/UserMapper.java |   15 +++++++++++++++
 1 files changed, 15 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..a025abe 100644
--- a/src/main/java/com/mindskip/xzs/repository/UserMapper.java
+++ b/src/main/java/com/mindskip/xzs/repository/UserMapper.java
@@ -1,7 +1,10 @@
 package com.mindskip.xzs.repository;
 
+import com.mindskip.xzs.domain.ExamPaperAnswer;
 import com.mindskip.xzs.domain.other.KeyValue;
 import com.mindskip.xzs.domain.User;
+import com.mindskip.xzs.domain.vo.UserVO;
+import com.mindskip.xzs.viewmodel.admin.paper.ExamPaperGradeQuery;
 import com.mindskip.xzs.viewmodel.admin.user.UserPageRequestVM;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
@@ -135,4 +138,16 @@
     List<User> getUserByLevel(@Param("userLevel") Integer userLevel);
 
     User getUserByRealName(@Param("realName") String realName);
+
+    /**
+     * 淇敼閮ㄩ棬绠$悊鍛樻爣璇�
+     * @param id
+     * @param deptAdmin
+     */
+    void updateDeptAdmin(Integer id, String deptAdmin);
+
+
+    List<ExamPaperAnswer> getUserByDept(@Param("query") ExamPaperGradeQuery query);
+
+    void setStatus(UserVO user);
 }

--
Gitblit v1.8.0