|
|
|
|
@ -328,6 +328,12 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
if (oldMap.get(domicileType.getZjhm()) != null) continue; |
|
|
|
|
|
|
|
|
|
idCode.put(domicileType.getZjhm(), 1); |
|
|
|
|
int score; |
|
|
|
|
if (domicileType.getCountNum() > 5) { |
|
|
|
|
score = 5; |
|
|
|
|
} else { |
|
|
|
|
score = domicileType.getCountNum(); |
|
|
|
|
} |
|
|
|
|
ClueData data = ClueData.builder() |
|
|
|
|
.name(personal.getName()) |
|
|
|
|
.id(personal.getId().toString()) |
|
|
|
|
@ -335,9 +341,9 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
.tag("受到行政处罚") |
|
|
|
|
.eventTime(LocalDateTime.now()) |
|
|
|
|
.personId(personal.getId()) |
|
|
|
|
.sourceData("发现该人员涉及案件“" + domicileType.getAjmc() + "”,案件编号:" |
|
|
|
|
.sourceData("发现该人员涉及" + domicileType.getCountNum() + "起案件,其中一件为“" + domicileType.getAjmc() + "”,案件编号:" |
|
|
|
|
+ domicileType.getAjbh() + ",处罚内容为“" + domicileType.getCfms1() |
|
|
|
|
+ "”。因受到行政处罚,增加风险分5分") |
|
|
|
|
+ "”。因受到" + domicileType.getCountNum() + "起行政处罚,增加风险分" + score + "分") |
|
|
|
|
.build(); |
|
|
|
|
toInsert.add(createClue(task.getModelId(), 5, task.getId(), data)); |
|
|
|
|
} |
|
|
|
|
@ -372,6 +378,18 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
if (oldMap.get(domicileType.getZjhm()) != null) continue; |
|
|
|
|
|
|
|
|
|
idCode.put(domicileType.getZjhm(), 1); |
|
|
|
|
int score; |
|
|
|
|
String context = ""; |
|
|
|
|
if (domicileType.getCountNum() > 5) { |
|
|
|
|
score = 5; |
|
|
|
|
} else { |
|
|
|
|
score = domicileType.getCountNum(); |
|
|
|
|
} |
|
|
|
|
if (domicileType.getCountNum() > 1) { |
|
|
|
|
context = "。除此案件外,该人员还有" + domicileType.getCountNum() + "个刑事处罚"; |
|
|
|
|
} else { |
|
|
|
|
context = "。因受到过1个刑事处罚"; |
|
|
|
|
} |
|
|
|
|
ClueData data = ClueData.builder() |
|
|
|
|
.name(personal.getName()) |
|
|
|
|
.id(personal.getId().toString()) |
|
|
|
|
@ -380,7 +398,7 @@ public class PointServiceImpl implements PointService {
|
|
|
|
|
.eventTime(LocalDateTime.now()) |
|
|
|
|
.personId(personal.getId()) |
|
|
|
|
.sourceData("发现该人员" + domicileType.getJysm() + "案件编号:" + domicileType.getAjbh() |
|
|
|
|
+ ",因受到刑事处罚,增加风险分5分") |
|
|
|
|
+ context + ",增加风险分" + score + "分") |
|
|
|
|
.build(); |
|
|
|
|
toInsert.add(createClue(task.getModelId(), 5, task.getId(), data)); |
|
|
|
|
} |
|
|
|
|
|