Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
51ab3335
Commit
51ab3335
authored
Jun 23, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_20210617_xxy_tag' into dev_20210330
parents
6ca7e53d
0eec58af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
yd-api/src/main/java/com/yd/api/metadata/service/impl/MetadataServiceImpl.java
+2
-0
No files found.
yd-api/src/main/java/com/yd/api/metadata/service/impl/MetadataServiceImpl.java
View file @
51ab3335
...
@@ -74,6 +74,7 @@ public class MetadataServiceImpl implements MetadataService {
...
@@ -74,6 +74,7 @@ public class MetadataServiceImpl implements MetadataService {
mdTagNewAddList
.
addAll
(
mdTagNewListSelect
);
mdTagNewAddList
.
addAll
(
mdTagNewListSelect
);
List
<
TagQueryInfo
>
tagQueryInfoList
=
new
ArrayList
<>(
16
);
List
<
TagQueryInfo
>
tagQueryInfoList
=
new
ArrayList
<>(
16
);
classificationBuildUpMdTag
(
mdTagNewList
,
mdTagNewAddList
,
mdTagNewListSelect
,
tagQueryInfoList
);
classificationBuildUpMdTag
(
mdTagNewList
,
mdTagNewAddList
,
mdTagNewListSelect
,
tagQueryInfoList
);
tagQueryInfoList
.
sort
((
o1
,
o2
)
->
o2
.
getId
().
compareTo
(
o1
.
getId
()));
tagQueryInfo
.
setTagQueryInfos
(
tagQueryInfoList
);
tagQueryInfo
.
setTagQueryInfos
(
tagQueryInfoList
);
tagQueryInfos
.
add
(
tagQueryInfo
);
tagQueryInfos
.
add
(
tagQueryInfo
);
}
}
...
@@ -96,6 +97,7 @@ public class MetadataServiceImpl implements MetadataService {
...
@@ -96,6 +97,7 @@ public class MetadataServiceImpl implements MetadataService {
tagInfo
.
setUpdatedAt
(
CommonUtil
.
dateParseString
(
m
.
getUpdatedAt
(),
"yyyy-MM-dd HH:mm:ss"
));
tagInfo
.
setUpdatedAt
(
CommonUtil
.
dateParseString
(
m
.
getUpdatedAt
(),
"yyyy-MM-dd HH:mm:ss"
));
tagQueryInfoList
.
add
(
tagInfo
);
tagQueryInfoList
.
add
(
tagInfo
);
});
});
tagQueryInfoList
.
sort
((
o1
,
o2
)
->
o2
.
getId
().
compareTo
(
o1
.
getId
()));
tagQueryInfo
.
setTagQueryInfos
(
tagQueryInfoList
);
tagQueryInfo
.
setTagQueryInfos
(
tagQueryInfoList
);
tagQueryInfos
.
add
(
tagQueryInfo
);
tagQueryInfos
.
add
(
tagQueryInfo
);
}
}
...
...
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