fix(M02): 집계표 흙막이 줄은 선 다단 수까지만(54-11)

- 배관 흙막이 컨테이너 줄 = 서버가 [저장] 때 세운 유출 다단 수(design.extra_walls)까지 · 넘친 상자 값은 파일에 그대로 · 단 수를 늘리면 되살아남
- 집계 항목 미지정 알림도 같은 수로 셈(같은 뿌리)
- 다단 목록 없는 옛 측점 = 저장된 것 전부(옛 동작)
- 시험 test_52_1b_pipe_links 둘 더 · 화면 점검 ui_checks/54-11_흙막이_집계

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BVPp2o6Mh2FZJr72yW3ofZ
This commit is contained in:
2026-10-06 11:26:43 +09:00
co-authored by Claude Opus 5.5
parent 8759fbf0ee
commit 14965f811b
5 changed files with 203 additions and 3 deletions
@@ -32,6 +32,7 @@ from M02_MasterTemplete import M02_MasterTemplete_Router_Items as items_router
from M02_MasterTemplete import M02_MasterTemplete_Store as store
from M02_MasterTemplete import M02_Table_Fill as fill
from M02_MasterTemplete import M02_Template_Layers as layers
from M02_MasterTemplete.M02_Table_Fill_Spec import soil_tiers_from_designs
logger = logging.getLogger(__name__)
@@ -595,7 +596,10 @@ async def filled_table(
raise _bad(error) from error
if found is None:
raise HTTPException(status_code=404, detail="양식을 찾을 수 없습니다.")
lengths = fill.pipe_lengths_from_designs(await _cross_designs(project_id))
document = await asyncio.to_thread(fill.fill_table, project["root"], found["문서"], lengths)
designs = await _cross_designs(project_id)
lengths = fill.pipe_lengths_from_designs(designs)
document = await asyncio.to_thread(
fill.fill_table, project["root"], found["문서"], lengths, soil_tiers_from_designs(designs)
)
result = await asyncio.to_thread(fill.recalc, document)
return {"이름": name, "판": found["판"], "문서": document, "결과": result}