肖海南查老师所教的学生方法修改

master
总裁 5 months ago
parent d1da72ad1a
commit ce9cc31736
  1. 4
      src/main/java/com/teaching/backend/service/impl/courses/CoursesServiceImpl.java

@ -417,7 +417,9 @@ public class CoursesServiceImpl extends ServiceImpl<CoursesMapper, Courses> impl
List<StudentCourses> studentUsernames = studentCoursesMapper.selectBatchSomeStudent(courseId);
for (StudentCourses studentUsername : studentUsernames) {
UmsStudentManage umsStudentManage = umsStudentManageMapper.queryStudent(String.valueOf(studentUsername.getStudent()));
umsStudentManageList.add(umsStudentManage);
if (umsStudentManage != null){
umsStudentManageList.add(umsStudentManage);
}
}
}
return umsStudentManageList;

Loading…
Cancel
Save