where 标签
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
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
|
||||
<where>
|
||||
<if test="queryParam.userType != null">
|
||||
and merchant.user_type = #{queryParam.userType}
|
||||
</if>
|
||||
@@ -21,5 +21,6 @@
|
||||
<if test="queryParam.alipayAccount != null">
|
||||
and merchant.alipay_account like concat('%',#{queryParam.alipayAccount},'%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user