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