Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tagManager
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
lanmw
tagManager
Commits
c277d478
Commit
c277d478
authored
Feb 29, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口
parent
031a40a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
RepoServiceClient.java
...va/com/keymobile/tagmanager/remote/RepoServiceClient.java
+0
-11
TagService.java
...ain/java/com/keymobile/tagmanager/service/TagService.java
+1
-2
No files found.
src/main/java/com/keymobile/tagmanager/remote/RepoServiceClient.java
View file @
c277d478
...
@@ -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
);
...
...
src/main/java/com/keymobile/tagmanager/service/TagService.java
View file @
c277d478
...
@@ -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");
// //判断不是个人标签
// //判断不是个人标签
...
...
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