Explorar o código

修正过滤条件错误

mingfu hai 1 mes
pai
achega
cb523e043d

+ 1 - 1
ie-admin/src/main/java/com/ruoyi/web/service/PaperService.java

@@ -569,7 +569,7 @@ public class PaperService {
                     qCond.setQtpye(knowTypeAssign.getType());
                     qCond.setId(studentId);
                     qCond.setNumber(knowTypeAssign.exclCount > 500 ? (long) random.nextInt(knowTypeAssign.exclCount.intValue() - 500) :  0L);
-                    qCond.setIsSubType("1");
+                    qCond.setIsSubType("2");
                     questions = questionsMapper.selectQuestionsForPaper(qCond);
                     typeQuestionMap.put(knowTypeAssign.getType(), questions);
                 }