fix: 修复计算后未移除多余材料的问题

This commit is contained in:
han0
2025-03-19 14:37:48 +08:00
parent 1c1c2513c7
commit 1e4c665870
4 changed files with 14 additions and 1 deletions

View File

@@ -1,10 +1,12 @@
from collectors import Collector
from commons.models.price_publish import PricePublish
def collect(year=2023, month=11):
"""
整理发布价格
"""
PricePublish.clean(year, month) # 清空当月数据
collector = Collector(year, month)
collector.run()