|
@@ -28,20 +28,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null and userId != ''">
|
|
|
and up.user_id = #{userId}
|
|
|
</if>
|
|
|
- <if test="sectionId != null and sectionId != ''">
|
|
|
+ <if test="sectionId != null ">
|
|
|
and up.section_id = #{sectionId}
|
|
|
</if>
|
|
|
- <if test="moduleId != null and moduleId != ''">
|
|
|
+ <if test="moduleId != null ">
|
|
|
and up.module_id = #{moduleId}
|
|
|
</if>
|
|
|
|
|
|
- <if test="chapterId != null and chapterId != ''">
|
|
|
+ <if test="chapterId != null a">
|
|
|
and up.chapter_id = #{chapterId}
|
|
|
</if>
|
|
|
- <if test="courseId != null and courseId != ''">
|
|
|
+ <if test="courseId != null ">
|
|
|
and up.course_id = #{courseId}
|
|
|
</if>
|
|
|
- <if test="examId != null and examId != ''">
|
|
|
+ <if test="examId != null ">
|
|
|
and up.exam_id = #{examId}
|
|
|
</if>
|
|
|
ORDER BY
|