From 43f111dc0b9aaac9415eee56fa62dfc454ba203e Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期一, 28 十月 2024 15:22:57 +0800
Subject: [PATCH] 实现学生列表、教师列表、管理员列表的班级展示

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

diff --git a/src/main/resources/mapper/ExamPaperMapper.xml b/src/main/resources/mapper/ExamPaperMapper.xml
index b51b22c..b7c419a 100644
--- a/src/main/resources/mapper/ExamPaperMapper.xml
+++ b/src/main/resources/mapper/ExamPaperMapper.xml
@@ -34,7 +34,7 @@
         tep.*
         FROM t_exam_paper tep
         <where>
-            and tep.deleted=0
+            and tep.deleted=0 and (create_user = #{createUser} or visibility = 'Public')
             <if test="id != null ">
                 and tep.id= #{id}
             </if>

--
Gitblit v1.8.0