Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neo4jRelation
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qiuchaofei
neo4jRelation
Commits
ea5f678b
Commit
ea5f678b
authored
Nov 16, 2021
by
qiuchaofei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口:定元模型。返回该模型的元数据之间。的关系.
parent
ac3e00a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
MetaDataController.java
...adata/metadataRelation/controller/MetaDataController.java
+7
-6
No files found.
src/main/java/com/keymobile/metadata/metadataRelation/controller/MetaDataController.java
View file @
ea5f678b
...
...
@@ -143,11 +143,12 @@ public class MetaDataController {
@ApiOperation
(
tags
=
""
,
value
=
"传入元模型名称,返回该元模型的元数据所有关系"
)
// @RequestMapping(path = "/getNodeAndRelationByModel", method = RequestMethod.GET)
@RequestMapping
(
path
=
"/result"
,
method
=
RequestMethod
.
GET
)
public
ReturnReslult
getNodeAndRelationByModel
()
{
ReturnReslult
returnReslult
=
new
ReturnReslult
();
String
modelName
=
"Table"
;
returnReslult
=
metadataService
.
findResultByModelName
(
modelName
);
@RequestMapping
(
path
=
"/getNodeAndRelationByModel"
,
method
=
RequestMethod
.
GET
)
public
ReturnReslult
getNodeAndRelationByModel
(
String
modelName
)
{
if
(
modelName
==
null
||
modelName
.
equals
(
""
)){
modelName
=
"Table"
;
}
ReturnReslult
returnReslult
=
metadataService
.
findResultByModelName
(
modelName
);
return
returnReslult
;
...
...
@@ -169,7 +170,7 @@ public class MetaDataController {
@ApiOperation
(
tags
=
""
,
value
=
"系统级的大图"
)
// @RequestMapping(path = "/getBigGraph", method = RequestMethod.GET)
@RequestMapping
(
path
=
"/result
0
"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
path
=
"/result"
,
method
=
RequestMethod
.
GET
)
public
ReturnReslult
getBigGraph
(){
logger
.
info
(
"开始获取系统级的大图"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment