zhouzeyu@c-top.com.cn преди 3 години
родител
ревизия
2f0eea0350
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/NewMonitorMapper.xml

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/NewMonitorMapper.xml

@@ -17,7 +17,7 @@
     </select>
 
     <select id="getAllAccountId" resultType="Long">
-        SELECT DISTINCT t.account_id  as 'accountId' from ctop_user_allocation t
+        SELECT DISTINCT t.account_id  as 'accountId' from ctop_user_allocation t where  account_status=0
     </select>
     <select id="getKuaiShouGroup" resultType="Map">
     SELECT t1.account_id as 'accountId',t1.auth_name as 'accountName',t1.user_name as 'userName',t.unit_id as 'unitId',t.group_create_time as 'groupCreatTime',DATE_FORMAT(DATE_ADD(t.group_create_time,INTERVAL 7 DAY),'%Y-%m-%d') as 'afterTime'