增加元数据deprecated标记字段.

This commit is contained in:
lkqm
2021-05-12 13:30:06 +08:00
committed by Mario Luo
parent 64cbe185d2
commit 7dba49f897
3 changed files with 11 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ public class VelocityTemplateEngine extends AbstractTemplateEngine {
Template template = null;
try {
String templateContent = getEngineConfig().getTemplateContent();
if (StringUtils.isBlank(templateContent)) {
if (templateContent != null) {
// get template path
String path = getEngineConfig().getCustomTemplate();
//如果自定义了模板

View File

@@ -98,4 +98,9 @@ public class ColumnModel implements Serializable {
* 嵌套数据信息(用于文档数据库)
*/
private TableModel nestedTable;
/**
* 是否弃用
*/
private Boolean deprecated;
}

View File

@@ -44,4 +44,9 @@ public class TableModel implements Serializable {
* 表列
*/
private List<ColumnModel> columns;
/**
* 是否弃用
*/
private Boolean deprecated;
}