diff --git a/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml b/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml index 47be03e66..65b25b692 100644 --- a/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCustomerUserMapper.xml @@ -96,6 +96,8 @@ and ( owner_site=#{ownerSite} ) + and ( FIND_IN_SET(#{bizSite},biz_site) or #{bizSite}=owner_site) + and customer_name like concat('%', #{custName}, '%') and id = #{id} @@ -123,7 +125,7 @@ and openid like concat('%', #{openid}, '%') and monthly_pay_code like concat('%', #{monthlyPayCode}, '%') and user_name like concat('%', #{userName}, '%') - and FIND_IN_SET(#{bizSite},biz_site) + and biz_site_name like concat('%', #{bizSiteName}, '%') and country=#{country} and province=#{province}