This commit is contained in:
wuaho 2021-11-18 15:51:48 +08:00
parent 79a453134f
commit d48e9166c4

View File

@ -262,6 +262,9 @@ class BehaviorAnalysis:
tbl = getattr(self, f'{item["tableType"]}_tbl') tbl = getattr(self, f'{item["tableType"]}_tbl')
col = getattr(tbl.c, item['columnName']) col = getattr(tbl.c, item['columnName'])
# 日期类型处理时区
if item.get('data_type') == 'datetime':
col = func.addHours(col, self.zone_time)
ftv = item['ftv'] ftv = item['ftv']
if comparator == '==': if comparator == '==':