修复代码生成列表过滤了表描述为空的bug

This commit is contained in:
fish 2018-09-13 17:18:53 +08:00
parent 84068a2e2e
commit 70bd5c87c3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectTableList" parameterType="TableInfo" resultMap="TableInfoResult">
<include refid="selectGenVo"/>
where table_comment <![CDATA[ <> ]]> '' and table_schema = (select database())
where table_schema = (select database())
<if test="tableName != null and tableName != ''">
AND table_name like concat('%', #{tableName}, '%')
</if>