支持模糊查询

This commit is contained in:
RuoYi
2018-05-16 21:44:27 +08:00
parent cc27d85b1a
commit a624ac009e
11 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from information_schema.tables
where table_comment <![CDATA[ <> ]]> '' and table_schema = (select database())
<if test="searchValue != null and searchValue != ''">
AND table_name = #{searchValue}
AND table_name like concat(concat('%', #{searchValue}), '%');
</if>
</select>