|
@@ -271,6 +271,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
throw new Exception("用户信息获取失败");
|
|
|
}
|
|
|
MusicGroup musicGroup = saveLog(musicGroupId,MusicGroupStatusEnum.PREPARE);
|
|
|
+// MusicGroup musicGroup = musicGroupDao.get(musicGroupId);
|
|
|
//乐器采购清单是否确认
|
|
|
Map<String,Object> param = new HashMap<>();
|
|
|
param.put("musicGroupId",musicGroupId);
|
|
@@ -291,12 +292,11 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
sysMessageService.batchSendMessage(MessageSender.YIMEI,MessageTypeEnum.TEACHER_PUSH_MUSIC_GROUP_COURSE_ADD_PLAN,
|
|
|
map,null,0,"1",musicGroup.getName());
|
|
|
}
|
|
|
- Map<Integer,String> studentMap = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertMybatisMap(studentRegistrationDao.findMapByMusicGroupId(musicGroupId,2))),HashMap.class);
|
|
|
-
|
|
|
+ Map<Integer,String> studentMap = JSONObject.parseObject(JSONObject.toJSONString(MapUtil.convertMybatisMap(studentRegistrationDao.findIdMapByMusicGroupId(musicGroupId,2))),HashMap.class);
|
|
|
if(studentMap != null && studentMap.size() > 0){
|
|
|
String url = "http://mstudev.dayaedu.com/#/smallRegister?musicGroupId=" + musicGroupId;
|
|
|
String serverPhone = sysConfigDao.findConfigValue(SysConfigService.SERVER_PHONE);
|
|
|
- sysMessageService.batchSendMessage(MessageSender.YIMEI,MessageTypeEnum.SMS_BASICS_SKILL_APPLY_MESSAGE,
|
|
|
+ sysMessageService.batchSendMessage(MessageSender.JIGUANG,MessageTypeEnum.SMS_BASICS_SKILL_APPLY_MESSAGE,
|
|
|
studentMap,null,0,"5?" + url,musicGroup.getName(),HttpUtil.getSortUrl(url),serverPhone);
|
|
|
}
|
|
|
|
|
@@ -733,7 +733,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
throw new BizException("系统数据异常,找不到学员预缴费信息");
|
|
|
}
|
|
|
Date date = new Date();
|
|
|
- Map<Integer, String> receivers = new HashMap<Integer, String>(1);
|
|
|
+ Map<Integer, String> receivers = new HashMap<>(1);
|
|
|
StudentRegistration studentRegistration = studentRegistrationDao.queryByUserIdAndMusicGroupId(userId, musicGroupId);
|
|
|
receivers.put(userId, studentRegistration.getParentsPhone());
|
|
|
if(studentPaymentOrder.getStatus() == DealStatusEnum.SUCCESS){
|