diff --git a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml index af23cdbba..e74dbc0bf 100644 --- a/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMerchantMapper.xml @@ -504,14 +504,13 @@ and o.tenant_id=#{tenantId} and cm.`merchant_id` = #{id} - and mb.merchant_id = #{id} - and mb.`name` like concat('%', #{userName},'%') + and cb.`name` like concat('%', #{userName},'%') - and mb.`phone` like concat('%', #{phone},'%') + and cb.`phone` like concat('%', #{phone},'%') and co.`title` like concat('%', #{couponName},'%')