@@ -143,6 +143,9 @@
<if test="enable != null and enable == false">
AND (NOW() >= end_time_ OR NOW() <= start_time_)
</if>
+ <if test="search != null and search != ''">
+ AND (vga.id_=#{search} OR vga.name_ LIKE CONCAT('%', #{search}, '%'))
+ </if>
</where>
</sql>