数据资产后台实现 试验6 数据结构完成
parent
d7c5e05a4d
commit
0bb55b3a45
|
@ -48,4 +48,8 @@ public class TableInfo extends TreeEntity {
|
||||||
@Excel(name = "是否核心 'Y'是 'N'不是")
|
@Excel(name = "是否核心 'Y'是 'N'不是")
|
||||||
private String center;
|
private String center;
|
||||||
|
|
||||||
|
|
||||||
|
private Long parentId;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public class TableInfoStructureResp {
|
||||||
*/
|
*/
|
||||||
@Excel(name = "表备注")
|
@Excel(name = "表备注")
|
||||||
private String tableRemark;
|
private String tableRemark;
|
||||||
|
private Long parentId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -129,7 +129,7 @@ public class BasicConfigInfoServiceImpl extends ServiceImpl<BasicConfigInfoMappe
|
||||||
TableInfo build = TableInfo.builder()
|
TableInfo build = TableInfo.builder()
|
||||||
.basicId(basicConfigInfo.getId())
|
.basicId(basicConfigInfo.getId())
|
||||||
.tableName(tableName1)
|
.tableName(tableName1)
|
||||||
.tableRemark(tableRemark.isEmpty() ? "" : tableRemark)
|
.tableRemark(tableRemark.isEmpty() ? "null" : tableRemark)
|
||||||
.parentId(tableInfo.getId())
|
.parentId(tableInfo.getId())
|
||||||
.center("Y")
|
.center("Y")
|
||||||
.updateBy(SecurityUtils.getUsername())
|
.updateBy(SecurityUtils.getUsername())
|
||||||
|
@ -318,6 +318,7 @@ public class BasicConfigInfoServiceImpl extends ServiceImpl<BasicConfigInfoMappe
|
||||||
.center(info.getCenter())
|
.center(info.getCenter())
|
||||||
.tableRemark(info.getTableRemark())
|
.tableRemark(info.getTableRemark())
|
||||||
.dataNum(info.getDataNum())
|
.dataNum(info.getDataNum())
|
||||||
|
.parentId(info.getParentId())
|
||||||
.databaseType(basicConfigInfo.getDatabaseType())
|
.databaseType(basicConfigInfo.getDatabaseType())
|
||||||
.structureList(structureList)
|
.structureList(structureList)
|
||||||
.basicId(info.getBasicId())
|
.basicId(info.getBasicId())
|
||||||
|
|
Loading…
Reference in New Issue