add bi
This commit is contained in:
parent
b01fb20fdd
commit
ebf823b789
|
@ -46,7 +46,7 @@ class S:
|
|||
sql_q = "select ptime from vas_day_flow where ptime='{}'".format(get_time_str_by_ts(t))
|
||||
rows = self.mysql_db_bi.query(sql_q)
|
||||
if len(rows) > 0:
|
||||
print(safe_get_int(rows[0], "flow"))
|
||||
print(rows)
|
||||
else:
|
||||
print(0)
|
||||
# sql = '''update vas_day_flow set flow=%s where ptime=%s'''
|
||||
|
|
Loading…
Reference in New Issue