This commit is contained in:
lwl0608 2024-05-08 19:46:28 +08:00
parent 557964ca6d
commit 17793eb977
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class S:
sql_q = "select * from vas_day_flow where pdate='{}'".format(get_time_str_by_ts(t))
rows = self.mysql_db_bi.query(sql_q)
if len(rows) > 0:
sql_u = "update set vas_day_flow set flow=%s where pdate=%s"
sql_u = "update vas_day_flow set flow=%s where pdate=%s"
return self.mysql_db_bi.exec(sql_u, (flow, formatted_dt))
else:
sql_i = "insert into vas_day_flow (pdate, flow) values (%s,%s)"