<iftest="entity.province != null "> and main.province = #{entity.province}</if>
<iftest="entity.city != null "> and main.city = #{entity.city}</if>
<iftest="entity.title != null and entity.title != ''"> and main.title like concat('%', #{entity.title}, '%')</if>
<iftest="entity.platformCode != null and entity.platformCode != ''"> and main.platform_code = #{entity.platformCode}</if>
<iftest="entity.params.beginFeeDown != null and entity.params.beginFeeDown != ''">
and main.fee_down <![CDATA[>= ]]> #{entity.params.beginFeeDown}
</if>
<iftest=" entity.params.endFeeDown != null and entity.params.endFeeDown != ''">
and main.fee_down <![CDATA[<= ]]> #{entity.params.endFeeDown}
</if>
<iftest="entity.params.beginFansDown != null and entity.params.beginFansDown != ''">
and main.fans_down <![CDATA[>= ]]> #{entity.params.beginFansDown}
</if>
<iftest=" entity.params.endFansDown != null and entity.params.endFansDown != ''">
and main.fans_down <![CDATA[<= ]]> #{entity.params.endFansDown}
</if>
<iftest="entity.brand != null and entity.brand != ''"> and main.brand like concat('%', #{entity.brand}, '%')</if>
<iftest="entity.pic != null and entity.pic != ''"> and main.pic = #{entity.pic}</if>
<iftest="entity.collect != null and entity.collect != ''"> and main.collect = #{entity.collect}</if>
<iftest="entity.bloggerTypes != null and entity.bloggerTypes != ''"> and main.blogger_types = #{entity.bloggerTypes}</if>
<iftest="entity.isUseCoupon != null "> and main.is_use_coupon = #{entity.isUseCoupon}</if>
<iftest="entity.approvalStatus != null and entity.approvalStatus != ''"> and main.approval_status = #{entity.approvalStatus}</if>
<iftest="entity.params.beginCreateTime != null and entity.params.beginCreateTime != '' and entity.params.endCreateTime != null and entity.params.endCreateTime != ''"> and main.create_time between #{entity.params.beginCreateTime} and #{entity.params.endCreateTime}</if>