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