This commit is contained in:
lwl0608 2024-05-08 19:39:12 +08:00
parent f8899cbd16
commit 1d8ef42277
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class S:
dt = datetime.datetime.fromtimestamp(t)
formatted_dt = dt.strftime('%Y-%m-%d 00:00:00')
sql_q = "select ptime from vas_day_flow where ptime='{}'".format(get_time_str_by_ts(t))
sql_q = "select pdate 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:
print(rows)