|
@@ -2162,6 +2162,18 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
throw new BizException("未找到指定课程");
|
|
throw new BizException("未找到指定课程");
|
|
}
|
|
}
|
|
StudentVipGroupDetailDto vipGroupDetail = vipGroupDao.getVipGroupDetail(groupId);
|
|
StudentVipGroupDetailDto vipGroupDetail = vipGroupDao.getVipGroupDetail(groupId);
|
|
|
|
+ if("LIVE".equals(vipGroup.getGroupType())){
|
|
|
|
+ ImLiveBroadcastRoomDto roomDto = JSON.parseObject(vipGroup.getLiveConfigJson(), ImLiveBroadcastRoomDto.class);
|
|
|
|
+ String subjectId = roomDto.getSubjectId();
|
|
|
|
+ Subject subject = subjectDao.get(Integer.parseInt(subjectId));
|
|
|
|
+ //乐理不提醒
|
|
|
|
+ if(!subject.getParentSubjectId().equals(30)){
|
|
|
|
+ Student student = studentDao.get(sysUserService.getUserId());
|
|
|
|
+ if(!student.getSubjectIdList().equals(subjectId)){
|
|
|
|
+ vipGroupDetail.setAlertSubjectFlag(true);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
if (StringUtils.isNotEmpty(vipGroup.getCourseSchedulesJson())) {
|
|
if (StringUtils.isNotEmpty(vipGroup.getCourseSchedulesJson())) {
|
|
vipGroupDetail.setCourseSchedules(JSON.parseArray(vipGroup.getCourseSchedulesJson(), CourseSchedule.class));
|
|
vipGroupDetail.setCourseSchedules(JSON.parseArray(vipGroup.getCourseSchedulesJson(), CourseSchedule.class));
|
|
// 排课时间排序
|
|
// 排课时间排序
|
|
@@ -4648,18 +4660,6 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
throw new BizException("未找到此课程");
|
|
throw new BizException("未找到此课程");
|
|
}
|
|
}
|
|
VipGroupPayInfoDto vipGroupPayInfo = new VipGroupPayInfoDto();
|
|
VipGroupPayInfoDto vipGroupPayInfo = new VipGroupPayInfoDto();
|
|
- if("LIVE".equals(vipGroup.getGroupType())){
|
|
|
|
- ImLiveBroadcastRoomDto roomDto = JSON.parseObject(vipGroup.getLiveConfigJson(), ImLiveBroadcastRoomDto.class);
|
|
|
|
- String subjectId = roomDto.getSubjectId();
|
|
|
|
- Subject subject = subjectDao.get(Integer.parseInt(subjectId));
|
|
|
|
- //乐理不提醒
|
|
|
|
- if(!subject.getParentSubjectId().equals(30)){
|
|
|
|
- Student student = studentDao.get(userId);
|
|
|
|
- if(!student.getSubjectIdList().equals(subjectId)){
|
|
|
|
- vipGroupPayInfo.setAlertSubjectFlag(true);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
vipGroupPayInfo.setTenantId(vipGroup.getTenantId());
|
|
vipGroupPayInfo.setTenantId(vipGroup.getTenantId());
|
|
vipGroupPayInfo.setVipGroupId(vipGroup.getId().intValue());
|
|
vipGroupPayInfo.setVipGroupId(vipGroup.getId().intValue());
|
|
vipGroupPayInfo.setViipGroupName(vipGroup.getName());
|
|
vipGroupPayInfo.setViipGroupName(vipGroup.getName());
|