|
@@ -674,9 +674,15 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
e.setStudentNames(practiceStuNames.get(e.getPracticeId()));
|
|
e.setStudentNames(practiceStuNames.get(e.getPracticeId()));
|
|
e.setPracticeRenewUrl(practiceRenewUrlConfig.getParanValue() + e.getPracticeId());
|
|
e.setPracticeRenewUrl(practiceRenewUrlConfig.getParanValue() + e.getPracticeId());
|
|
if(reportMap.containsKey(e.getClassGroupId())){
|
|
if(reportMap.containsKey(e.getClassGroupId())){
|
|
|
|
+ List<CourseScheduleEvaluate> classGroupCourseScheduleEvaluates = reportMap.get(e.getClassGroupId());
|
|
|
|
+ CourseScheduleEvaluate courseScheduleEvaluate = classGroupCourseScheduleEvaluates.get(classGroupCourseScheduleEvaluates.size() - 1);
|
|
e.setHasReport(true);
|
|
e.setHasReport(true);
|
|
String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
- e.setStudyReportUrl(baseUrl + "/#/reportDetail?classGroupId=" + e.getClassGroupId());
|
|
|
|
|
|
+ if(courseScheduleEvaluate.getVersion().equals(1)){
|
|
|
|
+ e.setStudyReportUrl(baseUrl + "/#/reportDetail?classGroupId=" + e.getClassGroupId());
|
|
|
|
+ }else if(courseScheduleEvaluate.getVersion().equals(2)){
|
|
|
|
+ e.setStudyReportUrl(baseUrl + "/#/reportDetailNew?classGroupId=" + e.getClassGroupId());
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (ClassGroupTypeEnum.VIP == e.getType()) {
|
|
if (ClassGroupTypeEnum.VIP == e.getType()) {
|