From aefcec640848fb6f1bc847f4d5c9074ee7c5c95b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 08 Dec 2021 11:22:25 +0800
Subject: [PATCH] fix

---
 gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml b/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml
index 7813f66..c11fef2 100644
--- a/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml
+++ b/gc-order/src/main/resources/mapper/order/JhyInfoMapper.xml
@@ -10,5 +10,6 @@
     <select id="selectJhyInfoListInAddressRange" resultType="com.xzx.gc.entity.JhyInfo">
         select * from xzx_jhy_info a
         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