he2802 преди 1 година
родител
ревизия
e722ccfc3e
променени са 1 файла, в които са добавени 12 реда и са изтрити 12 реда
  1. 12 12
      zhongzheng-system/src/main/resources/mapper/modules/user/UserNoteMapper.xml

+ 12 - 12
zhongzheng-system/src/main/resources/mapper/modules/user/UserNoteMapper.xml

@@ -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>