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(",")) + ");";