fix: 조회 조건 쿼리문 수정
This commit is contained in:
parent
9a590793ce
commit
d9da2ba413
@ -83,7 +83,7 @@ async function getSuitableList(request: NextRequest): Promise<NextResponse> {
|
|||||||
ON msm.id = details.main_id
|
ON msm.id = details.main_id
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
--roofMtCd AND msm.roof_mt_cd IN (:roofMtCd)
|
--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
|
ORDER BY msm.product_name
|
||||||
OFFSET (@P1 - 1) * @P2 ROWS
|
OFFSET (@P1 - 1) * @P2 ROWS
|
||||||
FETCH NEXT @P2 ROWS ONLY;
|
FETCH NEXT @P2 ROWS ONLY;
|
||||||
|
|||||||
@ -50,7 +50,7 @@ async function getSuitablePick(request: NextRequest): Promise<NextResponse> {
|
|||||||
ON msm.id = details.main_id
|
ON msm.id = details.main_id
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
--roofMtCd AND msm.roof_mt_cd IN (:roofMtCd)
|
--roofMtCd AND msm.roof_mt_cd IN (:roofMtCd)
|
||||||
--productName AND msm.product_name LIKE '%:productName%'
|
--productName AND msm.product_name LIKE N'%:productName%'
|
||||||
;
|
;
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user