From 35ccbdeb83389c615871fba6a57cd0a311ca962d Mon Sep 17 00:00:00 2001 From: sjh Date: Wed, 13 Nov 2024 14:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E29=E5=8F=B7=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=EF=BC=9A=E6=A1=88=E4=BB=B6=E9=99=8D=E6=A0=BC=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=9A=84=E5=BC=82=E5=B8=B8=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/supervision/service/ModelClueService.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/biutag/supervision/service/ModelClueService.java b/src/main/java/com/biutag/supervision/service/ModelClueService.java index 48ba20f..bdd9ac5 100644 --- a/src/main/java/com/biutag/supervision/service/ModelClueService.java +++ b/src/main/java/com/biutag/supervision/service/ModelClueService.java @@ -338,7 +338,7 @@ public class ModelClueService extends ServiceImpl { } } // 反馈单 - if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 30 ) { + if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 29 || modelId == 30 ) { String fkrbh = (String) data.get("fkrbh"); String fkrxm = (String) data.get("fkrxm"); if (fkrbh != null && !fkrbh.isEmpty()) { @@ -488,6 +488,10 @@ public class ModelClueService extends ServiceImpl { + modelClue.getUniqueKey() + ",报警日期为" + getDateMinuteString(data.get("bjsj")) + ",接警性质为“" + data.get("ysjqxzmc") + "”,金额超过5000元。报警内容为:“" + data.get("bjnr") + "”。"); + } else if (modelId == 29) { // 29号模型:案件降格处理的异常数据 + modelClue.setThingDesc("发现" + modelClue.getInvolveDepartName() + "受理的接警单" + + modelClue.getUniqueKey() + ",报警日期为" + getDateMinuteString(data.get("bjsj")) + + ",派警、结警均定性为“刑事案件”,但办案单位却受理为“行政案件”办理,存在疑似案件降格处理的问题。"); } else if (modelId == 30) { // 30号模型:接警结警性质不一致的异常数据 modelClue.setThingDesc("发现" + modelClue.getInvolveDepartName() + "受理的接警单" + modelClue.getUniqueKey() + ",报警日期为" + getDateMinuteString(data.get("bjsj")) @@ -1139,7 +1143,7 @@ public class ModelClueService extends ServiceImpl { } String originalFieldName = getKeyFieldName(originalSql); // 接警单关联反馈单警员 - if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 30) { + if (modelId == 24 || modelId == 27 || modelId == 28 || modelId == 29 || modelId == 30) { return "SELECT a.*, b.fkrbh, b.fkrxm FROM " + tableName + " a left join dwd_asj_zhtx_fkd b on a.jjdbh = b.jjdbh " + "WHERE a." + originalFieldName + " IN " + "(" + uniqueKeys.stream().map(k -> "'" + k + "'").collect(Collectors.joining(",")) + ");"; } return "SELECT * FROM " + tableName + " " + "WHERE " + originalFieldName + " IN " + "(" + uniqueKeys.stream().map(k -> "'" + k + "'").collect(Collectors.joining(",")) + ");";