增加运营商停用过滤条件
This commit is contained in:
@ -47,13 +47,15 @@
|
|||||||
)
|
)
|
||||||
)) AS distance
|
)) AS distance
|
||||||
FROM
|
FROM
|
||||||
zc_company_store t
|
zc_company_store t ,zc_company zc
|
||||||
<where>
|
<where>
|
||||||
t.is_del = 0
|
t.is_del = 0
|
||||||
and t.status = 0
|
and t.status = 0
|
||||||
and t.is_show = 1
|
and t.is_show = 1
|
||||||
and t.latitude between #{storeDistanceReq.minLat} and #{storeDistanceReq.maxLat}
|
and t.latitude between #{storeDistanceReq.minLat} and #{storeDistanceReq.maxLat}
|
||||||
and t.longitude between #{storeDistanceReq.minLng} and #{storeDistanceReq.maxLng}
|
and t.longitude between #{storeDistanceReq.minLng} and #{storeDistanceReq.maxLng}
|
||||||
|
and t.operating_company_id = zc.id
|
||||||
|
and zc.status = 0
|
||||||
</where>
|
</where>
|
||||||
order by distance asc
|
order by distance asc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user