mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 18:30:02 +08:00
update 修改sql,修复NPE
This commit is contained in:
@@ -208,8 +208,8 @@
|
||||
t1.merchant_id as merchantId,
|
||||
ifnull(t1.principal_balance, 0) as principalBalance,
|
||||
ifnull(t1.gift_balance, 0) as giftBalance,
|
||||
t2.accumulatedRechargeAmount as accumulatedRechargeAmount,
|
||||
t3.accumulatedRechargeGift as accumulatedRechargeGift
|
||||
ifnull(t2.accumulatedRechargeAmount, 0) as accumulatedRechargeAmount,
|
||||
ifnull(t3.accumulatedRechargeGift, 0) as accumulatedRechargeGift
|
||||
from member_wallet_info t1
|
||||
left join (select wallet_code, sum(amount) as accumulatedRechargeAmount
|
||||
from `member_wallet_log`
|
||||
|
||||
Reference in New Issue
Block a user