fix(b09): 9-21 제근 「밑수 미확보」 막힘 걷음 — 마스터 목록(F0294)은 원문 사실이라 두고 단가 조립이 사용자 확정 빌린 밑수 공종만 제외(÷1,000 은 ChooseOne) · 갈래 선 내역 줄 금액 섬 · 일위대가 453 금액 변화 0

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BW6Jdsh18WPtYUR6THZJqn
This commit is contained in:
2026-09-14 13:56:51 +09:00
co-authored by Claude Opus 5
parent 6b7c093e7e
commit c4a83dbb09
2 changed files with 29 additions and 1 deletions
+5 -1
View File
@@ -65,6 +65,7 @@ from B09_Estimation.B09_Estimation_ResourceAxis import (
load_labor_catalog,
load_work_item_master,
)
from B09_Estimation.B09_Estimation_WorkItemUnit import BORROWED_BASIS_PER
from B09_Estimation.B09_Estimation_WorkItemUnit import unit_of as work_item_unit
from B09_Estimation.B09_Estimation_Rounding import OutputPlace, round_at
from B09_Estimation.B09_Estimation_Transport import parse_distance_km
@@ -889,9 +890,12 @@ def build_unit_prices(
continue
# ⚠ 밑수를 못 찾은 표를 쓰면 **곱하면 안 되는 줄**로 표시한다.
# 예외 = 사용자가 다른 품셈 밑수를 확정한 자리(9-21 「1,000㎡당」 · ÷ 는 ChooseOne 이 검) —
# 마스터 목록은 원문 사실이라 그대로 두고 여기서만 걷음(2026-09-14 브레인 · 사유는 비고).
borrowed = work_item_code.startswith(tuple(BORROWED_BASIS_PER))
for row in rows:
section = missing_basis.get(str(row.pum_table_id))
if section:
if section and not borrowed:
build.basis_missing[work_item_code] = section
break