From 4ba127459ff1b77df9014444fdac7636d3f091bc Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期六, 16 三月 2024 15:05:19 +0800
Subject: [PATCH] 题目导入

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

diff --git a/src/main/resources/mapper/ExamTemplatesMapper.xml b/src/main/resources/mapper/ExamTemplatesMapper.xml
index 9329f2b..07e28d5 100644
--- a/src/main/resources/mapper/ExamTemplatesMapper.xml
+++ b/src/main/resources/mapper/ExamTemplatesMapper.xml
@@ -70,6 +70,9 @@
             <if test="userId != null">
                 and u.user_id = #{userId}
             </if>
+            <if test="deptId != null">
+                and e.dept_id = #{deptId}
+            </if>
             <if test="now !=null">
                 and #{now} between e.start_time and e.end_time
             </if>
@@ -93,4 +96,4 @@
         where id = #{id}
     </delete>
 
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.8.0