From 3e986ae573c88fa28396549db528a832dd3e3e7c Mon Sep 17 00:00:00 2001 From: eric <465889110@qq.com> Date: Sat, 27 Sep 2025 16:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=90=E8=90=A5=E5=95=86?= =?UTF-8?q?=E5=81=9C=E7=94=A8=E8=BF=87=E6=BB=A4=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/CompanyStoreMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mapper/CompanyStoreMapper.xml b/src/main/resources/mapper/CompanyStoreMapper.xml index 27c084d..784ea53 100644 --- a/src/main/resources/mapper/CompanyStoreMapper.xml +++ b/src/main/resources/mapper/CompanyStoreMapper.xml @@ -47,13 +47,15 @@ ) )) AS distance FROM - zc_company_store t + zc_company_store t ,zc_company zc t.is_del = 0 and t.status = 0 and t.is_show = 1 and t.latitude between #{storeDistanceReq.minLat} and #{storeDistanceReq.maxLat} and t.longitude between #{storeDistanceReq.minLng} and #{storeDistanceReq.maxLng} + and t.operating_company_id = zc.id + and zc.status = 0 order by distance asc