增加status判断

This commit is contained in:
2025-08-04 23:03:47 +08:00
parent fc8c732d09
commit 114ae130d7

View File

@ -50,6 +50,7 @@
zc_company_store t zc_company_store t
<where> <where>
t.is_del = 0 t.is_del = 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}
@ -90,5 +91,6 @@
ON t.id = s.store_id ON t.id = s.store_id
WHERE WHERE
s.user_id = #{managerId} s.user_id = #{managerId}
and t.status = 0
</select> </select>
</mapper> </mapper>