This commit is contained in:
2025-08-20 14:33:34 +08:00
parent c1168b02a8
commit 02a1c27c0c
3 changed files with 16 additions and 16 deletions
+2
View File
@@ -21,6 +21,8 @@ def fill_base_price(**kwargs):
year_month = conf.get('year_month', '')
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")
query = {'cat': 'office'}
if year_month != '':