|
|
@ -352,8 +352,10 @@ public class CoursesServiceImpl extends ServiceImpl<CoursesMapper, Courses> impl |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public LinkedHashSet<UmsStudent> queryStudentList(CourseQuery courseQuery) { |
|
|
|
public LinkedHashSet<UmsStudent> queryStudentList(String userId) { |
|
|
|
String roleId = umsUserMapper.getbyIdRoleId(courseQuery.getUserId()); |
|
|
|
String roleId = umsUserMapper.getbyIdRoleId(userId); |
|
|
|
|
|
|
|
CourseQuery courseQuery = new CourseQuery(); |
|
|
|
|
|
|
|
courseQuery.setUserId(userId); |
|
|
|
if (roleId.equals("1")){ |
|
|
|
if (roleId.equals("1")){ |
|
|
|
PageDTO<CoursesVO> queryCourses = queryCourses(courseQuery); |
|
|
|
PageDTO<CoursesVO> queryCourses = queryCourses(courseQuery); |
|
|
|
List<CoursesVO> coursesList = queryCourses.getList(); |
|
|
|
List<CoursesVO> coursesList = queryCourses.getList(); |
|
|
|