【新增】mysql,win文件读取文件设置考点后端接口,题型增加判分规则

This commit is contained in:
YOHO\20373
2025-05-18 00:00:49 +08:00
parent 1dcff7cc07
commit d8ada119ca
36 changed files with 788 additions and 176 deletions

View File

@@ -89,6 +89,9 @@
</where>
ORDER BY sort ASC
</select>
<select id="selectExamQuestionAnswerIdByQuId" resultType="java.lang.String">
select answer_id from exam_question_answer where qu_id =#{quId}
</select>
<insert id="insertExamQuestionAnswerList">
insert into exam_question_answer
(answer_id, qu_id, is_right, image, content,contentIn,score_rate,sort)

View File

@@ -115,6 +115,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM system_tenant
WHERE deleted = 0
</select>
<select id="selectTenantId" resultType="java.lang.Long">
select tenant_id from system_users limit 1
</select>
<insert id="insertExamQuestion" parameterType="ExamQuestion">