From 23424b5eeea00a28b03f323980fab76e65ef7f32 Mon Sep 17 00:00:00 2001 From: bicochan Date: Mon, 24 Aug 2026 14:09:12 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[st]=20chore:=20=ED=86=B5=EA=B3=84=20?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20=EB=A6=AC=ED=8F=AC=ED=8A=B8=20=EC=B4=88?= =?UTF-8?q?=EA=B8=B0=20=EC=A1=B0=ED=9A=8C=20=ED=8C=8C=EB=9D=BC=EB=AF=B8?= =?UTF-8?q?=ED=84=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistics/verification/StatisticsVerificationReport.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/st/src/components/statistics/verification/StatisticsVerificationReport.tsx b/apps/st/src/components/statistics/verification/StatisticsVerificationReport.tsx index 4ce873a5d..c194541ad 100644 --- a/apps/st/src/components/statistics/verification/StatisticsVerificationReport.tsx +++ b/apps/st/src/components/statistics/verification/StatisticsVerificationReport.tsx @@ -132,7 +132,7 @@ const DEFAULT_FILTERS: StatisticsVerificationFilterState = { statsYr: String(dayjs().year() - 1), sewerBzmnCd: null, statsCd: null, - pbcpSbmsnSttsCd: "3", + pbcpSbmsnSttsCd: null, }; const DEFAULT_SUB_FILTERS: StatisticsVerificationSubFilterState = { From 6dd09971f154dff557f379e7b4aec964f1ba5721 Mon Sep 17 00:00:00 2001 From: rsone001 Date: Mon, 24 Aug 2026 16:39:24 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[ST]=20-=20=EC=BB=AC=EB=9F=BC=20=EC=9E=90?= =?UTF-8?q?=EB=8F=99=20=EA=B3=84=EC=82=B0=EC=8B=9D=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/st/src/components/module/CompactDataGrid.tsx | 1 + apps/st/src/components/module/DataGrid.tsx | 1 + apps/st/src/components/module/TabDataGrid.tsx | 1 + .../components/util/column/review/SewagePipeRvwColumn.ts | 5 ----- .../st/src/components/util/grid/computedFieldCallbacks.ts | 8 ++++---- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/st/src/components/module/CompactDataGrid.tsx b/apps/st/src/components/module/CompactDataGrid.tsx index 75e25c83e..fad888a5f 100644 --- a/apps/st/src/components/module/CompactDataGrid.tsx +++ b/apps/st/src/components/module/CompactDataGrid.tsx @@ -308,6 +308,7 @@ const CompactDataGrid = ({ if (fixedColumns !== undefined && fixedColumns > 0) { gridView.setFixedOptions({ colCount: fixedColumns, + resizable: true, }); } diff --git a/apps/st/src/components/module/DataGrid.tsx b/apps/st/src/components/module/DataGrid.tsx index 6af21acc3..e679a75fa 100644 --- a/apps/st/src/components/module/DataGrid.tsx +++ b/apps/st/src/components/module/DataGrid.tsx @@ -1688,6 +1688,7 @@ useEffect(() => { if (fixedColumns !== undefined && fixedColumns > 0) { gridView.setFixedOptions({ colCount: fixedColumns, + resizable: true, }); } diff --git a/apps/st/src/components/module/TabDataGrid.tsx b/apps/st/src/components/module/TabDataGrid.tsx index 2f5b09d3e..4b6b14bbc 100644 --- a/apps/st/src/components/module/TabDataGrid.tsx +++ b/apps/st/src/components/module/TabDataGrid.tsx @@ -1232,6 +1232,7 @@ const TabDataGrid = ({ if (currentInfo.fixedColumns !== undefined && currentInfo.fixedColumns > 0) { gridView.setFixedOptions({ colCount: currentInfo.fixedColumns, + resizable: true, }); } diff --git a/apps/st/src/components/util/column/review/SewagePipeRvwColumn.ts b/apps/st/src/components/util/column/review/SewagePipeRvwColumn.ts index 34e7be09f..6dde64a50 100644 --- a/apps/st/src/components/util/column/review/SewagePipeRvwColumn.ts +++ b/apps/st/src/components/util/column/review/SewagePipeRvwColumn.ts @@ -9,11 +9,6 @@ import { footerIntArrayByDivision, } from "@/components/util/grid/footerSummary"; - -const currentYear = dayjs().year() - 1; -const startYear = 1996; -const totalCount = currentYear - startYear + 1; - // 하수도 통계 관리 02. 하수관로 const rawList = [ { diff --git a/apps/st/src/components/util/grid/computedFieldCallbacks.ts b/apps/st/src/components/util/grid/computedFieldCallbacks.ts index 42f734967..245974fc9 100644 --- a/apps/st/src/components/util/grid/computedFieldCallbacks.ts +++ b/apps/st/src/components/util/grid/computedFieldCallbacks.ts @@ -19,14 +19,14 @@ const SUM_DECIMAL_SCALE = 1e6; /** * 스케일 정수 합을 Number로 되돌릴 때 생기는 IEEE 오차 보정. - * 예: 9003630000/1e6 → 9003.62999… (RealGrid trunc 시 9003.62) - * 아주 작은 양수를 더해 표시가 9003.63이 되게 한다. + * 39057.34는 이진수로 39057.33999… 가 되어 RealGrid `#,##0.00` 절사 시 39057.33이 된다. + * 1e-12는 이 값에서 *100 경계를 넘지 못하므로, 값 크기에 비례한 ULP만큼 밀어 올린다. */ function numberFromScaledSum(scaledSum: number): number { if (scaledSum === 0) return 0; const raw = scaledSum / SUM_DECIMAL_SCALE; - if (scaledSum % SUM_DECIMAL_SCALE === 0) return raw; - return raw + Math.sign(raw) * 1e-12; + const ulp = Number.EPSILON * Math.max(1, Math.abs(raw)); + return raw + Math.sign(raw) * ulp * 8; } /**