Commit b7b0c3b8 authored by chenzhao's avatar chenzhao

修改sql

parent fb9d3d1e
...@@ -303,7 +303,7 @@ ...@@ -303,7 +303,7 @@
and a.stationtype = #{stationType} and a.stationtype = #{stationType}
</if> </if>
<if test="warningName != '' and warningName != null"> <if test="warningName != '' and warningName != null">
and a.warning_name = #{warningName} and a.warningname = #{warningName}
</if> </if>
<if test="stationId != '' and stationId != null"> <if test="stationId != '' and stationId != null">
and a.gateway_id = #{stationId} and a.gateway_id = #{stationId}
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
and a.stationType = #{stationType} and a.stationType = #{stationType}
</if> </if>
<if test="warningName != '' and warningName != null"> <if test="warningName != '' and warningName != null">
and a.warning_name = #{warningName} and a.warningname = #{warningName}
</if> </if>
<if test="stationId != '' and stationId != null"> <if test="stationId != '' and stationId != null">
and a.gateway_id = #{stationId} and a.gateway_id = #{stationId}
......
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