|
@@ -158,7 +158,8 @@ LEFT JOIN `jeecg-boot`.sys_depart part ON dep.dep_id=part.id
|
|
WHERE
|
|
WHERE
|
|
cua.account_id IS NOT NULL and cua.account_status=0 and cua.media_id=2
|
|
cua.account_id IS NOT NULL and cua.account_status=0 and cua.media_id=2
|
|
) bei
|
|
) 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)
|
|
""".format(date_time=self.date_time)
|
|
print(sql)
|
|
print(sql)
|