|
@ -214,8 +214,8 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
|
|
|
mixEnvelop.setMessage("您所添加的家属的电话有误,无法添加");
|
|
|
return mixEnvelop;
|
|
|
}
|
|
|
basePatientDO.setMobile(Next_Of_Kin_Phone);
|
|
|
basePatientDO.setPhone(Next_Of_Kin_Phone);
|
|
|
basePatientDO.setMobile(phoneNum);
|
|
|
basePatientDO.setPhone(phoneNum);
|
|
|
}
|
|
|
if (!Pat_name.equalsIgnoreCase(familyName)) {
|
|
|
mixEnvelop.setStatus(408);
|
|
@ -586,7 +586,6 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
|
|
|
String sql="select t.id as \"id\",t.card_type as \"cardType\"," +
|
|
|
"t.family_member as \"familyMember\",t.patient as \"patient\"," +
|
|
|
"b.name as \"name\",b.idcard as \"idcard\",b.mobile as \"mobile\",t.clinicid as \"clinicid\"," +
|
|
|
",b.phone as \"phone\","+
|
|
|
"c.relation_name \"relationName\",b.birthday as\"birthday\",b.sex as\"sex\"" +
|
|
|
" from wlyy_patient_family_member t left join base_patient b" +
|
|
|
" on t.family_member = b.id left join base_patient_member_dict c on t.family_relation=c.id " +
|