Commit 304a47ae authored by tangwei's avatar tangwei

修改sql

parent c8f05382
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
and hygf_jp_station.third_station_id =#{dto.thirdStationId} and hygf_jp_station.third_station_id =#{dto.thirdStationId}
</if> </if>
and hygf_jp_collector.`state`!=null and hygf_jp_collector.`state` in ("在线","告警","离线") and hygf_jp_collector.`state` is not null and hygf_jp_collector.`state` in ("在线","告警","离线")
</where> </where>
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
#{item.stationId} #{item.stationId}
</foreach> </foreach>
</if> </if>
and hygf_jp_station.`state`is not null and hygf_jp_station.`state` in ("在线","报警","离线") and hygf_jp_station.`state` is not null and hygf_jp_station.`state` in ("在线","报警","离线")
</where> </where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment