This commit is contained in:
han0
2024-07-09 18:11:22 +08:00
parent e6442b2cf9
commit d2eca25632
7 changed files with 126 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ def create_last_month_publish_data():
# 检查是否生成上月数据
query = PriceResult.get_query(year=year, month=month)
result = PriceResult.get_list(query)
# todo 有修改记录的忽略,其余都重新生成
if not result:
calculate(year=year, month=month)