|
|
@@ -40,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="alarmCreateTime != null and alarmCreateTime != ''"> and alarm_create_time = #{alarmCreateTime}</if>
|
|
|
<if test="confirmed != null and confirmed"> and process_flag = 2</if>
|
|
|
<if test="confirmed != null and !confirmed"> and process_flag != 2</if>
|
|
|
- <if test="alarmDate != null and alarmDate != ''"> and alarm_create_time >= concat(#{alarmDate}, ' 00:00:00') and alarm_create_time <= concat(#{alarmDate}, ' 23:59:59')</if>
|
|
|
+ <if test="alarmDate != null and alarmDate != ''"> and alarm_create_time >= concat(#{alarmDate}, ' 00:00:00')::timestamp and alarm_create_time <= concat(#{alarmDate}, ' 23:59:59')::timestamp</if>
|
|
|
<if test="processFlag != null "> and process_flag = #{processFlag}</if>
|
|
|
<if test="processPerson != null and processPerson != ''"> and process_person = #{processPerson}</if>
|
|
|
<if test="processResult != null and processResult != ''"> and process_result = #{processResult}</if>
|