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