update 同步 ruoyi 适配改动

This commit is contained in:
疯狂的狮子li
2021-08-17 10:45:01 +08:00
parent d3abd6c96e
commit 52d0d62c35
7 changed files with 16 additions and 17 deletions

View File

@ -267,7 +267,7 @@ public class GenTableServiceImpl extends ServicePlusImpl<GenTableMapper, GenTabl
try {
String path = getGenPath(table, template);
FileUtils.writeUtf8String(sw.toString(), path);
} catch (IOException e) {
} catch (Exception e) {
throw new ServiceException("渲染模板失败,表名:" + table.getTableName());
}
}