This commit is contained in:
lwl0608 2024-05-08 19:38:11 +08:00
parent b01fb20fdd
commit ebf823b789
1 changed files with 1 additions and 1 deletions

View File

@ -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'''