用户贡献度
This commit is contained in:
parent
02d1e92cee
commit
76c7727926
|
|
@ -12,7 +12,7 @@ def generate_history_data_by_test():
|
|||
conn = get_conn()
|
||||
curs = conn.cursor()
|
||||
|
||||
months = [7, 8, 9]
|
||||
months = [7, 8, 9, 10, 11]
|
||||
for month in months:
|
||||
date_list = get_month_date(2022, month)
|
||||
print(str(date_list))
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ def generate_statistics_data_by_test():
|
|||
engine = create_engine(f'postgresql+psycopg2://{user}:{passwd}@{host}:{port}/{database}', pool_recycle=3600)
|
||||
conn = engine.connect()
|
||||
|
||||
months = [7, 8, 9]
|
||||
months = [7, 8, 9, 10, 11]
|
||||
for month in months:
|
||||
for date in get_month_date(2022, month):
|
||||
generate_statistics_data_single(conn, date)
|
||||
|
|
|
|||
Loading…
Reference in New Issue