mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 13:39:01 +08:00
代码生成器mssql、mysql、pgsql like匹配多张表问题的修改
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user