| 
					
				 | 
			
			
				@ -521,6 +521,18 @@ public class CarePatientService extends BaseJpaService<BasePatientDO, BasePatien 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject tmp = res.getJSONObject("patient"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        tmp.put("deviceType",deviceService.getPatientDeviceCategoryCode(patientId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        res.put("patient",tmp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //获取i健康信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String iSql = "select p.code,p.name,IF(s.id is null,'0','1') isSign from wlyy.wlyy_patient p " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "LEFT JOIN wlyy.wlyy_sign_family s on p.code = s.patient and s.status>0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "where p.idcard='"+patientDO.getIdcard()+"' and p.status=1 limit 1"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> ihealthList = jdbcTemplate.queryForList(sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(ihealthList.size()>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            res.put("ihealthPatient",ihealthList.get(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            res.put("ihealthPatient",null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return res; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 |