From 299916225861b9cc556e3ccc484cc0589d60c17c Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期一, 20 五月 2024 15:24:09 +0800
Subject: [PATCH] fix:随机试卷不加入统计列表

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

diff --git a/src/main/resources/mapper/ExamPaperMapper.xml b/src/main/resources/mapper/ExamPaperMapper.xml
index 8cb496a..e69fd96 100644
--- a/src/main/resources/mapper/ExamPaperMapper.xml
+++ b/src/main/resources/mapper/ExamPaperMapper.xml
@@ -441,7 +441,8 @@
     <select id="list" resultType="com.mindskip.xzs.domain.ExamPaper">
     select id, name from t_exam_paper
     <if test="deptIds != null and deptIds.size() > 0">
-    where dept_id in
+    where paper_type != 7
+    and dept_id in
     <foreach collection="deptIds" item="item" open="(" separator="," close=")">
         #{item}
     </foreach>

--
Gitblit v1.8.0