|
@ -526,7 +526,7 @@ public class CarePatientService extends BaseJpaService<BasePatientDO, BasePatien
|
|
|
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);
|
|
|
List<Map<String,Object>> ihealthList = jdbcTemplate.queryForList(iSql);
|
|
|
if(ihealthList.size()>0){
|
|
|
res.put("ihealthPatient",ihealthList.get(0));
|
|
|
}else {
|