Browse Source

修改受到刑事处罚、受到行政处罚的打分规则2

master
sjh 1 year ago
parent
commit
0c367577af
  1. 6
      src/main/java/com/biutag/supervisiondata/service/impl/PointServiceImpl.java

6
src/main/java/com/biutag/supervisiondata/service/impl/PointServiceImpl.java

@ -334,6 +334,10 @@ public class PointServiceImpl implements PointService {
} else {
score = domicileType.getCountNum();
}
String context = "";
if (domicileType.getCountNum() > 1) {
context = "其中一件";
}
ClueData data = ClueData.builder()
.name(personal.getName())
.id(personal.getId().toString())
@ -341,7 +345,7 @@ public class PointServiceImpl implements PointService {
.tag("受到行政处罚")
.eventTime(LocalDateTime.now())
.personId(personal.getId())
.sourceData("发现该人员涉及" + domicileType.getCountNum() + "起案件,其中一件为“" + domicileType.getAjmc() + "”,案件编号:"
.sourceData("发现该人员涉及" + domicileType.getCountNum() + "起案件," + context + "为“" + domicileType.getAjmc() + "”,案件编号:"
+ domicileType.getAjbh() + ",处罚内容为“" + domicileType.getCfms1()
+ "”。因受到" + domicileType.getCountNum() + "起行政处罚,增加风险分" + score + "分")
.build();

Loading…
Cancel
Save