|
@@ -133,4 +133,15 @@ public class CourseSubjectServiceImpl extends ServiceImpl<CourseSubjectMapper, C
|
|
|
}
|
|
|
return this.removeByIds(ids);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<CourseSubjectVo> queryListAll(CourseSubjectQueryBo bo) {
|
|
|
+ Collection<CourseSubjectVo> courseSubjectVos = baseMapper.queryList(bo);
|
|
|
+ if (bo.getEducationId() != null || bo.getBusinessId() != null || bo.getProjectId() !=null){
|
|
|
+ CourseSubjectQueryBo courseSubjectQueryBo = new CourseSubjectQueryBo();
|
|
|
+ courseSubjectQueryBo.setWrong(1L);
|
|
|
+ courseSubjectVos.addAll(baseMapper.queryList(courseSubjectQueryBo));
|
|
|
+ }
|
|
|
+ return entity2Vo(courseSubjectVos);
|
|
|
+ }
|
|
|
}
|