【修改】 wps相关试题判分BUG修改

This commit is contained in:
DESKTOP-932OMT8\REN
2025-06-13 12:15:55 +08:00
parent 9f70635e9c
commit 7fa2d443cd
11 changed files with 343 additions and 270 deletions

View File

@@ -134,5 +134,8 @@ public class ExamQuestion extends TenantBaseDO {
/** 每题分数 */
@TableField(exist = false)
private String quScores;
/** 排序 */
@TableField(exist = false)
private int sort;
}

View File

@@ -54,5 +54,9 @@ public class StuPaperScoreDO extends TenantBaseDO {
* 题型名称
*/
private String subjectName;
/**
* 排序
*/
private int sort;
}

View File

@@ -9,7 +9,7 @@
文档可见https://www.iocoder.cn/MyBatis/x-plugins/
-->
<select id="findByStuIdAndPaperId" resultType="pc.exam.pp.module.exam.dal.dataobject.student.StuPaperScoreDO">
SELECT * FROM exam_stu_paper_score WHERE stu_id = #{stuId} AND paper_id = #{paperId}
SELECT * FROM exam_stu_paper_score WHERE stu_id = #{stuId} AND paper_id = #{paperId} order by sort ASC
</select>