| | |
| | | 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 |