|
@@ -110,6 +110,8 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
private GroupDao groupDao;
|
|
|
@Autowired
|
|
|
private CourseScheduleEvaluateDao courseScheduleEvaluateDao;
|
|
|
+ @Autowired
|
|
|
+ private SysConfigService sysConfigService;
|
|
|
|
|
|
@Override
|
|
|
public BaseDAO<Integer, ClassGroup> getDAO() {
|
|
@@ -643,6 +645,8 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
Set<Integer> schoolIds = courseListDtos.stream().map(CourseListDto::getTeacherSchoolId).collect(Collectors.toSet());
|
|
|
Map<Integer, String> schoolNames = MapUtil.convertMybatisMap(schoolDao.queryNameByIds(StringUtils.join(schoolIds, ",")));
|
|
|
|
|
|
+ SysConfig practiceRenewUrlConfig = sysConfigService.findByParamName(SysConfigService.PRACTICE_RENEW_URL);
|
|
|
+
|
|
|
Long classTimes = null;
|
|
|
for (CourseListDto e:courseListDtos) {
|
|
|
if(StringUtils.isNotEmpty(e.getMusicId())){
|
|
@@ -658,6 +662,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
e.setIsApply(isApplyMap.get(e.getMusicId()));
|
|
|
if(ClassGroupTypeEnum.PRACTICE == e.getType()){
|
|
|
e.setStudentNames(practiceStuNames.get(e.getPracticeId()));
|
|
|
+ e.setPracticeRenewUrl(practiceRenewUrlConfig.getParanValue());
|
|
|
}
|
|
|
if (ClassGroupTypeEnum.VIP == e.getType()) {
|
|
|
e.setStudentNames(vipStuNames.get(e.getVipId()));
|