|
@@ -731,7 +731,7 @@
|
|
|
|
|
|
<select id="doubleEleven2020Statis" resultMap="luckStatis">
|
|
|
SELECT o.id_ organId, o.name_ organName, SUM(spo.actual_amount_) money, COUNT(DISTINCT spo.user_id_) nums,
|
|
|
- COUNT(spo.id_) times FROM student_payment_order spo
|
|
|
+ SUM(IF(spo.class_group_id_ is null ,1,spo.class_group_id_)) times FROM student_payment_order spo
|
|
|
LEFT JOIN organization o ON o.id_ = spo.organ_id_
|
|
|
WHERE spo.type_ = 'DOUBLE_ELEVEN2020'
|
|
|
AND spo.status_ = 'SUCCESS'
|