From d9da2ba4139ee6d85d317d726d66fb007190a2f1 Mon Sep 17 00:00:00 2001 From: Daseul Kim Date: Thu, 19 Jun 2025 14:08:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A1=B0=ED=9A=8C=20=EC=A1=B0=EA=B1=B4?= =?UTF-8?q?=20=EC=BF=BC=EB=A6=AC=EB=AC=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/suitable/list/route.ts | 2 +- src/app/api/suitable/pick/route.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/api/suitable/list/route.ts b/src/app/api/suitable/list/route.ts index c8b3719..d9b1b2d 100644 --- a/src/app/api/suitable/list/route.ts +++ b/src/app/api/suitable/list/route.ts @@ -83,7 +83,7 @@ async function getSuitableList(request: NextRequest): Promise { ON msm.id = details.main_id WHERE 1=1 --roofMtCd AND msm.roof_mt_cd IN (:roofMtCd) - --productName AND msm.product_name LIKE '%:productName%' + --productName AND msm.product_name LIKE N'%:productName%' ORDER BY msm.product_name OFFSET (@P1 - 1) * @P2 ROWS FETCH NEXT @P2 ROWS ONLY; diff --git a/src/app/api/suitable/pick/route.ts b/src/app/api/suitable/pick/route.ts index 8d345ce..a9b5a4a 100644 --- a/src/app/api/suitable/pick/route.ts +++ b/src/app/api/suitable/pick/route.ts @@ -50,7 +50,7 @@ async function getSuitablePick(request: NextRequest): Promise { ON msm.id = details.main_id WHERE 1=1 --roofMtCd AND msm.roof_mt_cd IN (:roofMtCd) - --productName AND msm.product_name LIKE '%:productName%' + --productName AND msm.product_name LIKE N'%:productName%' ; `