|
|
@@ -22,11 +22,15 @@ public class DimEntityController extends BaseController {
|
|
|
@Resource
|
|
|
private DimEntityService dimEntityService;
|
|
|
|
|
|
+ // 查询树结构
|
|
|
@GetMapping("/entity/code/table/tree")
|
|
|
public RequestResult queryEntityCodeTableTree(String id) {
|
|
|
+ // 实体图元关联表:建立关联关系
|
|
|
+ // 根据表名称查询数量
|
|
|
return RequestResult.success(dimEntityService.queryEntityCodeTableTree(id));
|
|
|
}
|
|
|
|
|
|
+ // 查询类别列表
|
|
|
@GetMapping("/entity/code/table/list")
|
|
|
public TableDataInfo queryEntityCodeTableList(String id, String entityid, String entityname) {
|
|
|
List<String> tablesList = dimEntityService.queryEntityCodeTableListFront(id);
|
|
|
@@ -37,11 +41,13 @@ public class DimEntityController extends BaseController {
|
|
|
return getDataTable(dimEntityService.queryEntityCodeTableList(id, entityid, entityname, tablesList));
|
|
|
}
|
|
|
|
|
|
+ // 查询单个实体图元信息
|
|
|
@GetMapping("/entity/data")
|
|
|
public RequestResult queryEntityData(String entityid) {
|
|
|
return RequestResult.success(dimEntityService.queryEntityData(entityid));
|
|
|
}
|
|
|
|
|
|
+ // 查询实体图元关系
|
|
|
@GetMapping("/entity/relationship")
|
|
|
public RequestResult queryEntityRelationship(String entityid) {
|
|
|
return RequestResult.success(dimEntityService.queryEntityRelationshipToNeo4j(entityid));
|