mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-08 15:21:52 +08:00
修改实体和 Mapper,解决 PostgreSQL 查询报错的问题
This commit is contained in:
@@ -20,6 +20,9 @@ public class DefaultDatabaseQueryTest {
|
||||
|
||||
long time = System.currentTimeMillis();
|
||||
List<TableInfo> tableInfos = query.queryTables();
|
||||
for (TableInfo tableInfo : tableInfos) {
|
||||
System.out.println(String.format("CREATE SEQUENCE %s_seq MINVALUE 0;", tableInfo.getName()));
|
||||
}
|
||||
System.out.println(tableInfos.size());
|
||||
System.out.println(System.currentTimeMillis() - time);
|
||||
}
|
||||
|
Reference in New Issue
Block a user