From c9d06e722068ae55e513eb18af066bc4c361020e Mon Sep 17 00:00:00 2001 From: kami <605128600@qq.com> Date: Wed, 18 Dec 2024 21:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=AA=E5=90=8D=E6=94=B9=E4=B8=BA=E5=88=91?= =?UTF-8?q?=E4=BA=8B=E6=A1=88=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervisiondata/service/impl/GBaseSHRWFRServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/biutag/supervisiondata/service/impl/GBaseSHRWFRServiceImpl.java b/src/main/java/com/biutag/supervisiondata/service/impl/GBaseSHRWFRServiceImpl.java index 91765a8..2820e95 100644 --- a/src/main/java/com/biutag/supervisiondata/service/impl/GBaseSHRWFRServiceImpl.java +++ b/src/main/java/com/biutag/supervisiondata/service/impl/GBaseSHRWFRServiceImpl.java @@ -232,6 +232,7 @@ public class GBaseSHRWFRServiceImpl implements GBaseSHRWFRService { List zblxList = new ArrayList<>(); LocalDateTime time = null; StringBuilder sb = new StringBuilder(); + int size = 0; for (GBaseWFRXX xx : wfxxList) { WdpcGrjdZblx zblx = map.get(xx.getSxzmdm()); if (zblx == null) { @@ -242,6 +243,7 @@ public class GBaseSHRWFRServiceImpl implements GBaseSHRWFRService { continue; } sb.append(xx.getAjbh()).append(","); + size++; try { LocalDateTime tmp = xx.getLrsj().toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime(); if(time == null) { @@ -273,7 +275,7 @@ public class GBaseSHRWFRServiceImpl implements GBaseSHRWFRService { .tags(tags) .score(Math.min(5, score)) .personId(person.getId()) - .sourceData("发现该人员存在" + zblxList.size() + "起刑事处罚罪名:" + zm.substring(0, zm.length() - 1) + ",案件编号为:" + sb.substring(0, sb.length() - 1)) + .sourceData("发现该人员存在" + size + "起刑事处罚,关键罪名有:" + zm.substring(0, zm.length() - 1) + ",案件编号分别为:" + sb.substring(0, sb.length() - 1)) .eventTime(time) .build(); toInsert.add(DataUtil.createClueData(task, data));