|
@@ -48,6 +48,8 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
@Autowired
|
|
|
private TeacherDao teacherDao;
|
|
|
@Autowired
|
|
|
+ private StudentDao studentDao;
|
|
|
+ @Autowired
|
|
|
private IdGeneratorService idGeneratorService;
|
|
|
@Autowired
|
|
|
private SchoolDao schoolDao;
|
|
@@ -1114,6 +1116,11 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
teacherIds.addAll(teacherDao.findVipEducationalTeacherId(studentId));
|
|
|
//获取对外课程务老师
|
|
|
teacherIds.addAll(teacherDao.findCommEducationalTeacherId(studentId));
|
|
|
+ //获取关联的指导老师
|
|
|
+ Student student = studentDao.get(studentId);
|
|
|
+ if(student != null && student.getTeacherId() != null){
|
|
|
+ teacherIds.add(student.getTeacherId());
|
|
|
+ }
|
|
|
if(teacherIds.size() > 0){
|
|
|
return teacherDao.queryTeacherBaseInfo(teacherIds,search);
|
|
|
}
|