|
@@ -54,13 +54,11 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
|
throw new BizException("未获取到排课信息");
|
|
|
}
|
|
|
|
|
|
- boolean hasGiveClass=false;
|
|
|
int giveClassTimes=0;
|
|
|
if(vipGroupApplyBaseInfoDto.getStatus().equals(VipGroupStatusEnum.APPLYING)
|
|
|
&&Objects.nonNull(vipGroupActivity)
|
|
|
&&vipGroupActivity.getType().equals(VipGroupActivityTypeEnum.GIVE_CLASS)
|
|
|
&&vipGroupCourseSchedules.size()>=Integer.parseInt(vipGroupActivity.getAttribute1())){
|
|
|
- hasGiveClass=true;
|
|
|
giveClassTimes=Integer.parseInt(vipGroupActivity.getAttribute2());
|
|
|
}
|
|
|
|