|
@ -967,7 +967,7 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
|
|
|
}else {
|
|
|
String sql = "select t.id as \"id\",t.card_type as \"cardType\", " +
|
|
|
"t.patient as \"patient\",b.name as \"name\",b.sex as \"sex\","+
|
|
|
"b.birthday as\"birthday\",b.idcard as \"idcard\"," +
|
|
|
"b.birthday as\"birthday\",b.idcard as \"idcard\",b.mobile," +
|
|
|
"t.family_member as \"familyMember\",c.relation_name as \"relationName\" "+
|
|
|
" 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 where 1=1 and t.is_del=1 ";
|