用户接口报错修复

This commit is contained in:
张松
2025-02-20 18:22:25 +08:00
parent 8fb0ebb5b3
commit ae302dc68b

View File

@@ -39,7 +39,7 @@
<select id="selectAssetsSummary" resultType="com.czg.account.dto.user.userinfo.UserInfoAssetsSummaryDTO">
select sum(IFNULL(b.amount, 0)) as amount,
sum(IFNULL(b.account_points, 0)) as points,
sum(IFNULL(c.over_num, 0)) as couponNum
sum(IFNULL(c.id, 0)) as couponNum
from tb_user_info as a
left join tb_shop_user as b on a.id = b.user_id
left join tb_shop_activate_coupon_record as c