Browse Source

新增101、102号模型

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

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

@ -580,6 +580,18 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
+ data.get("fjmc") + modelClue.getInvolveDepartName() + "管辖的" + data.get("dwmc")
+ "购买了" + data.get("gmsl") + "升" + data.get("gmyt")
+ ",产生了" + data.get("yjlx") + ",请予以重点关注。");
} else if (modelId == 101) { // 101号模型:疑似刑讯逼供
modelClue.setInvolvePoliceName((String) data.get("sender_man"));
modelClue.setThingDesc(
"发现" + data.get("name") + "(身份证号:" + data.get("ZHENGJIANHAOMA") + ")"
+ "进入执法办案场所时的体检结果是" + data.get("LIKAIJIANCHAQINGKUANG")
+ ",但被投送至看守所时的体检结果是" + data.get("body_tag")
+ ",疑似刑讯逼供的问题,请予以重点关注。");
} else if (modelId == 102) { // 102号模型:执法办案场所人身安全检查一字未录
modelClue.setInvolvePoliceName((String) data.get("BANANREN1XM"));
modelClue.setThingDesc(
"发现" + data.get("XINGMING") + "(身份证号:" + data.get("ZHENGJIANHAOMA") + ")"
+ "登记进入执法办案场所时没有填写入所检查情况和离所检查情况,存在入所离所人身安全检查一字未录的异常问题。");
}
}
@ -1242,6 +1254,9 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
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(",")) + ");";
}
if (modelId == 101) {
return "SELECT * FROM " + tableName + " a join dwd_ry_jgzhxt_zyryxx b on a.ZHENGJIANHAOMA = b.idcard_no " + "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(",")) + ");";
}

Loading…
Cancel
Save