From 0cbd48354c69f4db3d0e32b1872acf6671113aec Mon Sep 17 00:00:00 2001 From: swcho Date: Thu, 3 Jul 2025 09:56:17 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=95=98=EC=88=98=EB=A7=A8=ED=99=80=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/(map-layout)/map/SearchModal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/SearchModal.tsx b/apps/sn/app/(map-layout)/map/SearchModal.tsx index d3cac8956..e17b80724 100644 --- a/apps/sn/app/(map-layout)/map/SearchModal.tsx +++ b/apps/sn/app/(map-layout)/map/SearchModal.tsx @@ -332,14 +332,14 @@ const SearchModal: React.FC = ({ `${todayYear}${todayMonth}${todayDate}`, ); cqlFilters.push( - `설치시작년도 >= '${startDate}' and 설치시작년도 <= '${endDate}'`, + `instl_ymd >= '${startDate}' and instl_ymd <= '${endDate}'`, ); // if (변수1) cqlFilters.push(`경과년도='${변수1}'`); - if (변수2) cqlFilters.push(`용도코드='${변수2}'`); + if (변수2) cqlFilters.push(`usg_cd='${변수2}'`); // 구경(mm) 범위 - if (시작1 && 종료1) cqlFilters.push(`구경 BETWEEN ${시작1} AND ${종료1}`); - else if (시작1) cqlFilters.push(`구경 >= ${시작1}`); - else if (종료1) cqlFilters.push(`구경 <= ${종료1}`); + if (시작1 && 종료1) cqlFilters.push(`swage_mh_diam BETWEEN ${시작1} AND ${종료1}`); + else if (시작1) cqlFilters.push(`swage_mh_diam >= ${시작1}`); + else if (종료1) cqlFilters.push(`swage_mh_diam <= ${종료1}`); return cqlFilters; };