瀏覽代碼

云照护修改

LAPTOP-KB9HII50\70708 2 年之前
父節點
當前提交
7abe768815

+ 1 - 1
svr/svr-cloud-care/src/main/java/com/yihu/jw/care/service/patient/CarePatientService.java

@ -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 {