@@ -388,7 +388,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select vi.id, vi.user_name, vi.phone_num, vi.id_card, vi.gender, vi.province, vi.city, vi.region, vi.now_in
, vi.house_type, vi.update_by, vi.code, vi.rlr, vi.yhzgx
from vaccine_info vi
- where vi.is_del = 'N' and code = #{code}
+ <!--把户主放第一位-->
+ where vi.is_del = 'N' and code = #{code} order by house_type desc;
</select>
<select id="listByRlry" resultMap="VaccineInfoResult">