|  | @@ -86,7 +86,7 @@ public class TempDirectorTrainingCampDetailServiceImpl extends ServiceImpl<TempD
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      @Transactional(rollbackFor = Exception.class)
 | 
	
		
			
				|  |  | -    public Integer applyCamp(TempDirectorTrainingCampDetailWrapper.ApplyCamp applyCamp) {
 | 
	
		
			
				|  |  | +    public TempDirectorTrainingCampDetailWrapper.ApplyCampResult applyCamp(TempDirectorTrainingCampDetailWrapper.ApplyCamp applyCamp) {
 | 
	
		
			
				|  |  |          Date now = new Date();
 | 
	
		
			
				|  |  |          TempDirectorTrainingCamp trainingCamp = tempDirectorTrainingCampService.getById(applyCamp.getTempDirectorTrainingCampId());
 | 
	
		
			
				|  |  |          this.checkTraining(now,trainingCamp);
 | 
	
	
		
			
				|  | @@ -161,12 +161,16 @@ public class TempDirectorTrainingCampDetailServiceImpl extends ServiceImpl<TempD
 | 
	
		
			
				|  |  |                  teacherDao.insert(teacher);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              sysUser.setUserType(sysUser.getUserType() + ",TEACHER");
 | 
	
		
			
				|  |  | +            teacherDao.updateUser(sysUser);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          entity.setUserId(sysUser.getId());
 | 
	
		
			
				|  |  |          this.saveOrUpdate(entity);
 | 
	
		
			
				|  |  | +        TempDirectorTrainingCampDetailWrapper.ApplyCampResult applyCampResult = new TempDirectorTrainingCampDetailWrapper.ApplyCampResult();
 | 
	
		
			
				|  |  | +        applyCampResult.setCampDetailId(entity.getId());
 | 
	
		
			
				|  |  | +        applyCampResult.setPaymentStatus(entity.getPaymentStatus());
 | 
	
		
			
				|  |  |          // 删除缓存锁
 | 
	
		
			
				|  |  |          redissonClient.getBucket(submitLockKey).delete();
 | 
	
		
			
				|  |  | -        return entity.getId();
 | 
	
		
			
				|  |  | +        return applyCampResult;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 |