修复代码生成列表过滤了表描述为空的bug
This commit is contained in:
parent
84068a2e2e
commit
70bd5c87c3
|
|
@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<select id="selectTableList" parameterType="TableInfo" resultMap="TableInfoResult">
|
<select id="selectTableList" parameterType="TableInfo" resultMap="TableInfoResult">
|
||||||
<include refid="selectGenVo"/>
|
<include refid="selectGenVo"/>
|
||||||
where table_comment <![CDATA[ <> ]]> '' and table_schema = (select database())
|
where table_schema = (select database())
|
||||||
<if test="tableName != null and tableName != ''">
|
<if test="tableName != null and tableName != ''">
|
||||||
AND table_name like concat('%', #{tableName}, '%')
|
AND table_name like concat('%', #{tableName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue