diff --git a/cash-service/order-service/src/main/resources/mapper/ShopDirectMerchantMapper.xml b/cash-service/order-service/src/main/resources/mapper/ShopDirectMerchantMapper.xml index 73c34a7cf..8725a4795 100644 --- a/cash-service/order-service/src/main/resources/mapper/ShopDirectMerchantMapper.xml +++ b/cash-service/order-service/src/main/resources/mapper/ShopDirectMerchantMapper.xml @@ -8,18 +8,19 @@ select merchant.*,shop.shop_name as shopName from tb_shop_direct_merchant merchant left join tb_shop_info shop on merchant.shop_id = shop.id - where - - and merchant.user_type = #{queryParam.userType} - - - and shop.shop_name like concat('%',#{queryParam.shopName},'%') - - - and (merchant.wechat_status = #{queryParam.status} or merchant.alipay_status = #{queryParam.status}) - - - and merchant.alipay_account like concat('%',#{queryParam.alipayAccount},'%') - + + + and merchant.user_type = #{queryParam.userType} + + + and shop.shop_name like concat('%',#{queryParam.shopName},'%') + + + and (merchant.wechat_status = #{queryParam.status} or merchant.alipay_status = #{queryParam.status}) + + + and merchant.alipay_account like concat('%',#{queryParam.alipayAccount},'%') + +