|
@@ -80,18 +80,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="goodsId != null and goodsId !='' ">
|
|
|
AND un.goods_id=#{goodsId}
|
|
|
</if>
|
|
|
-<!-- <if test="moduleId != null and moduleId !='' ">-->
|
|
|
-<!-- AND un.module_id=#{moduleId}-->
|
|
|
-<!-- </if>-->
|
|
|
-<!-- <if test="courseId != null and courseId !='' ">-->
|
|
|
-<!-- AND un.course_id =#{courseId}-->
|
|
|
-<!-- </if>-->
|
|
|
-<!-- <if test="sectionId != null and sectionId !='' ">-->
|
|
|
-<!-- AND un.section_id =#{sectionId}-->
|
|
|
-<!-- </if>-->
|
|
|
-<!-- <if test="chapterId != null and chapterId !='' ">-->
|
|
|
-<!-- AND un.chapter_id =#{chapterId}-->
|
|
|
-<!-- </if>-->
|
|
|
+ <if test="moduleId != null and moduleId !='' ">
|
|
|
+ AND un.module_id=#{moduleId}
|
|
|
+ </if>
|
|
|
+ <if test="courseId != null and courseId !='' ">
|
|
|
+ AND un.course_id =#{courseId}
|
|
|
+ </if>
|
|
|
+ <if test="sectionId != null and sectionId !='' ">
|
|
|
+ AND un.section_id =#{sectionId}
|
|
|
+ </if>
|
|
|
+ <if test="chapterId != null and chapterId !='' ">
|
|
|
+ AND un.chapter_id =#{chapterId}
|
|
|
+ </if>
|
|
|
<if test="gradeId != null and gradeId !='' ">
|
|
|
AND un.grade_id =#{gradeId}
|
|
|
</if>
|