|
@@ -7,7 +7,6 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
-import org.apache.commons.beanutils.BeanUtils;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -30,6 +29,7 @@ import com.yonge.cooleshow.biz.dal.dto.search.VideoGroupSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.VideoLessonGroupSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.dto.search.VideoLessonSearch;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.Subject;
|
|
|
+import com.yonge.cooleshow.biz.dal.entity.Teacher;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.VideoLessonAuthRecord;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.VideoLessonGroup;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.VideoLessonGroupDetail;
|
|
@@ -348,6 +348,12 @@ public class VideoLessonGroupServiceImpl extends ServiceImpl<VideoLessonGroupDao
|
|
|
VideoLessonGroupVo videoLessonGroupVo = detail(groupId);
|
|
|
if (videoLessonGroupVo == null) return lessonStudentVo;
|
|
|
|
|
|
+ Teacher teacher = teacherService.getById(videoLessonGroupVo.getTeacherId());
|
|
|
+ if (teacher != null) {
|
|
|
+ lessonStudentVo.setTeacherFlag(teacher.getTeacherFlag());
|
|
|
+ lessonStudentVo.setDegreeFlag(teacher.getDegreeFlag());
|
|
|
+ }
|
|
|
+
|
|
|
lessonStudentVo.setLessonGroup(videoLessonGroupVo);
|
|
|
VideoLessonSearch search = new VideoLessonSearch();
|
|
|
search.setVideoLessonGroupId(groupId);
|