userInfo返回字段修改
This commit is contained in:
@@ -16,7 +16,7 @@ public class UserInfoAssetsSummaryDTO {
|
||||
/**
|
||||
* 总积分
|
||||
*/
|
||||
private Integer points;
|
||||
private Integer accountPoints;
|
||||
/**
|
||||
* 可使用优惠券数量
|
||||
*/
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<select id="selectAssetsSummary" resultType="com.czg.account.dto.user.userinfo.UserInfoAssetsSummaryDTO">
|
||||
SELECT
|
||||
IFNULL(SUM(b.amount), 0) AS amount,
|
||||
IFNULL(SUM(b.account_points), 0) AS points,
|
||||
IFNULL(SUM(b.account_points), 0) AS accountPoints,
|
||||
COUNT(DISTINCT c.id) AS couponNum
|
||||
FROM tb_shop_user AS b
|
||||
LEFT JOIN tb_shop_activate_coupon_record AS c
|
||||
|
||||
Reference in New Issue
Block a user