|
@ -355,6 +355,7 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
|
obj.put("familyRelationName", "自己");
|
|
|
obj.put("isAuthorize", 1);//0:未授权,1:已授权
|
|
|
obj.put("authorizeStatus", 3);//
|
|
|
obj.put("archiveType", p.getArchiveType());//
|
|
|
|
|
|
if (jtSign) {
|
|
|
obj.put("signType", 1);
|
|
@ -385,7 +386,7 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
|
" and t1.patient = ? " +
|
|
|
" and t1.family_member = t2.id ";
|
|
|
if (StringUtils.isNotBlank(archive_type)){
|
|
|
sql += " and t2.archive_type='"+archive_type+"' ";
|
|
|
sql += " and t2.archive_type in ('"+archive_type.replace(",","','")+"') ";
|
|
|
}
|
|
|
/* if(isContacts != null){
|
|
|
sql += " and t1.is_contacts = "+ isContacts;
|
|
@ -417,6 +418,7 @@ public class PatientFamilyMemberService extends BaseJpaService<BasePatientFamily
|
|
|
obj.put("address", StringUtils.isEmpty(String.valueOf(map.get("address"))) ? "" : map.get("address"));
|
|
|
obj.put("familyRelation", map.get("family_relation"));
|
|
|
obj.put("familyRelationName", relations.get(map.get("family_relation")));
|
|
|
obj.put("archiveType",StringUtils.isEmpty(String.valueOf(map.get("archive_type"))) ?"":map.get("archive_type"));
|
|
|
|
|
|
if (!StringUtils.isEmpty(doctorCode)) {
|
|
|
obj.put("relaholder", relations.get(map.get("family_relation")));
|