管理员系统优化
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<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
|
||||
from (
|
||||
select b.account_id,count(b.account_id) design_times,a.user_name,a.user_email,a.is_trial
|
||||
select b.account_id,count(b.account_id) design_times,a.user_name,a.user_email,a.is_trial,a.credits
|
||||
from t_account a
|
||||
left join t_design b on a.id = b.account_id
|
||||
<where>
|
||||
|
||||
@@ -24,4 +24,13 @@
|
||||
ON a.user_email = b.email
|
||||
</select>
|
||||
|
||||
<select id="selectIdsByEmails" parameterType="java.util.List" resultType="com.ai.da.mapper.primary.entity.TrialOrder">
|
||||
SELECT *
|
||||
FROM trial_order
|
||||
WHERE email IN
|
||||
<foreach item="email" collection="list" open="(" separator="," close=")">
|
||||
#{email}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user