Commit 29ac9ad7 authored by chenzhao's avatar chenzhao

修改bug

parent 5cbc447f
...@@ -147,10 +147,10 @@ ...@@ -147,10 +147,10 @@
<if test="alertStatus!= null "> <if test="alertStatus!= null ">
and a.alert_status = #{alertStatus} and a.alert_status = #{alertStatus}
</if> </if>
<if test="startTime!= null and endTime != null"> <if test="startTime!= null and endTime != null and startTime!= '' and endTime != ''">
and a.call_time between #{startTime} and #{endTime} and a.call_time between #{startTime} and #{endTime}
</if> </if>
<if test="alertTypeCode!= null "> <if test="alertTypeCode!= null and alertTypeCode!= '' ">
and a.alarm_type_code = #{alertTypeCode} and a.alarm_type_code = #{alertTypeCode}
</if> </if>
<if test="alertSourceCode!= null "> <if test="alertSourceCode!= null ">
...@@ -190,10 +190,10 @@ ...@@ -190,10 +190,10 @@
<if test="alertStatus!= null "> <if test="alertStatus!= null ">
and a.alert_status = #{alertStatus} and a.alert_status = #{alertStatus}
</if> </if>
<if test="startTime!= null and endTime != null"> <if test="startTime!= null and endTime != null and startTime!= '' and endTime != ''">
and a.call_time between #{startTime} and #{endTime} and a.call_time between #{startTime} and #{endTime}
</if> </if>
<if test="alertTypeCode!= null "> <if test="alertTypeCode!= null and alertTypeCode!= '' ">
and a.alarm_type_code = #{alertTypeCode} and a.alarm_type_code = #{alertTypeCode}
</if> </if>
<if test="alertSourceCode!= null "> <if test="alertSourceCode!= null ">
......
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