master
parent
ec8506d66e
commit
54e2ff99bd
|
@ -168,12 +168,16 @@ public class GenTableServiceImpl implements IGenTableService
|
|||
{
|
||||
String dbName = table.getDbName();
|
||||
String tableName = table.getTableName();
|
||||
System.out.println(1);
|
||||
GenUtils.initTable(table, operName);
|
||||
System.out.println(2);
|
||||
int row = genTableMapper.insertGenTable(table);
|
||||
System.out.println(3);
|
||||
if (row > 0)
|
||||
{
|
||||
// 保存列信息
|
||||
List<GenTableColumn> genTableColumns = genTableColumnMapper.selectDbTableColumnsByName(tableName, dbName);
|
||||
System.out.println(4);
|
||||
for (GenTableColumn column : genTableColumns)
|
||||
{
|
||||
GenUtils.initColumnField(column, table);
|
||||
|
|
Loading…
Reference in New Issue