|  | @@ -147,7 +147,15 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
 | 
											
												
													
														|  |  	}
 |  |  	}
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	@Override
 |  |  	@Override
 | 
											
												
													
														|  | -	public boolean createClassGroup(ClassGroup classGroup) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
 | 
											
												
													
														|  | 
 |  | +	public boolean create(ClassGroup classGroup) {
 | 
											
												
													
														|  | 
 |  | +		
 | 
											
												
													
														|  | 
 |  | +		if(classGroup.getType() == null){
 | 
											
												
													
														|  | 
 |  | +			throw new BizException("班级类型不能为空");
 | 
											
												
													
														|  | 
 |  | +		}
 | 
											
												
													
														|  | 
 |  | +		if(classGroup.getGroupType() == null){
 | 
											
												
													
														|  | 
 |  | +			throw new BizException("课程组类型不能为空");
 | 
											
												
													
														|  | 
 |  | +		}
 | 
											
												
													
														|  |          String userIds = classGroup.getUserIds();
 |  |          String userIds = classGroup.getUserIds();
 | 
											
												
													
														|  |          
 |  |          
 | 
											
												
													
														|  |          if(StringUtils.isBlank(userIds)){
 |  |          if(StringUtils.isBlank(userIds)){
 |