From b141df9bf9764db8567efebed48006e12ab1f657 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 14 Aug 2022 15:52:45 +0800 Subject: [PATCH] fix:jhy 停止下单 --- gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml b/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml index 6416ea4..c11fef2 100644 --- a/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml +++ b/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml @@ -9,6 +9,7 @@ <select id="selectJhyInfoListInAddressRange" resultType="com.xzx.gc.entity.JhyInfo"> select * from xzx_jhy_info a - where 500 > 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 + and status = 2 </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1