|  | @ -468,7 +468,7 @@ public class SpecialistController extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | //            specialistPatientRelationDO.setDoctorName(getUNAME());
 | 
	
		
			
				|  |  |             List<SpecialistPatientRelationDO> list = specialistPatientRelationDao.findListByTeamAndPatient(specialistPatientRelationDO.getTeamCode(),specialistPatientRelationDO.getPatient());
 | 
	
		
			
				|  |  |             if (list.size()>0){
 | 
	
		
			
				|  |  |                 return specialistService.createPatientInSpeciaRelation(list.get(0));
 | 
	
		
			
				|  |  |                 return ObjEnvelop.getSuccess("success", list.get(0));
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             return specialistService.createPatientInSpeciaRelation(specialistPatientRelationDO);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 |