renyupeng 2 éve
szülő
commit
3fbd026f6a
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      Apietl/task/AppKuaishouAccountBaseInfoDsD.py

+ 2 - 1
Apietl/task/AppKuaishouAccountBaseInfoDsD.py

@@ -158,7 +158,8 @@ LEFT JOIN `jeecg-boot`.sys_depart part  ON dep.dep_id=part.id
 WHERE
 cua.account_id IS NOT NULL and cua.account_status=0 and cua.media_id=2
 ) bei
-ON t1.account_id = bei.account_id  where   bei.account_id is not null) m;
+ON t1.account_id = bei.account_id  where   bei.account_id is not null) m
+group by account_id;
 
    """.format(date_time=self.date_time)
             print(sql)