|
@@ -7,6 +7,7 @@ import com.zhongzheng.common.utils.DateUtils;
|
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
|
import com.zhongzheng.modules.exam.bo.*;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamKnowledgeBusiness;
|
|
|
+import com.zhongzheng.modules.exam.domain.ExamPaper;
|
|
|
import com.zhongzheng.modules.exam.service.IExamKnowledgeBusinessService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
@@ -123,4 +124,13 @@ public class ExamKnowledgeServiceImpl extends ServiceImpl<ExamKnowledgeMapper, E
|
|
|
}
|
|
|
return this.removeByIds(ids);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public long queryListTotal(ExamKnowledgeQueryBo bo) {
|
|
|
+ LambdaQueryWrapper<ExamKnowledge> lqw = Wrappers.lambdaQuery();
|
|
|
+ lqw.like(StrUtil.isNotBlank(bo.getKnowledgeName()), ExamKnowledge::getKnowledgeName, bo.getKnowledgeName());
|
|
|
+ lqw.in(bo.getStatus() != null, ExamKnowledge::getStatus, bo.getStatus());
|
|
|
+ lqw.eq(StrUtil.isNotBlank(bo.getEncoder()), ExamKnowledge::getEncoder, bo.getEncoder());
|
|
|
+ return baseMapper.selectCount(lqw);
|
|
|
+ }
|
|
|
}
|