|
@@ -3159,13 +3159,13 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
}
|
|
|
VipGroup vipGroup = vipGroupDao.get(vipGroupId);
|
|
|
if(Objects.isNull(vipGroup)){
|
|
|
- throw new BizException("指定的课程不存在");
|
|
|
+ throw new BizException("课程 {} 不存在",vipGroupId);
|
|
|
}
|
|
|
if(vipGroup.getStatus().equals(VipGroupStatusEnum.CANCEL)){
|
|
|
- throw new BizException("不能对已停止的课程进行此操作");
|
|
|
+ throw new BizException("课程 {} {} 已停止",vipGroupId,vipGroup.getName());
|
|
|
}
|
|
|
if(vipGroup.getName().startsWith("考前辅导课")){
|
|
|
- throw new BizException("当前课程类型不支持退学");
|
|
|
+ throw new BizException("课程 {} {} 不支持退学",vipGroupId,vipGroup.getName());
|
|
|
}
|
|
|
|
|
|
List<StudentApplyRefunds> studentApplyRefunds = studentApplyRefundsDao.findByGroupAndUser(vipGroupId.toString(), GroupType.VIP.getCode(), studentId);
|