Commit c277d478 by zhangkb

修改接口

parent 031a40a7
...@@ -20,17 +20,6 @@ public interface RepoServiceClient { ...@@ -20,17 +20,6 @@ public interface RepoServiceClient {
@RequestParam(required = false) int pageSize, @RequestParam(required = false) int pageSize,
@RequestParam String tagType); @RequestParam String tagType);
@PostMapping(value = "/rest/tag/getPageByTag")
public Map<String,Object> getPageByTag(
@RequestParam(value="systemTagMap") Map<Long, Set<String>> systemTagMap,
@RequestParam(value="modelPath",required = false) String modelPath,
@RequestParam(value="idPath") String idPath,
@RequestParam(value="tagType") String tagType,
@RequestParam(value="dimensionType") String dimensionType,
@RequestParam(value="keyword",required = false) String keyword,
@RequestParam(value="pageNum") int pageNum,
@RequestParam(value="pageSize") int pageSize);
@PostMapping(value = "/rest/metadata/getByNamePathAndClass") @PostMapping(value = "/rest/metadata/getByNamePathAndClass")
public Map<String,Object> getMetaByNamePathAndClass(@RequestParam String claz, public Map<String,Object> getMetaByNamePathAndClass(@RequestParam String claz,
@RequestParam String namePath); @RequestParam String namePath);
......
...@@ -706,8 +706,7 @@ public class TagService { ...@@ -706,8 +706,7 @@ public class TagService {
//获取用户关联的数据权限 //获取用户关联的数据权限
Map<Long, Set<String>> systemTagMap = GrantedAuthHelper.getDataPrivileges(); Map<Long, Set<String>> systemTagMap = GrantedAuthHelper.getDataPrivileges();
//调用repo接口获取标签关联的元数据 //调用repo接口获取标签关联的元数据
Map<String,Object> tagData = repoService.getPageByTag(systemTagMap, modelPath, idPath, tagType, Map<String,Object> tagData = repoService.getTagMetadata(dimensionType, idPath, keyword, modelPath, pageNum, pageSize, tagType);
dimensionType, keyword, pageNum, pageSize);
tagData.put("systemTagMap", systemTagMap); tagData.put("systemTagMap", systemTagMap);
// List<Map<String,Object>> content = (List<Map<String,Object>>)tagData.get("content"); // List<Map<String,Object>> content = (List<Map<String,Object>>)tagData.get("content");
// //判断不是个人标签 // //判断不是个人标签
......
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