|
@@ -1399,9 +1399,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
UserVo userVo = iUserService.queryById(classGradeStudentVo.getUserId());
|
|
UserVo userVo = iUserService.queryById(classGradeStudentVo.getUserId());
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("businessName", classGradeStudentVo.getBusinessName() + classGradeStudentVo.getProjectName());
|
|
param.put("businessName", classGradeStudentVo.getBusinessName() + classGradeStudentVo.getProjectName());
|
|
|
- /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockBookingReminder))) {
|
|
|
|
|
|
|
+ if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockBookingReminder))) {
|
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
mockApplyVos.forEach(mockApplyVo -> {
|
|
mockApplyVos.forEach(mockApplyVo -> {
|
|
@@ -1471,9 +1471,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("subjectName", courseSubject.getSubjectName());
|
|
param.put("subjectName", courseSubject.getSubjectName());
|
|
|
param.put("applyName", mockApply.getApplyName());
|
|
param.put("applyName", mockApply.getApplyName());
|
|
|
- /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockRemind))) {
|
|
|
|
|
|
|
+ if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockRemind))) {
|
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
|
|
UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
|
|
|
bo1.setSubscribeId(subscribeVo.getSubscribeId());
|
|
bo1.setSubscribeId(subscribeVo.getSubscribeId());
|
|
@@ -1500,7 +1500,7 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
informUserAddBo.setRemindId(27L);
|
|
informUserAddBo.setRemindId(27L);
|
|
|
informUserAddBo.setSystemStatus(1);
|
|
informUserAddBo.setSystemStatus(1);
|
|
|
informUserAddBo.setRemind("直播开课提醒");
|
|
informUserAddBo.setRemind("直播开课提醒");
|
|
|
- informUserAddBo.setText("祥粤云学堂提醒:您学习【" + userMockSubscribeVo.getSubjectName() + "】科目中的【" + userMockSubscribeVo.getPrefixName() + "直播】已将于60分钟后开始直播,请及时在【祥粤云小程序】或【web.xyyxt.net】进行观看。");
|
|
|
|
|
|
|
+ informUserAddBo.setText("祥粤云学堂提醒:您学习【" + userMockSubscribeVo.getSubjectName() + "】科目中的【" + userMockSubscribeVo.getName() + "直播】已将于60分钟后开始直播,请及时在【祥粤云小程序】或【web.xyyxt.net】进行观看。");
|
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
}
|
|
}
|
|
|
if (informRemindVo.getNoteStatus().equals(1)) {
|
|
if (informRemindVo.getNoteStatus().equals(1)) {
|
|
@@ -1513,14 +1513,15 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
informUserAddBo.setRemindId(27L);
|
|
informUserAddBo.setRemindId(27L);
|
|
|
informUserAddBo.setSystemStatus(3);
|
|
informUserAddBo.setSystemStatus(3);
|
|
|
informUserAddBo.setRemind("直播开课提醒");
|
|
informUserAddBo.setRemind("直播开课提醒");
|
|
|
- informUserAddBo.setText("祥粤云学堂提醒:您学习【" + userMockSubscribeVo.getSubjectName() + "】科目中的【" + userMockSubscribeVo.getPrefixName() + "直播】已将于60分钟后开始直播,请及时在【祥粤云小程序】或【web.xyyxt.net】进行观看。");
|
|
|
|
|
|
|
+ informUserAddBo.setText("祥粤云学堂提醒:您学习【" + userMockSubscribeVo.getSubjectName() + "】科目中的【" + userMockSubscribeVo.getName() + "直播】已将于60分钟后开始直播,请及时在【祥粤云小程序】或【web.xyyxt.net】进行观看。");
|
|
|
UserVo userVo = iUserService.queryById(userMockSubscribeVo.getUserId());
|
|
UserVo userVo = iUserService.queryById(userMockSubscribeVo.getUserId());
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
param.put("subjectName", userMockSubscribeVo.getSubjectName());
|
|
param.put("subjectName", userMockSubscribeVo.getSubjectName());
|
|
|
- param.put("prefixName", userMockSubscribeVo.getPrefixName());
|
|
|
|
|
- /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), liveStartRemind))) {
|
|
|
|
|
|
|
+ //注意是节名称
|
|
|
|
|
+ param.put("prefixName", userMockSubscribeVo.getName());
|
|
|
|
|
+ if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), liveStartRemind))) {
|
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
iInformUserService.insertByAddBo(informUserAddBo);
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
|
|
UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
|
|
|
bo1.setSubscribeId(userMockSubscribeVo.getSubscribeId());
|
|
bo1.setSubscribeId(userMockSubscribeVo.getSubscribeId());
|