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>