|
@@ -581,7 +581,7 @@ public class ExamPaperStructureServiceImpl extends ServiceImpl<ExamPaperStructur
|
|
|
private boolean matchObjectiveQuestion(String newQuestions, String dbQuestions) {
|
|
|
List<Question> dbList = JSON.parseArray(dbQuestions, Question.class);
|
|
|
if (dbList.size() == 0) {
|
|
|
- return true;
|
|
|
+ return false;
|
|
|
}
|
|
|
// 旧结构没有答案,直接更新
|
|
|
if (!SystemConstant.strNotNull(dbList.get(0).getAnswer())) {
|