|
|
@@ -673,8 +673,8 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
if(ClassGroupTypeEnum.PRACTICE == e.getType()){
|
|
|
e.setStudentNames(practiceStuNames.get(e.getPracticeId()));
|
|
|
e.setPracticeRenewUrl(practiceRenewUrlConfig.getParanValue() + e.getPracticeId());
|
|
|
- if(reportMap.containsKey(e.getClassGroupId())){
|
|
|
- //e.setHasReport(true);
|
|
|
+ if(reportMap.containsKey(e.getClassGroupId()) && (new Date()).compareTo(DateUtil.stringToDate("2020-03-01 12:18:00"))>=0){
|
|
|
+ e.setHasReport(true);
|
|
|
String baseUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
|
e.setStudyReportUrl(baseUrl + "/#/reportDetail?classGroupId=" + e.getClassGroupId());
|
|
|
}
|