| | |
| | | select |
| | | jh.id,jh.house_code,jh.name,jh.phone_number,jh.associated_user_id, |
| | | jh.role_type,jh.associated_user_name,jh.relationship,jh.is_primary_contact, |
| | | jh.residential_status,jh.gender,jh.birthday,jh.id_card,jh.card_type,jh.hkmt_pass,jh.passport, |
| | | jh.residential_status,jh.gender,jh.birthday,jh.id_card, |
| | | jh.card_type,jh.card_no,jh.hkmt_pass,jh.passport, |
| | | jh.ethnicity,jh.education,jh.resident_type, |
| | | jh.hukou_registration,jh.resident_adcode,jh.native_place_adcode, |
| | | jh.religious_belief,jh.health_status,jh.disease_name, |
| | |
| | | and CONCAT(jh.name,jh.phone_number) like CONCAT ('%', #{household.searchKey},'%') |
| | | </if> |
| | | and jh.is_deleted = 0 |
| | | and jh.name != '' and jh.name is not null |
| | | order by jh.create_time desc,jh.id desc |
| | | <if test="household.limit!=null"> |
| | | limit #{household.limit} |