Browse Source

新增17号模型:刑事盗窃警情未录入执法办案系统的异常数据

main
sjh 1 year ago
parent
commit
355dd969f5
  1. 1
      src/main/java/com/biutag/supervision/pojo/entity/ModelClue18.java
  2. 3
      src/main/java/com/biutag/supervision/service/ModelClueService.java

1
src/main/java/com/biutag/supervision/pojo/entity/ModelClue18.java

@ -9,6 +9,7 @@ public class ModelClue18 {
private String zhrq;
private String zhdd;
private String ajbh;
private String zhr;
private String badwIDdm;
private String badwIDmc;
}

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

@ -613,12 +613,14 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
String zhrq = getDateMinuteString(map.get("zhrq"));
String zhdd = (String) map.get("zhdd");
String ajbh = (String) map.get("ajbh");
String zhr = map.get("zhr") == null ? "" : (String) map.get("zhr");
String badwIDdm = map.get("BADWIDdm") == null ? "" : (String) map.get("BADWIDdm");
String badwIDmc = map.get("BADWIDmc") == null ? "" : (String) map.get("BADWIDmc");
ModelClue18 modelClue18 = new ModelClue18();
modelClue18.setAjbh(ajbh);
modelClue18.setZhrq(zhrq);
modelClue18.setZhdd(zhdd);
modelClue18.setZhr(zhr);
modelClue18.setBadwIDdm(badwIDdm);
modelClue18.setBadwIDmc(badwIDmc);
if (model18Map.containsKey(zhdd + zhrq)) {
@ -630,6 +632,7 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
ModelClue newModelClue = new ModelClue();
newModelClue.setUniqueKey(value.getAjbh());
newModelClue.setNegativeIdEx(value.getAjbh());
newModelClue.setInvolvePoliceName(value.getZhr());
if (value.getBadwIDdm() != null) {
SupExternalDepart supExternalDepart = supExternalDepartMapper.selectOne(new LambdaQueryWrapper<SupExternalDepart>().eq(SupExternalDepart::getExternalId, value.getBadwIDdm()).last("LIMIT 1"));
if (supExternalDepart != null) {

Loading…
Cancel
Save