Selaa lähdekoodia

成绩分析判断卷型是否存在

ting.yin 6 vuotta sitten
vanhempi
commit
519816cf52

+ 1 - 1
stmms-web/src/main/java/cn/com/qmth/stmms/report/ReportController.java

@@ -111,7 +111,7 @@ public class ReportController {
             return result;
         }
         List<String> paperTypes = studentService.findDistinctPaperType(examId, subjectCode);
-        if (subject.getObjectiveScore() > 0 && !paperTypes.contains(paperType)) {
+        if (!paperTypes.contains(paperType)) {
             result.accumulate("code", "500");
             result.accumulate("message", "没有对应的卷型");
             return result;