【新增】学生选择题答案文件重复判断

This commit is contained in:
YOHO\20373
2025-05-07 14:54:19 +08:00
parent acd0cf5cb4
commit a8763f82b3
4 changed files with 28 additions and 7 deletions

View File

@@ -11,5 +11,9 @@
<select id="findByStuIdAndPaperId" resultType="pc.exam.pp.module.exam.dal.dataobject.student.StuPaperFileDO">
SELECT * FROM exam_stu_paper_fileurl WHERE stu_id = #{stuId} AND paper_id = #{paperId}
</select>
<select id="findOneByStuIdAndPaperId"
resultType="pc.exam.pp.module.exam.dal.dataobject.student.StuPaperFileDO">
SELECT * FROM exam_stu_paper_fileurl WHERE stu_id = #{stuId} AND paper_id = #{paperId} and type =#{type}
</select>
</mapper>