|  | @@ -356,18 +356,18 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
 | 
	
		
			
				|  |  |              throw new BizException("此课程组不存在");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          if(coursesGroup.getStatus().equals(GroupStatusEnum.CANCEL)){
 | 
	
		
			
				|  |  | -            throw new BizException("此课程组已关闭");
 | 
	
		
			
				|  |  | +            throw new BizException("无法加入,此课程组已关闭");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          List<ClassGroupStudentMapper> groupStudents = classGroupStudentMapperDao.findGroupStudents(courseGroupId.toString(), GroupType.COMM, userId, null);
 | 
	
		
			
				|  |  |          if(!CollectionUtils.isEmpty(groupStudents)){
 | 
	
		
			
				|  |  | -            throw new BizException("您已购买过此课程组");
 | 
	
		
			
				|  |  | +            throw new BizException("无法重复加入,您已在此课程组");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Date now=new Date();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          ClassGroup classGroup = classGroupDao.findByMusicGroupAndType(courseGroupId.toString(), GroupType.COMM.getCode());
 | 
	
		
			
				|  |  |          if(classGroup.getStudentNum()>=classGroup.getExpectStudentNum()){
 | 
	
		
			
				|  |  | -            throw new BizException("此课程组人数已达上限");
 | 
	
		
			
				|  |  | +            throw new BizException("无法加入,此课程组人数已达上限");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          BigDecimal amount = coursesGroup.getTotalCoursesPrice();
 | 
	
	
		
			
				|  | @@ -440,7 +440,7 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
 | 
	
		
			
				|  |  |                          orderNo,
 | 
	
		
			
				|  |  |                          baseApiUrl+"/api-student/studentOrder/notify",
 | 
	
		
			
				|  |  |                          baseApiUrl+"/api-student/studentOrder/paymentResult?orderNo=" + orderNo,
 | 
	
		
			
				|  |  | -                        "网管课购买",
 | 
	
		
			
				|  |  | +                        "对外课程组购买",
 | 
	
		
			
				|  |  |                          coursesGroup.getName(),
 | 
	
		
			
				|  |  |                          userId,
 | 
	
		
			
				|  |  |                          classFee,
 | 
	
	
		
			
				|  | @@ -579,7 +579,7 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
 | 
	
		
			
				|  |  |          List<CourseScheduleStudentPayment> courseScheduleStudentPayments = new ArrayList<>();
 | 
	
		
			
				|  |  |          List<CourseSchedule> groupNotStartCourses = courseScheduleDao.findGroupNotStartCourses(order.getMusicGroupId(), GroupType.COMM);
 | 
	
		
			
				|  |  |          if(CollectionUtils.isEmpty(groupNotStartCourses)){
 | 
	
		
			
				|  |  | -            throw new BizException("没有剩余课时");
 | 
	
		
			
				|  |  | +            throw new BizException("无法加入,此课程组已关闭");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          BigDecimal singleCoursePrice = order.getExpectAmount().divide(new BigDecimal(groupNotStartCourses.size()), CommonConstants.DECIMAL_PLACE, BigDecimal.ROUND_DOWN);
 | 
	
		
			
				|  |  |          for (CourseSchedule courseSchedule : groupNotStartCourses) {
 | 
	
	
		
			
				|  | @@ -598,7 +598,7 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  |  //            contractService.transferPracticeCoursesContract(order.getUserId(),classGroup.getTotalClassTimes(),practiceGroup.getCoursesStartDate(),practiceGroup.getCoursesExpireDate(),order.getExpectAmount());
 | 
	
		
			
				|  |  |          } catch (Exception e) {
 | 
	
		
			
				|  |  | -            LOGGER.error("网管课[{}]购买协议错误:{}",order.getMusicGroupId(),e.getMessage(),e.getMessage());
 | 
	
		
			
				|  |  | +            LOGGER.error("对外课程组[{}]购买协议错误:{}",order.getMusicGroupId(),e.getMessage(),e.getMessage());
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          List<ImGroupMember> imGroupMemberList = new ArrayList<>();
 |