From a97ad41c47f1d240da5435be3e307263696ffe60 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 4 Oct 2026 18:40:55 +0900 Subject: [PATCH] =?UTF-8?q?fix(M02):=2039=20=ED=86=B5=ED=95=A9=20=EB=92=A4?= =?UTF-8?q?=20=EC=97=87=EA=B0=88=EB=A6=BC=20=E2=80=94=20=EC=9D=BC=EC=9C=84?= =?UTF-8?q?=EB=8C=80=EA=B0=80=20=ED=95=A9=20=EC=B9=B8=20=EC=97=86=EC=9D=84?= =?UTF-8?q?=20=EC=88=98=20=EC=9E=88=EC=9D=8C(picker)=20=C2=B7=20=EC=83=88?= =?UTF-8?q?=20=EC=97=B4=20=3D=20=EB=B9=88=20=EC=9D=BC=EC=9C=84=EB=8C=80?= =?UTF-8?q?=EA=B0=80=20=C2=B7=20Structure.ts=20readTemplate=20=EB=BA=8C=20?= =?UTF-8?q?=EC=8B=9C=ED=97=98=20=EB=A7=9E=EC=B6=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BVPp2o6Mh2FZJr72yW3ofZ --- resources/tester/test_m02_item_list.py | 4 +++- resources/tester/test_m02_structure_panel.py | 2 +- ui_template/ui_template_item_picker_project.ts | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/tester/test_m02_item_list.py b/resources/tester/test_m02_item_list.py index 63b809bd7..ccdfa1f68 100644 --- a/resources/tester/test_m02_item_list.py +++ b/resources/tester/test_m02_item_list.py @@ -75,7 +75,9 @@ def test_서버_목록_칸_수정일_labor(world): ditch, wall = t.item(["배수", "측구"]), t.item(["옹벽"]) assert set(ditch["수정일"]) >= {"structure", "area"} assert len(ditch["수정일"]["structure"]) == 19 # 초 단위 ISO - assert ditch["labor"] is None # 일위대가 파일 없음 + assert ( + ditch["labor"]["로직수"] == 0 and ditch["labor"]["합계"] is None + ) # 새 열 = 빈 일위대가(39-1b) (root / "labor").mkdir(exist_ok=True) doc = { "일위대가번": "SU-000001", diff --git a/resources/tester/test_m02_structure_panel.py b/resources/tester/test_m02_structure_panel.py index 51b58e851..1df781508 100644 --- a/resources/tester/test_m02_structure_panel.py +++ b/resources/tester/test_m02_structure_panel.py @@ -46,7 +46,7 @@ def test_소스가_700줄을_넘지_않음(): [ ( "M02_MasterTemplete_Api_Fetch.ts", - ["createStructure", "fetchStructureNumbers", "readTemplate"], + ["createStructure", "fetchStructureNumbers"], # readTemplate 은 39-4 에서 뺌 PANEL, ), # 산출근거 저장은 컨테이너가 안 함 — [산출근거 수정] 이 여는 메인 칸 전체 편집이 함 diff --git a/ui_template/ui_template_item_picker_project.ts b/ui_template/ui_template_item_picker_project.ts index b3f46bb7a..ef9a68c3e 100644 --- a/ui_template/ui_template_item_picker_project.ts +++ b/ui_template/ui_template_item_picker_project.ts @@ -301,8 +301,8 @@ export async function laborOf( 번호: null, 로직: got.줄.map((line) => line.로직), 자재: got.자재.length, - base: got.기준합.계 ?? null, - reflected: got.반영합.계 ?? null, + base: got.기준합?.계 ?? null, + reflected: got.반영합?.계 ?? null, gaps: 0, stuck: got.줄.filter((line) => line.까닭).length, };