| | |
| | | |
| | | <select id="selectJhyInfoListInAddressRange" resultType="com.xzx.gc.entity.JhyInfo"> |
| | | select * from xzx_jhy_info a |
| | | where 9500 > lat_lng_distance(a.lat, a.lon, (select latitude from xzx_user_address_info where address_id=#{addressId}), (select longitude from xzx_user_address_info where address_id=#{addressId}))*1000 |
| | | where 7500 > lat_lng_distance(a.lat, a.lon, (select latitude from xzx_user_address_info where address_id=#{addressId}), (select longitude from xzx_user_address_info where address_id=#{addressId}))*1000 |
| | | </select> |
| | | </mapper> |