This commit is contained in:
2025-10-27 21:50:28 +08:00
parent 617db91a11
commit e6922e4c6b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def fill_base_price(**kwargs):
district = conf.get('district', '')
office_name = conf.get('name', '')
if year_month == "":
year_month = dateutils.format_date(dateutils.add_months(datetime.today().year, months=-1), "%Y%m")
year_month = dateutils.format_date(dateutils.add_months(datetime.today(), months=-1), "%Y%m")
query = {'cat': 'office'}
if year_month != '':