|
@@ -62,17 +62,17 @@ public class CourseScheduleEvaluateServiceImpl extends BaseServiceImpl<Long, Cou
|
|
|
if (num <= 0) {
|
|
|
throw new BizException("报告添加失败,请重试");
|
|
|
}
|
|
|
-// long practiceGroupId = Long.parseLong(classGroup.getMusicGroupId());
|
|
|
-// PracticeGroup practiceGroup = practiceGroupDao.get(practiceGroupId);
|
|
|
-//
|
|
|
-// Map<Integer, String> push = new HashMap<>(1);
|
|
|
-// push.put(practiceGroup.getStudentId(), practiceGroup.getStudentId().toString());
|
|
|
-// String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
|
-// String memo = baseUrl + "/#/reportDetail?classGroupId=" + classGroup.getId();
|
|
|
-// BasicUserDto teacherInfo = teacherDao.findTeacherInfo(courseScheduleEvaluate.getTeacherId());
|
|
|
-//
|
|
|
-// sysMessageService.batchSendMessage(MessageSender.JIGUANG, MessageTypeEnum.PUSH_STUDY_REPORT, push, null, 0, memo, "STUDENT",
|
|
|
-// teacherInfo.getName(),HttpUtil.getSortUrl(memo));
|
|
|
+ long practiceGroupId = Long.parseLong(classGroup.getMusicGroupId());
|
|
|
+ PracticeGroup practiceGroup = practiceGroupDao.get(practiceGroupId);
|
|
|
+
|
|
|
+ Map<Integer, String> push = new HashMap<>(1);
|
|
|
+ push.put(practiceGroup.getStudentId(), practiceGroup.getStudentId().toString());
|
|
|
+ String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
|
+ String memo = baseUrl + "/#/reportDetail?classGroupId=" + classGroup.getId();
|
|
|
+ BasicUserDto teacherInfo = teacherDao.findTeacherInfo(courseScheduleEvaluate.getTeacherId());
|
|
|
+
|
|
|
+ sysMessageService.batchSendMessage(MessageSender.JIGUANG, MessageTypeEnum.PUSH_STUDY_REPORT, push, null, 0, memo, "STUDENT",
|
|
|
+ teacherInfo.getName(),HttpUtil.getSortUrl(memo));
|
|
|
return true;
|
|
|
}
|
|
|
|