|
|
@ -167,6 +167,8 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
raw: true |
|
|
|
raw: true |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log("formQuestions",formQuestions); |
|
|
|
|
|
|
|
|
|
|
|
const formQuestionMap = new Map(formQuestions.map((fQ) => ([+fQ.questionId, fQ]))); |
|
|
|
const formQuestionMap = new Map(formQuestions.map((fQ) => ([+fQ.questionId, fQ]))); |
|
|
|
|
|
|
|
|
|
|
|
let questions = await bpmsDB.bpms_question.findAll({ |
|
|
|
let questions = await bpmsDB.bpms_question.findAll({ |
|
|
@ -198,7 +200,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
// return;
|
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|