|
@@ -216,7 +216,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="endTime != null and endTime != ''">
|
|
|
and date_format(t1.follow_time,'%Y%m%d') <= date_format(#{endTime},'%Y%m%d')
|
|
|
</if>
|
|
|
- <if test="businessNo != null "> and t1.business_no like CONCAT('%', #{businessNo},'%') escape '/' </if>
|
|
|
<if test="followPerson != null and followPerson != ''"> and t1.follow_person like CONCAT('%', #{followPerson},'%') escape '/'</if>
|
|
|
<if test="followWayArray != null and followWayArray.length > 0">
|
|
|
and t1.follow_way in
|
|
@@ -227,14 +226,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="contactPerson != null and contactPerson != ''"> and t1.contact_person like CONCAT('%', #{contactPerson},'%') escape '/'</if>
|
|
|
<if test="contact != null and contact != ''"> and t1.contact = #{contact}</if>
|
|
|
<if test="followDesc != null and followDesc != ''"> and t1.follow_desc like CONCAT('%', #{followDesc},'%') escape '/' </if>
|
|
|
- <if test="follower != null and follower != ''"> and t1.follower like CONCAT('%', #{follower},'%') escape '/' </if>
|
|
|
|
|
|
- <if test="countries != null and countries.size() > 0">
|
|
|
- and t1.country_id in
|
|
|
- <foreach item="countryId" collection="countries" open="(" separator="," close=")">
|
|
|
- #{countryId}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
</where>
|
|
|
GROUP BY business_id,follow_type
|
|
|
</sql>
|