|
@ -116,6 +116,9 @@ |
|
|
<where> |
|
|
<where> |
|
|
<if test="planName != null and planName != ''"> and plan_name like concat('%', #{planName}, '%')</if> |
|
|
<if test="planName != null and planName != ''"> and plan_name like concat('%', #{planName}, '%')</if> |
|
|
<if test="eventType != 0 "> and event_type = #{eventType}</if> |
|
|
<if test="eventType != 0 "> and event_type = #{eventType}</if> |
|
|
|
|
|
<if test="triggerMechanism != null and triggerMechanism != ''"> |
|
|
|
|
|
and trigger_mechanism =#{triggerMechanism} |
|
|
|
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
order by t1.id desc |
|
|
order by t1.id desc |
|
|
</select> |
|
|
</select> |
|
|