| 
					
				 | 
			
			
				@@ -25,6 +25,8 @@ import com.ym.mec.thirdparty.message.MessageSenderPluginContext; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ym.mec.util.collection.MapUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.ym.mec.util.date.DateUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.lang3.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.slf4j.Logger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.slf4j.LoggerFactory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.transaction.annotation.Propagation; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,6 +111,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private TeacherService teacherService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	private static final Logger LOGGER = LoggerFactory 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			.getLogger(VipGroup.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	@Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public BaseDAO<Long, VipGroup> getDAO() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		return vipGroupDao; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -860,8 +865,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			classGroup.setStudentNum(studentPaymentNum); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			classGroup.setDelFlag(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			vipGroup.setStatus(VipGroupStatusEnum.APPLYING_END); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			vipGroupDao.update(vipGroup); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			createVipGroupCourseScheInfo(vipGroupId,classGroup); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			vipGroupDao.update(vipGroup); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		if(num!=0||updateVipStatus){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			classGroupDao.update(classGroup); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1060,7 +1065,12 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		updateVipGroupStudentNumAndStatus(vipGroupId, classGroup,0,true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			updateVipGroupStudentNumAndStatus(vipGroupId, classGroup,0,true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			LOGGER.error("小课[{}]开课失败",vipGroupId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		SysUserCashAccount sysUserCashAccount = sysUserCashAccountService.get(userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		VipGroup vipGroup = vipGroupDao.get(vipGroupId); 
			 |