|  | @@ -66,9 +66,11 @@ public class DegreeRegistrationServiceImpl extends BaseServiceImpl<Integer, Degr
 | 
	
		
			
				|  |  |              degreeRegistration.setCreateTime(nowDate);
 | 
	
		
			
				|  |  |              degreeRegistration.setUpdateTime(nowDate);
 | 
	
		
			
				|  |  |              degreeRegistrationDao.insert(degreeRegistration);
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -        if (degree != null && !degree.getStatus().equals(2)) {
 | 
	
		
			
				|  |  | +        }else if (degree.getStatus().equals(2)){
 | 
	
		
			
				|  |  | +           throw  new BizException("您本次已报名,请勿重复报名");
 | 
	
		
			
				|  |  | +        }else {
 | 
	
		
			
				|  |  |              degreeRegistration.setId(degree.getId());
 | 
	
		
			
				|  |  | +            degreeRegistration.setStatus(1);
 | 
	
		
			
				|  |  |              degreeRegistrationDao.update(degreeRegistration);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          degreeRegistrationDao.getLock(degreeRegistration.getId());
 |