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