diff --git a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml index ba1b218cb..34eada33a 100644 --- a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml @@ -31,6 +31,10 @@ and `id` = #{id} + + and c.`tenant_id` like concat('%', #{tenantId},'%') + + and `phone` like concat('%', #{phone},'%') @@ -75,10 +79,6 @@ and c.`update_date` = #{updateDate} - - and c.`tenant_id` like concat('%', #{tenantId},'%') - - and c.`name` like concat('%', #{name},'%')