Browse Source

修改22号模型

main
sjh 1 year ago
parent
commit
4d4b0e33e7
  1. 15
      src/main/java/com/biutag/supervision/service/ModelClueService.java

15
src/main/java/com/biutag/supervision/service/ModelClueService.java

@ -871,6 +871,7 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
return;
}
List<Map<String, Object>> jjdData = modelClueDataMapper.selectByUniqueKeys("SELECT DISTINCT jjdbh FROM dwd_asj_zhtx_jjd WHERE jqxzmc like '%举报%' AND (bjnr like '%嫖%' or bjnr like '%涉黄%'or bjnr like '%淫%'or bjnr like '%有偿%'or bjnr like '%陪侍%' or bjnr like '%私人影院%' or bjnr like '%脱衣舞%'or bjnr like '%打飞机%'or bjnr like '%全套%'or bjnr like '%半套%'or bjnr like '%卡片%'or bjnr like '%色情%'or bjnr like '%拉客%'or bjnr like '%站街%'or bjnr like '%裸嗨%'or bjnr like '%摸摸看%'or bjnr like '%摸摸唱%'or bjnr like '%黄色%'or bjnr like '%发卡%'or bjnr like '%赌%'or bjnr like '%三公%'or bjnr like '%斗牛%'or bjnr like '%德州%'or bjnr like '%扑克%'or bjnr like '%十三水%'or bjnr like '%麻将%'or bjnr like '%打牌%'or bjnr like '%打大牌%'or bjnr like '%牌九%'or bjnr like '%赌博机%'or bjnr like '%打鱼机%'or bjnr like '%老虎机%'or bjnr like '%苹果机%'or bjnr like '%六合彩%') AND bjsj>'2024-10-01 00:00:00';");
System.out.println("模型22查询jjdData数据库完毕,结果数量:" + jjdData.size());
List<String> jjdbhList = new ArrayList<>();
for (Map<String, Object> map : jjdData) {
String jjdbh = (String) map.get("jjdbh");
@ -879,7 +880,17 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
}
}
for (Map<String, Object> map : sqlList) {
if (!jjdbhList.contains((String)map.get("jjdbh"))) {
Pattern pattern = Pattern.compile("\\d+");
Matcher matcher = pattern.matcher((String) map.get("DESCRIBEDETAILS"));
String jjdbh = "";
while (matcher.find()) {
String group = matcher.group();
if (group.length() == 25) {
jjdbh = group;
break;
}
}
if (!jjdbhList.contains(jjdbh)) {
continue;
}
ModelClue newModelClue = new ModelClue();
@ -920,7 +931,7 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
createTime = "于" + formatter.format(localDateTime);
}
} catch (Exception ex) {
log.error("模型20日期解析失败: {}", ex.getMessage(), ex);
log.error("模型22日期解析失败: {}", ex.getMessage(), ex);
}
newModelClue.setThingDesc(
"灵敏感知系统" + createTime + "发现" + newModelClue.getInvolveDepartName() + "有"

Loading…
Cancel
Save