|
@@ -81,8 +81,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN polyv_video pv ON cs.polyv_id = pv.polyv_id
|
|
|
WHERE
|
|
|
1 = 1
|
|
|
- <if test="businessId != null and businessId != ''">
|
|
|
- AND csb.business_id = #{businessId}
|
|
|
+ <if test="businessId != null and businessId.size()!=0 ">
|
|
|
+ AND csb.business_id in
|
|
|
+ <foreach collection="businessId" item="item" index="index" open="(" close=")" separator=",">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="educationTypeId != null and educationTypeId != ''">
|
|
|
AND csb.education_type_id = #{educationTypeId}
|