管理员系统部分优化、stripe异常通知优化

This commit is contained in:
2025-02-21 17:16:44 +08:00
parent c4dbd10a85
commit 68a9b2281a
7 changed files with 38 additions and 9 deletions

View File

@@ -27,9 +27,10 @@
</insert>
<select id="getDesignStatistic" resultType="com.ai.da.model.dto.UserDesignStatisticDTO" parameterType="String">
select d.*,c.id trialOrderId, c.title,c.surname,c.given_name,c.country,c.occupation,c.create_time
select d.*,c.id trialOrderId
from (
select b.account_id,count(b.account_id) design_times,a.user_name,a.user_email,a.is_trial,a.credits
select b.account_id,count(b.account_id) design_times,a.user_name,a.user_email,a.is_trial,a.credits,
a.title,a.surname,a.given_name,a.country,a.occupation,a.create_date
from t_account a
left join t_design b on a.id = b.account_id
<where>