Commit 5f90a786 authored by chenzhao's avatar chenzhao

修改bug

parent 1895d51c
......@@ -151,7 +151,7 @@
and a.call_time between #{startTime} and #{endTime}
</if>
<if test="alertTypeCode!= null and alertTypeCode!= '' ">
and a.alert_type_code = #{alertTypeCode}
and a.alarm_type_code = #{alertTypeCode}
</if>
<if test="alertSourceCode!= null ">
and a.alert_source_code = #{alertSourceCode}
......@@ -176,7 +176,10 @@
</select>
<select id="selectAllCount" resultType="int">
SELECT
SELECT
count(b.num)
FROM
(SELECT
count(a.sequence_nbr) as num
FROM
jc_alert_called a
......@@ -191,7 +194,7 @@
and a.call_time between #{startTime} and #{endTime}
</if>
<if test="alertTypeCode!= null and alertTypeCode!= '' ">
and a.alarm_type_code = #{alertTypeCode}
and a.alert_type_code = #{alertTypeCode}
</if>
<if test="alertSourceCode!= null ">
and a.alert_source_code = #{alertSourceCode}
......@@ -203,7 +206,7 @@
and j.alert_called_id = a.sequence_nbr
GROUP BY a.sequence_nbr
</if>
</where>
</where>) b
</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