|
@@ -271,6 +271,9 @@ public class GradePaperStructServiceImpl extends ServiceImpl<GradePaperStructMap
|
|
|
String subjectCode = examPaperStructure.getCourseCode().concat(examPaperStructure.getPaperType()).concat(examPaperStructure.getSequence());
|
|
|
|
|
|
String examPaperObj = examPaperStructure.getObjectiveStructure();
|
|
|
+
|
|
|
+ // 如果没有客观题 试卷类型传空
|
|
|
+ paperType = null;
|
|
|
if (SystemConstant.strNotNull(examPaperObj)) {
|
|
|
List<Question> examPaperObjList = JSON.parseArray(examPaperObj, Question.class);
|
|
|
if (examPaperObjList != null && examPaperObjList.size() > 0) {
|
|
@@ -278,7 +281,7 @@ public class GradePaperStructServiceImpl extends ServiceImpl<GradePaperStructMap
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- String cloudInfoJson = cloudMarkingTaskUtils.queryPaperStructure(schoolId, examId, subjectCode, null);
|
|
|
+ String cloudInfoJson = cloudMarkingTaskUtils.queryPaperStructure(schoolId, examId, subjectCode, paperType);
|
|
|
examPaperStructure.setCloudInfoJson(cloudInfoJson);
|
|
|
examPaperStructure.setStructureChange(false);
|
|
|
examPaperStructureService.updateById(examPaperStructure);
|