|  | @@ -2095,6 +2095,9 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          Date now=new Date();
 |  |          Date now=new Date();
 | 
											
												
													
														|  |          PracticeGroupDto userPracticeGroup = practiceGroupDao.findUserPracticeGroup2(userId, groupId);
 |  |          PracticeGroupDto userPracticeGroup = practiceGroupDao.findUserPracticeGroup2(userId, groupId);
 | 
											
												
													
														|  | 
 |  | +        if(Objects.isNull(userPracticeGroup)){
 | 
											
												
													
														|  | 
 |  | +            throw new BizException("需要续费的课程组不存在");
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |          if(userPracticeGroup.getCoursesExpireDate().before(now)){
 |  |          if(userPracticeGroup.getCoursesExpireDate().before(now)){
 | 
											
												
													
														|  |              throw new BizException("此课程组已超过可续费期限");
 |  |              throw new BizException("此课程组已超过可续费期限");
 | 
											
												
													
														|  |          }
 |  |          }
 |