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
c7460c75
Commit
c7460c75
authored
Apr 25, 2024
by
shentao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature' into 'release'
2024/04/25 自动标注模板相似度阈值bug修复 See merge request
!94
parents
2835849b
f2eeabd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
+4
-4
No files found.
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
View file @
c7460c75
...
...
@@ -318,20 +318,20 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
}
private
boolean
textNumberMatch
(
List
<
String
>
textNumber
,
String
text
)
{
boolean
res
=
fals
e
;
boolean
res
=
tru
e
;
if
(
CollectionUtils
.
isEmpty
(
textNumber
))
{
return
res
;
}
List
<
String
>
numberMatch
=
Tools
.
numberMatch
(
text
);
if
(
CollectionUtils
.
isEmpty
(
numberMatch
)
||
numberMatch
.
size
()
!=
textNumber
.
size
())
{
return
res
;
return
false
;
}
for
(
String
number
:
textNumber
)
{
if
(!
numberMatch
.
contains
(
number
))
{
return
res
;
return
false
;
}
}
return
true
;
return
res
;
}
private
static
MarkInfo
getMarkInfo
(
JSONObject
hit
)
{
...
...
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