|
|
@ -343,7 +343,11 @@ |
|
|
|
</if> |
|
|
|
<if test="direction != null and direction != ''">and direction = #{direction}</if> |
|
|
|
<if test="userId != null ">and user_id = #{userId}</if> |
|
|
|
<if test="startTime != null ">and start_time BETWEEN #{startTime} and #{endTime}</if> |
|
|
|
<if test="eventState == 1 ">and start_time BETWEEN #{startTime} and #{endTime}</if> |
|
|
|
|
|
|
|
<if test="eventState == 0 ">and occurrence_time BETWEEN #{startTime} and #{endTime}</if> |
|
|
|
|
|
|
|
<if test="eventState == 2 ">and end_time BETWEEN #{startTime} and #{endTime}</if> |
|
|
|
<if test="estimatedEndTime != null ">and estimated_end_time = #{estimatedEndTime}</if> |
|
|
|
<if test="eventLevel != null ">and event_level = #{eventLevel}</if> |
|
|
|
<if test="eventType != null ">and event_type = #{eventType}</if> |
|
|
|