diff --git a/B08_Quantity/B08_Quantity_Router_Earthwork.py b/B08_Quantity/B08_Quantity_Router_Earthwork.py index 63894e8c..5ccf4c94 100644 --- a/B08_Quantity/B08_Quantity_Router_Earthwork.py +++ b/B08_Quantity/B08_Quantity_Router_Earthwork.py @@ -213,6 +213,10 @@ class QuantitySettingsBody(BaseModel): concrete_placing_method: str | None = None # 표토제거 두께(m). 품셈이 정하는 값이 아니라 설계 입력이다(9-15 [주]②). topsoil_thickness_m: float | None = None + # 부대시설 개소 — `{항목키: 개소}`(2026-09-09 확정 ⑬). + # ⚠ 산식(연장÷500)으로 만들지 않는다 — 임도규정이 「필요시 거리를 조정」이라 하고 + # 기점 포함·갈림길 중복을 원문이 정하지 않는다. **설계자가 넣는 값**이다. + ancillary_counts: dict[str, float] | None = None #: `None` 이 「안 정함」을 뜻하는 칸 — 저장에서 **버리지 않고 그대로 덮어쓴다**. @@ -262,7 +266,8 @@ async def save_quantity_settings(project_id: UUID, body: QuantitySettingsBody) - _save_quantity, root, values, - ("rock_methods", "material_supply", "concrete_placing_method") + NULLABLE_SETTING_KEYS, + ("rock_methods", "material_supply", "concrete_placing_method", "ancillary_counts") + + NULLABLE_SETTING_KEYS, ) except Exception: logger.exception("B08 설정 저장 실패(쓰기): project_id=%s", project_id)