|
|
@@ -171,8 +171,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
wb.`student_id` = #{studentId} AND q.`qtpye` IN ('判断题', '单选题', '选择题','单项选择','单项选择题','多选题')
|
|
|
<if test="subjectId != null "> and wb.`subject_id` = #{subjectId}</if>
|
|
|
- <if test="start != null "> and date(wb.`created_time`) >= date(#{start})</if>
|
|
|
- <if test="end != null "> and date(wb.`created_time`) <= date(#{end})</if>
|
|
|
+ <if test="start != null "> and date(wb.`updated_time`) >= date(#{start})</if>
|
|
|
+ <if test="end != null "> and date(wb.`updated_time`) <= date(#{end})</if>
|
|
|
</where>
|
|
|
order by wb.`created_time` desc
|
|
|
</select>
|