From a577b8ef07c1de8ece3602786e6a9de08ef462e0 Mon Sep 17 00:00:00 2001 From: whm <973418690@qq.com> Date: Mon, 16 Mar 2026 10:12:02 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8A=8A=E6=97=A5=E6=9B=B4=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=92=8C=E8=A1=A5=E5=85=A8=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=88=86=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/construction_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/construction_monitor.py b/app/utils/construction_monitor.py index 0b9ec4b..e2d5235 100644 --- a/app/utils/construction_monitor.py +++ b/app/utils/construction_monitor.py @@ -139,9 +139,9 @@ class ConstructionMonitorUtils: continue if not base_condition: - # 当前为冬休且历史全是冬休 → 视为数据未补全,remaining 固定为 -365 + # 当前为冬休且历史全是冬休 → 视为数据未补全,用 bu_all=-365 表示;remaining 保持原样不改 if latest_condition == "冬休": - item_copy["remaining"] = -365 + item_copy["bu_all"] = -365 result["data"].append(item_copy) else: result["winter"].append(item_copy)