|
|
|
@ -20,6 +20,7 @@ import com.teaching.backend.mapper.umsAdmin.UmsTeacherMapper; |
|
|
|
|
import com.teaching.backend.mapper.umsAdmin.UmsUserMapper; |
|
|
|
|
import com.teaching.backend.model.dto.courses.CoursesDTO; |
|
|
|
|
import com.teaching.backend.model.dto.courses.PageDTO; |
|
|
|
|
import com.teaching.backend.model.dto.umsAdmin.UmsStudentPageQueryDTO; |
|
|
|
|
import com.teaching.backend.model.entity.chapter.Chapter; |
|
|
|
|
import com.teaching.backend.model.entity.courses.*; |
|
|
|
|
import com.teaching.backend.model.entity.records.CourseLearningRecord; |
|
|
|
@ -364,11 +365,13 @@ public class CoursesServiceImpl extends ServiceImpl<CoursesMapper, Courses> impl |
|
|
|
|
List<PersonalCenterStudentListVO> personalCenterStudentListVOList = new ArrayList<>(); |
|
|
|
|
PersonalCenterStudentListVO personalCenterStudentListVO = null; |
|
|
|
|
for (UmsStudentManage umsStudentManage : umsStudentManageList) { |
|
|
|
|
personalCenterStudentListVO = new PersonalCenterStudentListVO(); |
|
|
|
|
personalCenterStudentListVO.setIcon(umsStudentManage.getIcon()); |
|
|
|
|
personalCenterStudentListVO.setName(umsStudentManage.getName()); |
|
|
|
|
personalCenterStudentListVO.setNumber(umsStudentManage.getNumber()); |
|
|
|
|
personalCenterStudentListVOList.add(personalCenterStudentListVO); |
|
|
|
|
if (umsStudentManage != null){ |
|
|
|
|
personalCenterStudentListVO = new PersonalCenterStudentListVO(); |
|
|
|
|
personalCenterStudentListVO.setIcon(umsStudentManage.getIcon()); |
|
|
|
|
personalCenterStudentListVO.setName(umsStudentManage.getName()); |
|
|
|
|
personalCenterStudentListVO.setNumber(umsStudentManage.getNumber()); |
|
|
|
|
personalCenterStudentListVOList.add(personalCenterStudentListVO); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return personalCenterStudentListVOList; |
|
|
|
|
} |
|
|
|
|