From 2380ac241fe6cb836b3d78cdad9ca41eaf51dd43 Mon Sep 17 00:00:00 2001 From: guanzheng <785415580@qq.com> Date: Tue, 23 Apr 2024 12:14:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E7=BB=84=E8=BF=87=E5=90=8E?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=86=8D=E5=88=86bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocr/service/impl/OcrCheckDuplicateServiceImpl.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrCheckDuplicateServiceImpl.java b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrCheckDuplicateServiceImpl.java index ed31a2b..422962f 100644 --- a/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrCheckDuplicateServiceImpl.java +++ b/jyjz-system/jyjz-system-oa/src/main/java/cn/jyjz/xiaoyao/ocr/service/impl/OcrCheckDuplicateServiceImpl.java @@ -190,16 +190,12 @@ public class OcrCheckDuplicateServiceImpl extends ServiceImpl similarityGroupOrderMap = new HashMap<>(); //1.开启比对任务 - boolean isCompleteSimilarGroupIdNull; for (OcrPicture ocrPicture : ocrPictureList) { // 添加相似度百分百分组id if (ObjectUtils.isEmpty(ocrPicture.getCompleteSimilarGroupId())) { ocrPicture.setCompleteSimilarGroupId(SnowFlakeUtil.nextId()); pictureService.updateById(ocrPicture); - isCompleteSimilarGroupIdNull = true; - } else { - isCompleteSimilarGroupIdNull = false; } logService.addLog(103, "AI获取图片相似度接口", sysUser, "sendParams"); if (org.apache.commons.lang3.StringUtils.isBlank(ocrPicture.getImgHash())) { @@ -295,7 +291,7 @@ public class OcrCheckDuplicateServiceImpl extends ServiceImpl