Merge pull request 'fix: 조회 조건 쿼리문 수정' (#75) from feature/suitable into dev

Reviewed-on: #75
This commit is contained in:
swyoo 2025-06-19 14:54:01 +09:00
commit 20cf93d672
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%'
;
`