Bladeren bron

fix 题库

he2802 4 jaren geleden
bovenliggende
commit
96f2b22457

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionServiceImpl.java

@@ -62,7 +62,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
         lqw.eq(StrUtil.isNotBlank(bo.getType()), Question::getType, bo.getType());
         lqw.eq(bo.getAnswerQuestion() != null, Question::getAnswerQuestion, bo.getAnswerQuestion());
         lqw.eq(bo.getBankSectionId() != null, Question::getBankSectionId, bo.getBankSectionId());
-        lqw.eq(bo.getStatus() != null, Question::getStatus, bo.getStatus());
+        lqw.in(bo.getStatus() != null, Question::getStatus, bo.getStatus());
         lqw.eq(StrUtil.isNotBlank(bo.getAnalysisContent()), Question::getAnalysisContent, bo.getAnalysisContent());
         lqw.eq(bo.getExamId() != null, Question::getExamId, bo.getExamId());
         lqw.eq(bo.getParentType() != null, Question::getParentType, bo.getParentType());