fix: 조회 조건 쿼리문 수정

This commit is contained in:
Daseul Kim 2025-06-19 14:08:46 +09:00
parent 9a590793ce
commit d9da2ba413
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ async function getSuitableList(request: NextRequest): Promise<NextResponse> {
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;

View File

@ -50,7 +50,7 @@ async function getSuitablePick(request: NextRequest): Promise<NextResponse> {
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%'
;
`