|
@@ -229,7 +229,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
@Override
|
|
|
public PageInfo<TeacherVipClassInfoDto> getTeacherVipClass(VipClassQueryInfo queryInfo) {
|
|
|
PageInfo<TeacherVipClassInfoDto> pageInfo = new PageInfo<>(queryInfo.getPage(), queryInfo.getRows());
|
|
|
- Map<String, Object> params = new HashMap<String, Object>();
|
|
|
+ Map<String, Object> params = new HashMap<>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
|
List<TeacherVipClassInfoDto> dataList = null;
|
|
|
int count = classGroupDao.countTeacherVipClass(params);
|
|
@@ -323,6 +323,12 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
}
|
|
|
|
|
|
public List<CourseListDto> queryCoursePage(Integer userId) {
|
|
|
+ List<CourseListDto> courseListDtos = classGroupDao.queryCoursePage(userId);
|
|
|
+ courseListDtos.forEach(e->{
|
|
|
+ if("VIP".equals(e.getTeachMode())){
|
|
|
+ classGroupDao.findVipStuNames(e.getMusicGroupId());
|
|
|
+ }
|
|
|
+ });
|
|
|
return classGroupDao.queryCoursePage(userId);
|
|
|
}
|
|
|
|