增加运营商停用过滤条件

This commit is contained in:
2025-09-27 16:06:22 +08:00
parent d88179c746
commit 3e986ae573

View File

@ -47,13 +47,15 @@
)
)) AS distance
FROM
zc_company_store t
zc_company_store t ,zc_company zc
<where>
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
</where>
order by distance asc