From 8dac3a3c993ef006d4765624e046577217d1a898 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 28 十一月 2023 21:27:09 +0800
Subject: [PATCH] 随机案件时间段

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

diff --git a/src/main/resources/mapper/ExamPaperUserMapper.xml b/src/main/resources/mapper/ExamPaperUserMapper.xml
index 63ddd11..d945130 100644
--- a/src/main/resources/mapper/ExamPaperUserMapper.xml
+++ b/src/main/resources/mapper/ExamPaperUserMapper.xml
@@ -27,6 +27,11 @@
         where exam_paper_id = #{examPaperId} and deleted = 0
     </select>
 
+    <select id="getByPaperIdAndCreatUser" resultType="java.lang.Integer">
+        select user_id from t_exam_paper_user
+        where exam_paper_id = #{examPaperId} and user_id = #{createUser}
+    </select>
+
     <insert id="saves" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
         insert into t_exam_paper_user(id, exam_paper_id, user_id, deleted)
         values

--
Gitblit v1.8.0