|
|
@@ -96,7 +96,7 @@
|
|
|
t.org_name AS orgName,
|
|
|
t.org_path AS orgPath,
|
|
|
ifnull(count(0),0) AS shouldFinish,
|
|
|
- ifnull(SUM(t.status = 3),0) AS finish,
|
|
|
+ ifnull(SUM(t.status in (2,3)),0) AS finish,
|
|
|
round(ifnull(avg(t.comment_score),0),2) AS score
|
|
|
from core_drill_task t inner join sys_org o on t.org_id = o.id
|
|
|
<where>
|