|
@@ -28,7 +28,7 @@
|
|
|
<select id="countByParamsBack" parameterType="map" resultType="int">
|
|
|
select count(c.wifiId) from
|
|
|
(
|
|
|
- select t_wifi.id as wifiId, t_wifi.place_id as placeId from t_wifi w, t_location l
|
|
|
+ select w.id as wifiId, w.place_id as placeId from t_wifi w, t_location l
|
|
|
where
|
|
|
w.location = l.location and w.status != -1
|
|
|
<if test="operatorId != null">
|