From 40e0dde0e0bc62377132e37da20d11c325739027 Mon Sep 17 00:00:00 2001 From: swcho Date: Tue, 19 Aug 2025 16:31:03 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20searchModal=20=EC=97=91=EC=85=80=20?= =?UTF-8?q?=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20=EC=97=90=EB=9F=AC=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/sn/app/(map-layout)/map/components/common/table.ts | 1 + apps/sn/app/(map-layout)/map/searchModal/searchModal.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/components/common/table.ts b/apps/sn/app/(map-layout)/map/components/common/table.ts index 531c72bc6..a16e68013 100644 --- a/apps/sn/app/(map-layout)/map/components/common/table.ts +++ b/apps/sn/app/(map-layout)/map/components/common/table.ts @@ -61,6 +61,7 @@ export const MsSwagePplExcelCol = { 'ctpvNm': '시도', 'sggNm': '시군구', 'swtrmt_zone_nm': '처리구역', + 'instlYmd': '설치일자', 'usgCd': '용도', 'pdmtVl': '관경(mm)', 'prlgVl': '연장(m)', diff --git a/apps/sn/app/(map-layout)/map/searchModal/searchModal.tsx b/apps/sn/app/(map-layout)/map/searchModal/searchModal.tsx index e121b73fc..8b38d232d 100644 --- a/apps/sn/app/(map-layout)/map/searchModal/searchModal.tsx +++ b/apps/sn/app/(map-layout)/map/searchModal/searchModal.tsx @@ -620,7 +620,7 @@ const SearchModal: React.FC = ({ // 하수관로 cqlFilters = pplCqlFilters() headerMapping = MsSwagePplExcelCol; - headerRange = "A1:F1"; + headerRange = "A1:M1"; break; } case 'tb_il_swage_prcs_fclt': { @@ -699,6 +699,7 @@ const SearchModal: React.FC = ({ ctpvNm: ctpvMap.get(ctpvCd) ?? item.ctpvNm ?? '-', sggNm: sggMap.get(sggCd) ?? item.sggNm ?? '-', swtrmt_zone_nm: formattedItem.swtrmt_zone_nm ?? item.swtrmt_zone_nm ?? '-', + instlYmd: formattedItem.instlYmd ?? item.instlYmd ?? '-', usgCd: pplUsgCdMap.get(trimmedUsgCd) || item.usgCd || formattedItem.usgCd || '-', pdmtVl: formattedItem.pdmtVl ?? item.pdmtVl ?? '-', prlgVl: formattedItem.prlgVl ?? item.prlgVl ?? '-', @@ -706,7 +707,6 @@ const SearchModal: React.FC = ({ tmptMhlMngNo: formattedItem.tmptMhlMngNo ?? item.tmptMhlMngNo ?? '-', scendDpth: formattedItem.scendDpth ?? item.scendDpth ?? '-', scendMhlMngNo: formattedItem.scendMhlMngNo ?? item.scendMhlMngNo ?? '-', - swtrmtFcltNm: formattedItem.swtrmtFcltNm ?? item.swtrmtFcltNm ?? '-', }; } case 'tb_il_swage_prcs_fclt': { @@ -823,7 +823,7 @@ const SearchModal: React.FC = ({ try { const RequestDTO: Record = { - size: '1000000', // 최대 개수 백만건으로 설정 + size: '10000', }; if (var1) RequestDTO.bizInfoNm = var1; if (var2 != '0' && var2) RequestDTO.bizTypeCd = var2; @@ -918,7 +918,7 @@ const SearchModal: React.FC = ({ try { const RequestDTO: Record = { - size: '10000', // 최대 개수 백만건으로 설정 + size: '10000', bizId: String(detailBizId), };