♻️ Refactoring code. 优化代码生成

This commit is contained in:
冷冷 committed 2020-02-12 13:26:26 +08:00
1 parent 934f2ec361
commit 49966b1096
6 files changed
+20 -15

No files matched your search

@@ -3,7 +3,7 @@
<mapper namespace="com.pig4cloud.pigx.codegen.mapper.GeneratorMapper">
<select id="queryList" resultType="map">
select table_name tableName, engine, table_comment tableComment, create_time createTime from information_schema.tables
select table_name tableName, engine, table_comment tableComment, table_collation tableCollation, create_time createTime from information_schema.tables
where table_schema = (select database())
<if test="tableName != null and tableName.trim() != ''">
and table_name like concat('%', #{tableName}, '%')