This commit is contained in:
linfso 2024-06-27 18:40:42 +08:00
parent 90350e3661
commit a34c3bbd56

View File

@ -96,6 +96,8 @@
and ( owner_site=#{ownerSite} )
</if>
<if test="bizSite != null and bizSite != ''"> and ( FIND_IN_SET(#{bizSite},biz_site) or #{bizSite}=owner_site) </if>
<if test="custName != null and custName != ''"> and customer_name like concat('%', #{custName}, '%')</if>
<if test="id != null "> and id = #{id}</if>
@ -123,7 +125,7 @@
<if test="openid != null and openid != ''"> and openid like concat('%', #{openid}, '%')</if>
<if test="monthlyPayCode != null and monthlyPayCode != ''"> and monthly_pay_code like concat('%', #{monthlyPayCode}, '%')</if>
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
<if test="bizSite != null and bizSite != ''"> and FIND_IN_SET(#{bizSite},biz_site)</if>
<if test="bizSiteName != null and bizSiteName != ''"> and biz_site_name like concat('%', #{bizSiteName}, '%')</if>
<if test="country != null and country != ''"> and country=#{country}</if>
<if test="province != null and province != ''"> and province=#{province}</if>