|
|
@@ -63,7 +63,7 @@ public class CourseBusinessServiceImpl extends ServiceImpl<CourseBusinessMapper,
|
|
|
|
|
|
@Override
|
|
|
public List<CourseBusinessVo> queryList(CourseBusinessQueryBo bo) {
|
|
|
- List<CourseBusinessVo> vo = baseMapper.queryList(bo).stream().collect(Collectors.toList());
|
|
|
+ List<CourseBusinessVo> vo = entity2Vo(baseMapper.queryList(bo));
|
|
|
if (CollectionUtils.isEmpty(vo)){
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
@@ -76,7 +76,7 @@ public class CourseBusinessServiceImpl extends ServiceImpl<CourseBusinessMapper,
|
|
|
item.setTopicId(courseTopic.getTopicId());
|
|
|
}
|
|
|
});
|
|
|
- return entity2Vo(vo);
|
|
|
+ return vo;
|
|
|
}
|
|
|
|
|
|
/**
|