update 会员钱包

This commit is contained in:
2023-11-21 14:57:58 +08:00
parent c9d1050cb2
commit 2f4ba1f243
9 changed files with 110 additions and 10 deletions

View File

@@ -185,12 +185,12 @@
t1.STATUS as status,
t1.nick_name as nickName,
t1.avatar_url as avatarUrl,
t1.mobile_number as mobileNumber,
t2.principal_balance as principalBalance,
t2.gift_balance as giftBalance
t1.mobile_number as mobileNumber
<!--t2.principal_balance as principalBalance,
t2.gift_balance as giftBalance-->
FROM
member_basic_info t1
left JOIN member_wallet_info t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'
<!--left JOIN member_wallet_info t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'-->
where t1.del_flag = '0'
and t1.member_id = #{memberId,jdbcType=VARCHAR}
</select>
@@ -203,12 +203,12 @@
t1.STATUS as status,
t1.nick_name as nickName,
t1.mobile_number as mobileNumber,
t2.principal_balance as principalBalance,
<!--t2.principal_balance as principalBalance,-->
<!--t2.gift_balance as giftBalance,-->
t1.avatar_url as avatarUrl
FROM
member_basic_info t1
JOIN member_wallet_info t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'
<!--JOIN member_wallet_info t2 ON t1.member_id = t2.member_id and t2.del_flag = '0'-->
JOIN pile_merchant_info t3 ON t1.merchant_id = t3.id and t3.del_flag = '0'
<if test="dto.vinCode != null">
join member_plate_number_relation t4 on t4.member_id = t1.member_id and t4.del_flag = '0'