mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 12:05:05 +08:00
运营商VIP
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user