Forráskód Böngészése

3.2.3 查询试卷结构参数paperType默认为空

xiaofei 2 éve
szülő
commit
292d4f3160

+ 6 - 6
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/GradePaperStructServiceImpl.java

@@ -278,12 +278,12 @@ public class GradePaperStructServiceImpl extends ServiceImpl<GradePaperStructMap
 
         // 如果没有客观题 试卷类型传空
         paperType = null;
-        if (SystemConstant.strNotNull(examPaperObj)) {
-            List<Question> examPaperObjList = JSON.parseArray(examPaperObj, Question.class);
-            if (examPaperObjList != null && examPaperObjList.size() > 0) {
-                paperType = examPaperStructure.getPaperType();
-            }
-        }
+//        if (SystemConstant.strNotNull(examPaperObj)) {
+//            List<Question> examPaperObjList = JSON.parseArray(examPaperObj, Question.class);
+//            if (examPaperObjList != null && examPaperObjList.size() > 0) {
+//                paperType = examPaperStructure.getPaperType();
+//            }
+//        }
 
         String cloudInfoJson = cloudMarkingTaskUtils.queryPaperStructure(schoolId, examId, subjectCode, paperType);
         examPaperStructure.setCloudInfoJson(cloudInfoJson);