Commit 3e756111 by qiuchaofei

1.修改获取全部关系类型的方法4

parent 6d45e70e
......@@ -522,13 +522,8 @@ public class MetaDataController {
@ApiOperation(tags = "", value = "查询所有的关系类型")
@RequestMapping(path = "/listAllRelationType", method = RequestMethod.GET)
public List<String> getAllRelationType() {
List<String> relationTypes = new ArrayList<>();
relationTypes.add("流向");
relationTypes.add("组合");
return relationTypes;
// return baseRelationshipService.findAllRelationTypes();
return baseRelationshipService.findAllRelationTypes();
}
/**
......@@ -537,8 +532,14 @@ public class MetaDataController {
@ApiOperation(tags = "", value = "查询所有的节点元模型")
@RequestMapping(path = "/listAllNodeType", method = RequestMethod.GET)
public List<String> getAllNodeType() {
List<String> nodeTypes = new ArrayList<>();
nodeTypes.add("System");
nodeTypes.add("All");
return nodeTypes;
return metadataService.findAllNodeTypes();
// return metadataService.findAllNodeTypes();
}
private String getIp(){
HttpServletRequest request = getRequest();
......
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