src/main/java/org/springblade/modules/exam/mapper/ExamScoreMapper.xml
@@ -43,6 +43,12 @@
        <if test="examScore.qualified!=null">
            and es.qualified = #{examScore.qualified}
        </if>
        <if test="examScore.startTime!=null and examScore.startTime!=''">
            and es.exam_time &gt;= #{examScore.startTime}
        </if>
        <if test="examScore.endTime!=null and examScore.endTime!=''">
            and es.exam_time &lt;= #{examScore.endTime}
        </if>
        order by es.id desc
    </select>