浏览代码

流业务层

he2802 4 年之前
父节点
当前提交
5ebb59cea0
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      zhongzheng-system/src/main/resources/mapper/modules/course/CourseChapterMapper.xml

+ 6 - 3
zhongzheng-system/src/main/resources/mapper/modules/course/CourseChapterMapper.xml

@@ -93,13 +93,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND c.publish_status = #{publishStatus}
         </if>
         <if test="educationTypeId != null and educationTypeId != ''">
-            AND csb.education_type_id = #{educationTypeId}
+            AND ccb.education_type_id = #{educationTypeId}
         </if>
         <if test="subjectId != null and subjectId != ''">
-            AND csb.subject_id = #{subjectId}
+            AND ccb.subject_id = #{subjectId}
         </if>
         <if test="businessId != null and businessId != ''">
-            AND csb.business_id = #{businessId}
+            AND ccb.business_id = #{businessId}
+        </if>
+        <if test="name != null and name != ''">
+            AND c.name like concat('%', #{name}, '%')
         </if>
    </select>
 </mapper>