数据仅一天有记录的,暂不上报

This commit is contained in:
pengtao 2019-11-14 11:55:47 +08:00
parent 0560d433c2
commit 7b831a3278

View File

@ -24,7 +24,7 @@ class SplitTapTags:
all = dict()
for types in self.type:
all[types] = {}
sql = f"""SELECT tags FROM v_event_25 where catename='{type}' and "$part_date"='{self.day}' """
sql = f"""SELECT tags FROM v_event_25 where catename='{types}' and "$part_date"='{self.day}' """
tags = self.tga.get_data(sql)
if tags:
for line in tags: