|  | @@ -987,7 +987,11 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  			normalStudentNum = classGroupStudentMapperDao.countGroupNormalStudentNum(GroupType.VIP, vipGroup.getId().toString());
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		if(Objects.nonNull(vipGroupActivity)){
 | 
	
		
			
				|  |  | +		if(!vipGroupCategory.getMusicTheory()&&Objects.isNull(vipGroupActivity)){
 | 
	
		
			
				|  |  | +			throw new BizException("活动设置错误");
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +		if(!vipGroupCategory.getMusicTheory()){
 | 
	
		
			
				|  |  |  			VipGroupSalarySettlementDto vipGroupSalarySettlementDto = JSON.parseObject(vipGroupActivity.getSalarySettlementJson(), VipGroupSalarySettlementDto.class);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  			if(Objects.isNull(vipGroupSalarySettlementDto)){
 | 
	
	
		
			
				|  | @@ -1124,11 +1128,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  			results.put("onlineTeacherSalary", ots);
 | 
	
		
			
				|  |  |  			results.put("offlineTeacherSalary", ofts);
 | 
	
		
			
				|  |  | -		}else{
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		if(Objects.isNull(vipGroupActivity)||vipGroupCategory.getMusicTheory()){
 | 
	
		
			
				|  |  | +		if(vipGroupCategory.getMusicTheory()){
 | 
	
		
			
				|  |  |  			BigDecimal ots = teacherDefaultVipGroupSalary.getOfflineClassesSalary();
 | 
	
		
			
				|  |  |  			BigDecimal ofts = teacherDefaultVipGroupSalary.getOfflineClassesSalary();
 | 
	
		
			
				|  |  |  			if(Objects.nonNull(vipGroup.getStatus())&&vipGroupCategory.getMusicTheory()){
 | 
	
	
		
			
				|  | @@ -1143,6 +1145,10 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  		if(vipGroup instanceof VipGroupApplyBaseInfoDto&&!CollectionUtils.isEmpty(((VipGroupApplyBaseInfoDto)vipGroup).getVipGroupStudentCoursePrices())){
 | 
	
		
			
				|  |  |  			vipGroup.setTotalPrice(new BigDecimal(0));
 | 
	
		
			
				|  |  |  			for (VipGroupStudentCoursePrice vscp : ((VipGroupApplyBaseInfoDto)vipGroup).getVipGroupStudentCoursePrices()) {
 | 
	
		
			
				|  |  | +				if(!vipGroupCategory.getMusicTheory()){
 | 
	
		
			
				|  |  | +					results.put(vscp.getStudentId().toString(), vipGroup.getTotalPrice());
 | 
	
		
			
				|  |  | +					continue;
 | 
	
		
			
				|  |  | +				}
 | 
	
		
			
				|  |  |  				if(Objects.isNull(vscp.getOnlineClassesUnitPrice())||Objects.isNull(vscp.getOfflineClassesUnitPrice())){
 | 
	
		
			
				|  |  |  					throw new BizException("请设置课程单价");
 | 
	
		
			
				|  |  |  				}
 |