feature/survey : 조사매물 오류 해결 및 변경사항 적용 #49

Merged
swyoo merged 15 commits from feature/survey into dev 2025-05-27 13:46:23 +09:00
Showing only changes of commit 173401b67d - Show all commits

View File

@ -21,7 +21,6 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
const getNewSrlNo = async (srlNo: string, storeId: string) => {
let newSrlNo = srlNo
console.log('srlNo:: ', srlNo)
if (srlNo.startsWith('一時保存')) {
//@ts-ignore
const lastSurvey = await prisma.SD_SURVEY_SALES_BASIC_INFO.findFirst({
@ -128,7 +127,6 @@ export async function PATCH(request: NextRequest, { params }: { params: Promise<
SRL_NO: newSrlNo,
},
})
console.log(survey)
return NextResponse.json({ message: 'Survey confirmed successfully' })
}
} catch (error) {