Commit 124c9504 by liuyu

Merge branch 'feature' into 'release'

2024/04/25 自动标注模板相似度阈值bug修复

See merge request !96
parents c7460c75 8dc0ab62
......@@ -323,7 +323,10 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
return res;
}
List<String> numberMatch = Tools.numberMatch(text);
if (CollectionUtils.isEmpty(numberMatch) || numberMatch.size() != textNumber.size()) {
if (CollectionUtils.isEmpty(numberMatch)) {
return res;
}
if (numberMatch.size() != textNumber.size()) {
return false;
}
for (String number : textNumber) {
......
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