用户贡献度

This commit is contained in:
crystal20277 2022-11-02 21:32:51 +08:00
parent 02d1e92cee
commit 76c7727926
2 changed files with 2 additions and 2 deletions

View File

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

View File

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