|
@@ -1574,9 +1574,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if(Objects.isNull(vipGroup)){
|
|
|
throw new BizException("指定的课程不存在");
|
|
|
}
|
|
|
- if(!VipGroupStatusEnum.PROGRESS.equals(vipGroup.getStatus())){
|
|
|
- throw new BizException("无法进行该操作");
|
|
|
- }
|
|
|
+ if(!VipGroupStatusEnum.PROGRESS.equals(vipGroup.getStatus())){
|
|
|
+ throw new BizException("无法进行该操作");
|
|
|
+ }
|
|
|
List<StudentApplyRefunds> studentApplyRefunds = studentApplyRefundsDao.findByGroupAndUser(vipGroupId.toString(), GroupType.VIP.getCode(), studentId);
|
|
|
if(!CollectionUtils.isEmpty(studentApplyRefunds)){
|
|
|
throw new BizException("此学生存在退课申请,请到系统日志中查看");
|
|
@@ -2456,7 +2456,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
}
|
|
|
if(Objects.isNull(vipGroupId)){
|
|
|
throw new BizException("请指定vip课程");
|
|
|
-// }
|
|
|
+ }
|
|
|
VipGroup vipGroup=vipGroupDao.get(vipGroupId);
|
|
|
if(Objects.isNull(vipGroup)){
|
|
|
throw new BizException("未找到指定的vip课程");
|