Commit 18d195f0 by qiuchaofei

测试同时找出表与字段的关系的接口

parent 25ec7510
...@@ -361,7 +361,8 @@ public class RelationalGraphController { ...@@ -361,7 +361,8 @@ public class RelationalGraphController {
@RequestMapping(path = "/getRelationAboutTables", method = RequestMethod.GET) @RequestMapping(path = "/getRelationAboutTables", method = RequestMethod.GET)
public ReturnReslult getRelationAboutTables(String tableId){ public ReturnReslult getRelationAboutTables(String tableId){
logger.info("获取表id。"+tableId); logger.info("获取表id。"+tableId);
return tableService.getRelationAboutTables(tableId); return tableService.getTableAndColumnRelation(tableId);
// return tableService.getRelationAboutTables(tableId);
} }
@ApiOperation(tags = "", value = "传入字段id,返回与该字段相关的上下游的字段") @ApiOperation(tags = "", value = "传入字段id,返回与该字段相关的上下游的字段")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment