@@ -1337,7 +1337,7 @@
ifnull(b2.counts,0) monthCustomer,ifnull(c2.counts,0) monthMeet,ifnull(b3.counts,0) yearCustomer,ifnull(c3.counts,0) yearMeet
from admin a
left join (select aid ,count(*)counts from user
- where share_type in (0,2)and source in (1,2)
+ where share_type in (0)and source in (1,2) and private_valid=1
and transfer_time BETWEEN #{d1} and #{d2}
group by aid) b on a.id =b.aid
left join (SELECT a.aid,count(*) counts