|
@@ -3389,14 +3389,14 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
throw new BizException("请指定推送类型:JIGUANG、SMS、ALL");
|
|
|
}
|
|
|
|
|
|
- String baseApiUrl = sysConfigDao.findConfigValue("base_api_url");
|
|
|
-
|
|
|
List<CourseScheduleEvaluate> reports = courseScheduleEvaluateDao.findExpiredDateBeforeReport(expiredDate);
|
|
|
|
|
|
if(CollectionUtils.isEmpty(reports)){
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ String baseApiUrl = sysConfigDao.findConfigValue("base_api_url");
|
|
|
+
|
|
|
for (CourseScheduleEvaluate report : reports) {
|
|
|
PracticeGroup userFreePracticeGroup = practiceGroupDao.get(Long.valueOf(report.getMusicGroupId()));
|
|
|
if(Objects.isNull(userFreePracticeGroup)){
|
|
@@ -3406,7 +3406,7 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
|
|
|
|
|
|
CourseScheduleEvaluate courseScheduleEvaluate = courseScheduleEvaluateDao.findByClassGroupId(classGroup.getId());
|
|
|
if(Objects.isNull(courseScheduleEvaluate)){
|
|
|
- throw new BizException("未生成课程报告");
|
|
|
+ continue;
|
|
|
}
|
|
|
|
|
|
String pushUrl = baseApiUrl + "/#/reportDetail?classGroupId=" + classGroup.getId();
|