Browse Source

导出数据修改

anderx 3 weeks ago
parent
commit
35f1ed6cd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/AdminMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -1337,7 +1337,7 @@
                ifnull(b2.counts,0) monthCustomer,ifnull(c2.counts,0) monthMeet,ifnull(b3.counts,0) yearCustomer,ifnull(c3.counts,0) yearMeet
                ifnull(b2.counts,0) monthCustomer,ifnull(c2.counts,0) monthMeet,ifnull(b3.counts,0) yearCustomer,ifnull(c3.counts,0) yearMeet
         from admin a
         from admin a
                  left join (select aid ,count(*)counts  from user
                  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}
                               and transfer_time BETWEEN #{d1} and #{d2}
                             group by aid) b on a.id =b.aid
                             group by aid) b on a.id =b.aid
                  left join (SELECT a.aid,count(*) counts
                  left join (SELECT a.aid,count(*) counts