运营商VIP

This commit is contained in:
2023-11-24 11:06:00 +08:00
parent 391023af90
commit 6de417c059
9 changed files with 146 additions and 17 deletions

View File

@@ -253,4 +253,24 @@
</if>
</where>
</select>
<select id="queryMerchantVipList" resultType="com.jsowell.pile.vo.uniapp.MerchantVipVO">
select
t1.member_id as memberId,
t1.merchant_id as merchantId,
t3.merchant_name as merchantName,
t2.mobile_number as mobileNumber,
t2.nick_name as nickName,
t2.avatar_url as avatarUrl,
t1.wallet_code as walletCode,
t1.principal_balance as principalBalance
from member_wallet_info t1
JOIN member_basic_info t2 on t2.member_id = t1.member_id and t2.del_flag = '0'
JOIN pile_merchant_info t3 ON t1.merchant_id = t3.id and t3.del_flag = '0'
where t1.del_flag = '0'
AND t1.merchant_id in
<foreach collection="merchantIdList" item="merchantId" open="(" separator="," close=")">
#{merchantId,jdbcType=VARCHAR}
</foreach>
</select>
</mapper>