luohairen
2024-11-11 cd59ededbf05a0ae73b8f4944fbf40a1fb01d28a
src/main/resources/mapper/ExamPaperScoreMapper.xml
@@ -149,6 +149,9 @@
            <if test="examName != null and examName != ''">
                AND INSTR(t.exam_name, #{examName})
            </if>
            <if test="examId != null and examId != ''">
                AND t.id = #{examId}
            </if>
        </where>
        GROUP BY t.id
        ORDER BY t.id DESC
@@ -167,4 +170,13 @@
        GROUP BY a.id
    </select>
    <select id="selectByUserId" resultType="com.ycl.jxkg.domain.entity.ExamPaperScore">
        SELECT
        <include refid="Base_Column_List"/>
        from t_exam_paper_score
        where user_id = #{userId}
    </select>
    <select id="selectWrong" resultType="com.ycl.jxkg.domain.vo.student.wrong.WrongResponseVO">
    </select>
</mapper>