|  | @ -424,15 +424,17 @@ public class SpecialistController extends EnvelopRestEndpoint {
 | 
												
													
														
															|  |             if(StringUtils.isBlank(specialistPatientRelationDO.getPatientName())){
 |  |             if(StringUtils.isBlank(specialistPatientRelationDO.getPatientName())){
 | 
												
													
														
															|  |                 return failed("病人姓名不能为空!",ObjEnvelop.class);
 |  |                 return failed("病人姓名不能为空!",ObjEnvelop.class);
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |             if(StringUtils.isBlank(specialistPatientRelationDO.getDoctor())){
 |  | 
 | 
												
													
														
															|  |                 return failed("医生编码不能为空!",ObjEnvelop.class);
 |  | 
 | 
												
													
														
															|  |             }
 |  | 
 | 
												
													
														
															|  |             if(StringUtils.isBlank(specialistPatientRelationDO.getDoctorName())){
 |  | 
 | 
												
													
														
															|  |                 return failed("医生姓名不能为空!",ObjEnvelop.class);
 |  | 
 | 
												
													
														
															|  |             }
 |  | 
 | 
												
													
														
															|  | 
 |  | //            if(StringUtils.isBlank(specialistPatientRelationDO.getDoctor())){
 | 
												
													
														
															|  | 
 |  | //                return failed("医生编码不能为空!",ObjEnvelop.class);
 | 
												
													
														
															|  | 
 |  | //            }
 | 
												
													
														
															|  | 
 |  | //            if(StringUtils.isBlank(specialistPatientRelationDO.getDoctorName())){
 | 
												
													
														
															|  | 
 |  | //                return failed("医生姓名不能为空!",ObjEnvelop.class);
 | 
												
													
														
															|  | 
 |  | //            }
 | 
												
													
														
															|  |             if(null==specialistPatientRelationDO.getTeamCode()){
 |  |             if(null==specialistPatientRelationDO.getTeamCode()){
 | 
												
													
														
															|  |                 return failed("医生团队不能为空!",ObjEnvelop.class);
 |  |                 return failed("医生团队不能为空!",ObjEnvelop.class);
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  | 
 |  |             specialistPatientRelationDO.setDoctor(getUID());
 | 
												
													
														
															|  | 
 |  |             specialistPatientRelationDO.setDoctorName(getUNAME());
 | 
												
													
														
															|  |             return specialistService.createPatientInSpeciaRelation(specialistPatientRelationDO);
 |  |             return specialistService.createPatientInSpeciaRelation(specialistPatientRelationDO);
 | 
												
													
														
															|  |         }catch (Exception e){
 |  |         }catch (Exception e){
 | 
												
													
														
															|  |             e.printStackTrace();
 |  |             e.printStackTrace();
 |