|
@@ -623,6 +623,9 @@
|
|
|
WHERE
|
|
|
ccs.chapter_id = cc.chapter_id
|
|
|
AND usr.current_status = 1
|
|
|
+ <if test="courseId != null and courseId !='' ">
|
|
|
+ AND usr.course_id=#{courseId}
|
|
|
+ </if>
|
|
|
<if test="moduleId != null and moduleId !='' ">
|
|
|
AND usr.module_id=#{moduleId}
|
|
|
</if>
|
|
@@ -648,6 +651,9 @@
|
|
|
WHERE
|
|
|
ccs.chapter_id = cc.chapter_id
|
|
|
AND usr.current_status = 1
|
|
|
+ <if test="courseId != null and courseId !='' ">
|
|
|
+ AND usr.course_id=#{courseId}
|
|
|
+ </if>
|
|
|
<if test="moduleId != null and moduleId !='' ">
|
|
|
AND usr.module_id=#{moduleId}
|
|
|
</if>
|