Commit a0d84e90 authored by tangwei's avatar tangwei

修改sql

parent 381a66ca
......@@ -28,7 +28,7 @@
<if test="dto.thirdStationId!=null">
and hygf_jp_station.third_station_id =#{dto.thirdStationId}
</if>
and hygf_jp_inverter.`state`!=null and hygf_jp_inverter.`state` in ("在线","告警","离线")
and hygf_jp_inverter.`state` is not null and hygf_jp_inverter.`state` in ("在线","告警","离线")
</where>
GROUP BY hygf_jp_inverter.`state`
</select>
......
......@@ -145,7 +145,7 @@
#{item.stationId}
</foreach>
</if>
and hygf_jp_station.`state`!=null and hygf_jp_station.`state` in ("在线","报警","离线")
and hygf_jp_station.`state`is not null and hygf_jp_station.`state` in ("在线","报警","离线")
</where>
</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