From 76981c9be28bb6dfb8109b66cb3cf0840302f07e Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Wed, 23 Oct 2024 11:38:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E8=AF=81=E6=8D=AE=E6=94=B9=E9=80=A0?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/supervision/police/dto/EvidenceProcessDTO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/supervision/police/dto/EvidenceProcessDTO.java b/src/main/java/com/supervision/police/dto/EvidenceProcessDTO.java index 06c7d5a..747e521 100644 --- a/src/main/java/com/supervision/police/dto/EvidenceProcessDTO.java +++ b/src/main/java/com/supervision/police/dto/EvidenceProcessDTO.java @@ -110,7 +110,7 @@ public class EvidenceProcessDTO { Map categoryMap = categoryList.stream().collect(Collectors.toMap(EvidenceCategory::getId, v -> v)); EvidenceCategory category = categoryMap.get(directory.getCategoryId()); - NotePrompt notePrompt = notePrompts.stream().filter(v -> v.getEvidenceCategoryId().equals(category.getId())).findFirst().orElse(null); + NotePrompt notePrompt = notePrompts.stream().filter(v -> StrUtil.equals(v.getEvidenceCategoryId(),category.getId())).findFirst().orElse(null); if (null != category && notePrompt != null) { this.templateId = notePrompt.getId(); this.templateName = category.getCategoryName();