|  | @ -930,6 +930,7 @@ public class SpecialistService{
 | 
	
		
			
				|  |  |         if ("0".equals(signStatus)) {
 | 
	
		
			
				|  |  |             specialistPatientRelationDO = selectByDoctorAndPatient(doctorCode, patientCode);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         jsonObject.put("specialistPatientRelationId", null == specialistPatientRelationDO ? null : specialistPatientRelationDO.getId());
 | 
	
		
			
				|  |  |         //1、获取居民基础信息
 | 
	
		
			
				|  |  |         String preSql = "SELECT p.name as name, p.photo as photo,p.idcard as idcard,p.mobile as mobile,p.medicare_number as medicareNumber,p.ssc as ssc," +
 | 
	
		
			
				|  |  |                 " CASE  WHEN wd.name is null THEN '无' ELSE wd.name END as doctorName,CASE  WHEN wd.hospital_name is NULL THEN '无' ELSE wd.hospital_name END as hospitalName,CASE  WHEN wd.mobile is NULL THEN '无' ELSE wd.mobile END as doctorMobole ";
 | 
	
	
		
			
				|  | @ -956,6 +957,12 @@ public class SpecialistService{
 | 
	
		
			
				|  |  |         if("0".equals(signStatus)){
 | 
	
		
			
				|  |  |             doctorSql="SELECT wd.hospital_name as hospitalName,wd.dept_name as deptName,wd.name as name FROM " + basedb + ".wlyy_doctor wd WHERE wd.code='" + specialistPatientRelationDO.getDoctor() + "'";
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         Map<String,Object> result =jdbcTemplate.queryForMap(doctorSql);
 | 
	
		
			
				|  |  |         if(doctorCode.equals(specialistPatientRelationDO.getDoctor())){
 | 
	
		
			
				|  |  |             result.put("buttonShowFlag",true);
 | 
	
		
			
				|  |  |         }else{
 | 
	
		
			
				|  |  |             result.put("buttonShowFlag",false);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         jsonObject.put("doctorInfo", jdbcTemplate.queryForMap(doctorSql));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         //3、获取该医生所属团队及团队成员信息
 |