huliguo
2025-07-03 e3a2245265516fef78b4737d6fffc939e7c5e0af
pt-errand/src/main/resources/mapper/AddressBookMapper.xml
@@ -10,25 +10,28 @@
            recipient_name,
            recipient_phone,
            address_detail,
            is_default
            is_default,
            region_extend
        from
            t_address_book
        where
            del_flag = 0
        and community_id =#{communityId}
        and app_user_id =#{userId}
        ORDER BY tab.is_default DESC , tab.create_time DESC
        ORDER BY is_default DESC , create_time DESC
    </select>
    <select id="addressBookList" resultType="com.ruoyi.errand.object.vo.app.AddressBookListVO">
        select
            tab.id,
            tab.community_id,
            tc.communityName,
            tc.name communityName,
            tab.recipient_name,
            tab.recipient_phone,
            tab.address_detail,
            tab.is_default
            tab.is_default,
            tc.region_id,
            tab.region_extend
        from
            t_address_book  tab
        inner join