浏览代码

fix:试卷结构列表查询 - 返回主客观题结构

caozixuan 3 年之前
父节点
当前提交
a97a88a374

+ 0 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/ExamPaperStructureServiceImpl.java

@@ -352,7 +352,6 @@ public class ExamPaperStructureServiceImpl extends ServiceImpl<ExamPaperStructur
         ExamPaperStructureStatusEnum status = basicPaperInfo.getStatus();
         String objectiveStructure = JSON.toJSONString(paperStructureInfo.getObjectiveQuestionList());
         String subjectiveStructure = JSON.toJSONString(paperStructureInfo.getSubjectiveQuestionList());
-        String paperInfoJson = JSON.toJSONString(evaluationParameters);
         Long propositionTeacherId = requestUser.getId();
         Long examPaperStructureId = basicPaperInfo.getExamPaperStructureId();
         String sequence = basicPaperInfo.getSequence();

+ 2 - 0
distributed-print-business/src/main/resources/mapper/ExamPaperStructureMapper.xml

@@ -11,6 +11,8 @@
             bs.name semesterName,
             epp.third_relate_id thirdRelateId,
             epp.third_relate_name thirdRelateName,
+            eps.objective_structure objectiveStructure,
+            eps.subjective_structure subjectiveStructure,
             edc.paper_number paperNumber,
             edc.course_code courseCode,
             edc.course_name courseName,