fix
wzy
2021-11-24 485b0820dc36e2bb94bf618173c2588cc003362a
fix
1 files modified
2 ■■■ changed files
gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml 2 ●●● patch | view | raw | blame | history
gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml
@@ -9,6 +9,6 @@
    <select id="selectJhyInfoListInAddressRange" resultType="com.xzx.gc.entity.JhyInfo">
        select * from xzx_jhy_info a
        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
        where 6000 > 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>