Prechádzať zdrojové kódy

1、vip课列表增加字段;
2、vip课导出增加字段;
3、vip课加学员限制;
4、vip课休学限制;

Joburgess 5 rokov pred
rodič
commit
48e392eec8

+ 4 - 4
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -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课程");