Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
794d6f17
Commit
794d6f17
authored
Jun 24, 2020
by
RuoYi
Browse files
修复代码生成导入表结构出现异常页面不提醒问题
parent
7a9564ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi/src/main/java/com/ruoyi/project/tool/gen/service/GenTableServiceImpl.java
View file @
794d6f17
...
...
@@ -144,9 +144,9 @@ public class GenTableServiceImpl implements IGenTableService
public
void
importGenTable
(
List
<
GenTable
>
tableList
)
{
String
operName
=
SecurityUtils
.
getUsername
();
for
(
GenTable
table
:
tableList
)
try
{
try
for
(
GenTable
table
:
tableList
)
{
String
tableName
=
table
.
getTableName
();
GenUtils
.
initTable
(
table
,
operName
);
...
...
@@ -162,10 +162,10 @@ public class GenTableServiceImpl implements IGenTableService
}
}
}
catch
(
Exception
e
)
{
log
.
error
(
"表名 "
+
table
.
getTableName
()
+
" 导入失败:"
,
e
);
}
}
catch
(
Exception
e
)
{
throw
new
CustomException
(
"导入失败:"
+
e
.
getMessage
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment