【修改】删除文件,wps判分log文件地址修改,mysql结果文件随题下载

This commit is contained in:
YOHO\20373
2025-05-22 02:24:21 +08:00
parent 5671df925c
commit 5dce40ae47
7 changed files with 76 additions and 15 deletions

View File

@@ -75,4 +75,6 @@ public interface ExamQuestionAnswerMapper extends BaseMapperX<ExamQuestionAnswe
List<String> selectExamQuestionAnswerIdByQuId(String quId);
String selectAnswerFile(String quId);
}

View File

@@ -92,6 +92,9 @@
<select id="selectExamQuestionAnswerIdByQuId" resultType="java.lang.String">
select answer_id from exam_question_answer where qu_id =#{quId}
</select>
<select id="selectAnswerFile" resultType="java.lang.String">
select url from sys_file where qu_id =#{quId} and file_type ='2'
</select>
<insert id="insertExamQuestionAnswerList">
insert into exam_question_answer
(answer_id, qu_id, is_right, image, content,contentIn,score_rate,sort)