|
@@ -1041,13 +1041,13 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public void pushMessage(String musicGroupId,Set<Integer> classGroupIds) throws IOException {
|
|
|
|
|
|
+ public void pushMessage(String musicGroupId,String classGroupIds) throws IOException {
|
|
MusicGroup musicGroup = musicGroupDao.get(musicGroupId);
|
|
MusicGroup musicGroup = musicGroupDao.get(musicGroupId);
|
|
if (musicGroup.getOwnershipType() != null && musicGroup.getOwnershipType() == CooperationOrgan.OwnershipType.OWN) {
|
|
if (musicGroup.getOwnershipType() != null && musicGroup.getOwnershipType() == CooperationOrgan.OwnershipType.OWN) {
|
|
//是否有基础训练班
|
|
//是否有基础训练班
|
|
Integer num = classGroupDao.countClassNumByType(musicGroupId);
|
|
Integer num = classGroupDao.countClassNumByType(musicGroupId);
|
|
if (num != null && num > 0) {
|
|
if (num != null && num > 0) {
|
|
- Map<Integer, String> studentMap = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertMybatisMap(studentRegistrationDao.findIdMapByMusicGroupId(musicGroupId, 2))), HashMap.class);
|
|
|
|
|
|
+ Map<Integer, String> studentMap = MapUtil.convertMybatisMap(studentRegistrationDao.findIdMapByMusicGroupId(musicGroupId, 2));
|
|
if (studentMap != null && studentMap.size() > 0) {
|
|
if (studentMap != null && studentMap.size() > 0) {
|
|
String baseURL = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
String baseURL = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
String url = baseURL + "/#/smallRegister?musicGroupId=" + musicGroupId;
|
|
String url = baseURL + "/#/smallRegister?musicGroupId=" + musicGroupId;
|