|
|
|
@ -394,20 +394,6 @@ public class TeacherOpenCourseScheduleSessionController{
|
|
|
|
|
}
|
|
|
|
|
teacherOpenCourseScheduleSessionService.queryByConditionGroup(page);
|
|
|
|
|
teacherOpenCourseScheduleSessionSnapService.fullSessionTagList(page.getList());
|
|
|
|
|
if (coreUser.isUniAdmin()){
|
|
|
|
|
page.getList().forEach(item ->{
|
|
|
|
|
TeacherOpenCourseScheduleSession list = (TeacherOpenCourseScheduleSession) item;
|
|
|
|
|
if (ObjectUtil.isEmpty(list.getTeacherOpenCourseId())){
|
|
|
|
|
List<TeacherOpenCourse> select = teacherOpenCourseDao.getSQLManager()
|
|
|
|
|
.lambdaQuery(TeacherOpenCourse.class)
|
|
|
|
|
.andEq(TeacherOpenCourse::getTeacherOpenCourseId, list.getCourseInfoId())
|
|
|
|
|
.select();
|
|
|
|
|
if (!CollectionUtil.isEmpty(select)){
|
|
|
|
|
list.setCourseInfoIdText(select.get(0).getTeacherOpenCourseTitle());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return JsonResult.success(page);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|