add workflow 天润Smart-ccc会话数据,dev

This commit is contained in:
root 2025-01-23 11:06:49 +08:00
parent 1552eb50e1
commit bddb7d3da6
1 changed files with 3 additions and 3 deletions

View File

@ -260,9 +260,9 @@ if __name__ == "__main__":
previous_time = previous_hour_timestamp(hour_delta)
list = fetch_records_all(0)
if datetime.datetime.now().hour < 3:
pre_list = fetch_records_all(1)
list = list + pre_list
# if datetime.datetime.now().hour < 3:
# pre_list = fetch_records_all(1)
# list = list + pre_list
load_data_to_db(list)
records = get_data_from_db()
if len(records) > 0: