|
@@ -78,9 +78,9 @@ public class KgController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/getRelationByLikeName")
|
|
|
- public AjaxResult getRelationByLikeName(String name) {
|
|
|
+ public AjaxResult getRelationByLikeName(String name, Integer type) {
|
|
|
// TODO length 的最大最小值,从数据字典获取
|
|
|
- GraphVO graphVO = Neo4j2VOUtils.relation2GraphVO(kgService.getRelationByLikeName(name));
|
|
|
+ GraphVO graphVO = Neo4j2VOUtils.relation2GraphVO(kgService.getRelationByLikeName(name, type));
|
|
|
return AjaxResult.success(graphVO);
|
|
|
}
|
|
|
|