|
@@ -156,7 +156,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and cme.chapter_id = #{chapterId}
|
|
|
and cme.course_id = #{courseId}
|
|
|
and cme.type = 1
|
|
|
- <if test="moduleId == null ">
|
|
|
+ <if test="moduleId != null ">
|
|
|
and cme.module_id = #{moduleId}
|
|
|
</if>
|
|
|
</select>
|
|
@@ -198,7 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and cme.chapter_id = #{chapterId}
|
|
|
and cme.course_id = #{courseId}
|
|
|
and cme.type = 2
|
|
|
- <if test="moduleId == null ">
|
|
|
+ <if test="moduleId != null ">
|
|
|
and cme.module_id = #{moduleId}
|
|
|
</if>
|
|
|
</select>
|