|
@@ -83,6 +83,9 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
private OrganizationDao organizationDao;
|
|
|
|
|
|
@Autowired
|
|
|
+ private SysConfigDao sysConfigDao;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
private CourseScheduleTeacherSalaryDao courseScheduleTeacherSalaryDao;
|
|
|
|
|
|
@Autowired
|
|
@@ -711,7 +714,10 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
musicGroupDao.update(musicGroup);
|
|
|
//给家长发送乐团基础训练课短信
|
|
|
//获取所有乐团学员列表
|
|
|
- List<StudentRegistration> students = studentRegistrationService.queryStudentByMusicGroupId(musicGroupId);
|
|
|
-// sysMessageService.sendMessage(MessageSender.YIMEI,);
|
|
|
+// List<StudentRegistration> students = studentRegistrationService.queryStudentByMusicGroupId(musicGroupId);
|
|
|
+ //获取所有家长电话
|
|
|
+// Set<String> parentsPhones = students.stream().map(StudentRegistration::getParentsPhone).collect(Collectors.toSet());
|
|
|
+// String content = sysConfigDao.findConfigValue(MessageTypeEnum.SMS_BASICS_SKILL_APPLY_MESSAGE.getCode());
|
|
|
+// sysMessageService.batchSendMessage(MessageSender.YIMEI,"",content,);
|
|
|
}
|
|
|
}
|