|
@@ -1130,7 +1130,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
for (ClassGroupStudentMapper classGroupStudent : classGroupStudents) {
|
|
|
courseScheduleStudentPaymentService.createCourseScheduleStudentPaymentForVipGroup(vipGroupId,classGroupStudent.getUserId());
|
|
|
try {
|
|
|
- teacherCourseRewardService.addConvertReward(classGroupStudent.getUserId(), vipGroupApplyBaseInfoDto.getUserId());
|
|
|
+ if(vipGroupApplyBaseInfoDto.getOnlineClassesNum()>0){
|
|
|
+ teacherCourseRewardService.addConvertReward(classGroupStudent.getUserId(), vipGroupApplyBaseInfoDto.getUserId());
|
|
|
+ }
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|