|
@ -606,18 +606,6 @@ public class FamilyMemberService extends BaseService {
|
|
|
JSONArray resultArray = new JSONArray();
|
|
|
resultArray.put(getPatient(patient));
|
|
|
|
|
|
// String sql = "select * " +
|
|
|
// " from " +
|
|
|
// " wlyy_patient_family_member t1, " +
|
|
|
// " wlyy_patient t2 " +
|
|
|
// " where " +
|
|
|
// " t1.patient = ? " +
|
|
|
// " and t1.is_authorize = 1 " +
|
|
|
// " and t1.family_member = t2.code order by t1.family_relation ";
|
|
|
//
|
|
|
// List<Map<String, Object>> result = jdbcTemplate.queryForList(sql, new Object[]{patient});
|
|
|
|
|
|
|
|
|
List<PatientFamilyMember> list = memberDao.findByFamilyMemberAndIsAuthorize(patient,1);
|
|
|
|
|
|
if (list != null && list.size() > 0) {
|