@Component public class I18nTableService extends Object
| 构造器和说明 |
|---|
I18nTableService() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buildI18nByTable(String datasourceName,
boolean json)
根据所有表结构信息生成i18n中文国际化配置内容。
|
String |
buildI18nByTable(String datasourceName,
List<String> table,
boolean json)
根据指定的一组表结构信息生成i18n中文国际化配置内容。
|
@Comment(value="\u6839\u636e\u6240\u6709\u5b9e\u4f53\u751f\u6210i18n\u4e2d\u6587\u56fd\u9645\u5316") public String buildI18nByTable(String datasourceName, boolean json) throws SQLException
datasourceName - 数据源名称,默认使用"default"json - 是否以JSON格式输出结果SQLException - 当访问数据库过程中出现SQL异常时抛出@Comment(value="\u6839\u636e\u6240\u6709\u5b9e\u4f53\u751f\u6210i18n\u4e2d\u6587\u56fd\u9645\u5316") public String buildI18nByTable(String datasourceName, List<String> table, boolean json) throws SQLException
datasourceName - 数据源名称,默认使用"default"table - 指定要处理的表名列表json - 是否以JSON格式输出结果SQLException - 当访问数据库过程中出现SQL异常时抛出Copyright © 2026. All rights reserved.