1.新增水准线路补充检测接口
This commit is contained in:
@@ -139,7 +139,12 @@ class ConstructionMonitorUtils:
|
||||
continue
|
||||
|
||||
if not base_condition:
|
||||
result["winter"].append(item_copy)
|
||||
# 当前为冬休且历史全是冬休 → 视为数据未补全,remaining 固定为 -365
|
||||
if latest_condition == "冬休":
|
||||
item_copy["remaining"] = -365
|
||||
result["data"].append(item_copy)
|
||||
else:
|
||||
result["winter"].append(item_copy)
|
||||
continue
|
||||
|
||||
# 核心修改:冬休回溯场景下调整测量间隔(基准周期)
|
||||
|
||||
Reference in New Issue
Block a user