fix:
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user