From fe8907035118b4aa30800554ce6b4eca8488db35 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 17 Sep 2026 13:51:28 +0900 Subject: [PATCH] =?UTF-8?q?fix(z01):=20=EB=AA=A9=EB=A1=9D=20=EC=B9=B8?= =?UTF-8?q?=EC=9D=84=20=EC=89=BC=ED=91=9C=EB=A1=9C=20=E2=80=94=20=EA=B3=B5?= =?UTF-8?q?=EC=A2=85=20=EC=B6=95=20=EA=B0=88=EB=9E=98=20=ED=82=A4=C2=B7?= =?UTF-8?q?=EB=94=B8=EB=A6=B0=20=ED=92=88=EC=85=88=20=ED=91=9C=EA=B0=80=20?= =?UTF-8?q?[F0243]=20=EA=B4=84=ED=98=B8=C2=B7=EB=94=B0=EC=98=B4=ED=91=9C?= =?UTF-8?q?=20=EA=B8=80=EC=9E=90=EB=A1=9C=20=EB=9C=A8=EB=8D=98=20=EA=B2=83?= =?UTF-8?q?=20=C2=B7=20=EB=B9=88=20=EB=AA=A9=EB=A1=9D=EC=9D=80=20=EB=B9=88?= =?UTF-8?q?=EC=B9=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 화면 확인(진짜 응답): 산림 9-5-2 「연암, 보통암, 경암 | F0244」 · 9-5-1 갈래 키 빈칸 - 시험: 목록 → 쉼표 · 빈 목록 → 빈칸 · Z01·이름표 시험 101 통과(브레인 지시로 Z01 만) Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_016VBGFXB9AbJBwXP19z75Qq --- Z01_MasterData/Z01_MasterData_UI_Cells.ts | 2 ++ resources/tester/test_z01_master_cells.py | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/Z01_MasterData/Z01_MasterData_UI_Cells.ts b/Z01_MasterData/Z01_MasterData_UI_Cells.ts index 7e6f4e0a..8e40b782 100644 --- a/Z01_MasterData/Z01_MasterData_UI_Cells.ts +++ b/Z01_MasterData/Z01_MasterData_UI_Cells.ts @@ -26,6 +26,8 @@ export function columnTitle(column: MasterColumn): string { export function cellText(value: unknown, unit?: string | null): string { if (value === null || value === undefined) return ""; if (typeof value === "boolean") return value ? "예" : "아니오"; + // 목록 칸(갈래 키 · 딸린 품셈 표) — 괄호·따옴표 없이 쉼표로 · 빈 목록은 빈칸. + if (Array.isArray(value)) return value.map((each) => cellText(each, unit)).join(", "); if (typeof value === "number" && unit) { return value.toLocaleString("ko-KR", { maximumFractionDigits: 10 }); } diff --git a/resources/tester/test_z01_master_cells.py b/resources/tester/test_z01_master_cells.py index 62943293..3b903240 100644 --- a/resources/tester/test_z01_master_cells.py +++ b/resources/tester/test_z01_master_cells.py @@ -179,6 +179,9 @@ writeFileSync(process.argv[2], JSON.stringify({ cellText("보통인부", null), // 소수 끝 떠돌이 자리(부동소수) — 기계 손료계수 0.0001811 이 0.00018109999999999998 로 보이던 것 cellText(0.00018109999999999998, null), + // 공종 축 목록 칸 — 괄호·따옴표 글자로 뜨던 것(2026-09-17 브레인 ④) + cellText(["연암", "보통암", "경암"], null), + cellText([], null), ], pages: [pageCount(0, 50), pageCount(6999, 50), pageCount(50, 50)], row: rowCells({ extra: "x", daily_wage_krw: 250000, occupation_name: null }, columns), @@ -264,6 +267,8 @@ def test_칸_글자와_숨김_열(tmp_path: Path) -> None: "예", "보통인부", "0.0001811", + "연암, 보통암, 경암", + "", ] assert got["pages"] == [1, 140, 1] # columns 차례 · id 는 줄에 없어 「—」 · null 은 빈칸 · extra 는 안 그림