Browse Source

修改模型4:微调

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

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

@ -320,6 +320,7 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
+ "%),疑似漏登执法办案场所。");
} else {
Iterator<ModelClue> iterator1 = zfqymModelClues3.iterator();
boolean found = false;
while (iterator1.hasNext()) {
ModelClue zfqymModelClue = iterator1.next();
if (jjdModelClue.getInvolveDepartId().equals(zfqymModelClue.getInvolveDepartId())) {
@ -336,9 +337,19 @@ public class ModelClueService extends ServiceImpl<ModelClueMapper, ModelClue> {
+ ",低于全市平均值(" + avgPercentage
+ "%),疑似漏登执法办案场所。");
iterator1.remove();
found = true;
break;
}
}
if (!found) {
jjdModelClue.setStatus(0);
jjdModelClue.setThingDesc("在" + params.get(0) + "到" + params.get(1) + "之间," + jjdModelClue.getInvolveDepartName()
+ "的总警情数为" + jjdModelClue.getZjjs()
+ ",执法场所登记数为0"
+ ",每100起警情执法场所登记比例为0%"
+ ",低于全市平均值(" + avgPercentage
+ "%),疑似漏登执法办案场所。");
}
}
}
modelClues.addAll(jjdModelClues3);

Loading…
Cancel
Save