From 6c12bcfde3b2d5c910ed1b11112442237021ac09 Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期日, 16 七月 2023 10:01:38 +0800 Subject: [PATCH] 随机试卷修改 --- src/main/resources/mapper/ExamPaperMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/ExamPaperMapper.xml b/src/main/resources/mapper/ExamPaperMapper.xml index e99791d..2ab6a9c 100644 --- a/src/main/resources/mapper/ExamPaperMapper.xml +++ b/src/main/resources/mapper/ExamPaperMapper.xml @@ -233,15 +233,15 @@ left join t_exam_paper_department d on e.id = d.exam_paper_id left join t_exam_paper_subject s on e.id = s.exam_paper_id <where> - and e.deleted=0 and d.deleted = 0 + and e.deleted=0 <if test="id != null "> and e.id= #{id} </if> <if test="level != null "> - and d.department_id= #{level} + and d.department_id= #{level} and d.deleted = 0 </if> <if test="subjectId != null "> - and s.subject_id= #{subjectId} + and s.subject_id= #{subjectId} and s.deleted = 0 </if> <if test="paperType != null "> and e.paper_type= #{paperType} -- Gitblit v1.8.0