Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
middleware-automatic
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
shenjunjie
middleware-automatic
Commits
32462774
Commit
32462774
authored
Apr 25, 2024
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/03/04 指定标题不进行聚合
parent
c7e57244
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceTemplate.java
+5
-1
No files found.
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceTemplate.java
View file @
32462774
...
@@ -244,7 +244,11 @@ public class TaskServiceTemplate extends BaseTaskTypePair<TaskServiceTemplate.Ta
...
@@ -244,7 +244,11 @@ public class TaskServiceTemplate extends BaseTaskTypePair<TaskServiceTemplate.Ta
String
tag
=
tagGroup
.
entrySet
().
stream
().
max
(
Map
.
Entry
.
comparingByValue
()).
map
(
Map
.
Entry
::
getKey
).
get
();
String
tag
=
tagGroup
.
entrySet
().
stream
().
max
(
Map
.
Entry
.
comparingByValue
()).
map
(
Map
.
Entry
::
getKey
).
get
();
// 生成模板
// 生成模板
String
title
=
Tools
.
filterSymbol
(
result
.
getClusterName
());
String
title
=
Tools
.
filterSymbol
(
result
.
getClusterName
());
if
(
title
.
length
()
<
6
||
FILTER_TITLE
.
contains
(
title
))
{
if
(
title
.
length
()
<
6
)
{
continue
;
}
// 指定标题 不进行聚合
if
(
FILTER_TITLE
.
contains
(
title
))
{
continue
;
continue
;
}
}
TemplateTitleVo
templateTitleVo
=
new
TemplateTitleVo
(
title
,
tag
,
sourceList
.
get
(
result
.
getDataPoints
().
get
(
0
)).
getUrl
(),
Tools
.
numberMatch
(
title
));
TemplateTitleVo
templateTitleVo
=
new
TemplateTitleVo
(
title
,
tag
,
sourceList
.
get
(
result
.
getDataPoints
().
get
(
0
)).
getUrl
(),
Tools
.
numberMatch
(
title
));
...
...
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