From b37214ab1fde09a26599fdebb9e8727c079a3573 Mon Sep 17 00:00:00 2001 From: sjh Date: Wed, 13 Nov 2024 13:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B927=E3=80=8128=E3=80=8130?= =?UTF-8?q?=E5=8F=B7=E6=A8=A1=E5=9E=8B=EF=BC=9A=E4=BF=AE=E6=94=B9=E8=AD=A6?= =?UTF-8?q?=E5=91=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/service/ModelClueService.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/biutag/supervision/service/ModelClueService.java b/src/main/java/com/biutag/supervision/service/ModelClueService.java index 73c23ae..8f4987e 100644 --- a/src/main/java/com/biutag/supervision/service/ModelClueService.java +++ b/src/main/java/com/biutag/supervision/service/ModelClueService.java @@ -338,14 +338,17 @@ public class ModelClueService extends ServiceImpl { } } // 反馈单 - if (modelId == 24) { //24号模型:警情未录入反馈人员信息 - String barId = (String) data.get("fkrbh"); - Map bar = barId != null && !barId.isEmpty() ? modelClueDataMapper.selectBAR(barId) : null; - if (bar != null) { - modelClue.setInvolvePoliceEmpNo((String) bar.get("JH")); - modelClue.setInvolvePoliceName((String) bar.get("XM")); + if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 30 ) { + String fkrbh = (String) data.get("fkrbh"); + String fkrxm = (String) data.get("fkrxm"); + if (fkrbh != null && !fkrbh.isEmpty()) { + modelClue.setInvolvePoliceEmpNo(fkrbh); } else { modelClue.setInvolvePoliceEmpNo("无警号数据"); + } + if (fkrxm != null && !fkrxm.isEmpty()) { + modelClue.setInvolvePoliceName(fkrxm); + } else { modelClue.setInvolvePoliceName("无姓名数据"); } }