|
@@ -98,7 +98,8 @@
|
|
|
|
|
|
<select id="getAllByStationIdAndModelId2" parameterType="java.util.Map"
|
|
|
resultMap="alertRule2ResultToPostgreSql">
|
|
|
- select a.*, (case a.enabled WHEN 't' then 1 when 'f' then 0 else 0 end) as specialenable from ALERTRULE2 a
|
|
|
+-- select a.*, (case a.enabled WHEN 't' then 1 when 'f' then 0 else 0 end) as specialenable from ALERTRULE2 a
|
|
|
+ select a.* from ALERTRULE2 a
|
|
|
<where>
|
|
|
1=1
|
|
|
<if test="station !=null and station !=''">
|