【新增】mysql,win文件读取文件设置考点后端接口,题型增加判分规则
This commit is contained in:
@@ -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)
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user