|
@@ -2497,7 +2497,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
if(classGroup.getStudentNum()>0&&(VipGroupStatusEnum.APPLYING.equals(vipGroup.getStatus()))){
|
|
if(classGroup.getStudentNum()>0&&(VipGroupStatusEnum.APPLYING.equals(vipGroup.getStatus()))){
|
|
int i = studentPaymentOrderDao.countGroupOrderWithoutFailed(vipGroupId.toString(), GroupType.VIP);
|
|
int i = studentPaymentOrderDao.countGroupOrderWithoutFailed(vipGroupId.toString(), GroupType.VIP);
|
|
if(i>0){
|
|
if(i>0){
|
|
- throw new BizException("该课程组学员为购买加入,无法添加学员加入,请走学员走购买流程!");
|
|
|
|
|
|
+ throw new BizException("已有学员购买了该课程组,无法添加,请走学员购买流程!");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|