代码生成器mssql、mysql、pgsql like匹配多张表问题的修改

This commit is contained in:
刘海涛 committed 2021-04-19 13:58:25 +08:00
1 parent d9a0f9e8fe
commit 9542bab406
3 files changed
+3 -3

No files matched your search

@@ -15,7 +15,7 @@
AND relname NOT LIKE'sql_%'
AND relchecks = 0
<if test="tableName != null and tableName.trim() != ''">
and pc.relname like concat('%', #{tableName}, '%')
and pc.relname = #{tableName}
</if>
ORDER BY relname
</select>