|
@@ -68,7 +68,8 @@
|
|
|
(SELECT COUNT(1)
|
|
|
FROM ctop_kuaishou_population_package_rel t
|
|
|
where t.account_id = t1.account_id
|
|
|
- AND t.data_status = 1) as 'populationCount'
|
|
|
+ AND t.data_status = 1
|
|
|
+ AND (t.`status`=0 OR t.`status`=1 or t.`status`=3 or t.`status`=4)) as 'populationCount'
|
|
|
FROM ctop_kuaishou_population_package_rel t1
|
|
|
LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
|
|
|
where t1.pop_id = #{id}
|