| 
					
				 | 
			
			
				@@ -119,6 +119,9 @@ public class OperatingReportCloudServiceImpl extends BaseServiceImpl<Integer, Op 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		cloudTeacherFreeCourseService.batchInsert(scheduleIdList,calenderId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		//计算课程预收 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		BigDecimal costPrice = organCourseTypeOriginalCostDao.getCourseCostPrice(StringUtils.join(scheduleIdList,",")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		if(Objects.isNull(costPrice)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			throw new BizException("操作失败,当前课程类型不支持云教练赠送"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		reportCloud.setCloudPrice(reportCloud.getCloudPrice().subtract(costPrice)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		reportCloud.setCoursePrice(reportCloud.getCoursePrice().add(costPrice)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		reportCloud.setUpdateTime(new Date()); 
			 |