|
|
|
@ -141,6 +141,7 @@ public class Job { |
|
|
|
log.info("未找到受伤民辅警"); |
|
|
|
log.info("未找到受伤民辅警"); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log.info("受害人信息数量数据:{}条", tXsshrxxbs.size()); |
|
|
|
tXsshrxxbs.forEach(item -> { |
|
|
|
tXsshrxxbs.forEach(item -> { |
|
|
|
RpcApplySupervise rpcApply = new RpcApplySupervise(); |
|
|
|
RpcApplySupervise rpcApply = new RpcApplySupervise(); |
|
|
|
rpcApply.setRpcId(item.getZj()); |
|
|
|
rpcApply.setRpcId(item.getZj()); |
|
|
|
@ -160,6 +161,7 @@ public class Job { |
|
|
|
// 警号
|
|
|
|
// 警号
|
|
|
|
rpcApply.setApplicantEmpNo(police.getEmpNo()); |
|
|
|
rpcApply.setApplicantEmpNo(police.getEmpNo()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (StrUtil.isNotBlank(item.getAjbh())) { |
|
|
|
if (StrUtil.isNotBlank(item.getAjbh())) { |
|
|
|
DwdAsjZfbaAjjbxx ajjbxx = dwdAsjZfbaAjjbxxMapper.selectByAjbh(item.getAjbh()); |
|
|
|
DwdAsjZfbaAjjbxx ajjbxx = dwdAsjZfbaAjjbxxMapper.selectByAjbh(item.getAjbh()); |
|
|
|
//获取办案人id
|
|
|
|
//获取办案人id
|
|
|
|
@ -174,6 +176,7 @@ public class Job { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log.info("没有相关案件基本信息"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if(StrUtil.isNotBlank(ajjbxx.getAjmc())){ |
|
|
|
if(StrUtil.isNotBlank(ajjbxx.getAjmc())){ |
|
|
|
@ -223,6 +226,7 @@ public class Job { |
|
|
|
rpcApply.setSecondDepartId(groupDept.getId()); |
|
|
|
rpcApply.setSecondDepartId(groupDept.getId()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log.info("单位信息处理完毕"); |
|
|
|
// 案件信息
|
|
|
|
// 案件信息
|
|
|
|
rpcApply.setFactReason(ajjbxx.getJyaq()); |
|
|
|
rpcApply.setFactReason(ajjbxx.getJyaq()); |
|
|
|
if ("刑事".equals(ajjbxx.getAjbzmc())) { |
|
|
|
if ("刑事".equals(ajjbxx.getAjbzmc())) { |
|
|
|
@ -241,9 +245,7 @@ public class Job { |
|
|
|
rpcApply.setRpcStatus(ComfortStatus.completed.name()); |
|
|
|
rpcApply.setRpcStatus(ComfortStatus.completed.name()); |
|
|
|
// 数据来源
|
|
|
|
// 数据来源
|
|
|
|
rpcApply.setSource("gbase"); |
|
|
|
rpcApply.setSource("gbase"); |
|
|
|
|
|
|
|
|
|
|
|
rpcApplySuperviseService.saveOrUpdate(rpcApply); |
|
|
|
rpcApplySuperviseService.saveOrUpdate(rpcApply); |
|
|
|
|
|
|
|
|
|
|
|
//受害人列表
|
|
|
|
//受害人列表
|
|
|
|
RpcApplyPerson rpcApplyPerson= new RpcApplyPerson(); |
|
|
|
RpcApplyPerson rpcApplyPerson= new RpcApplyPerson(); |
|
|
|
rpcApplyPerson.setType(RpcApplyTypeEnum.RIGHTS_PROTECTION.getValue()); |
|
|
|
rpcApplyPerson.setType(RpcApplyTypeEnum.RIGHTS_PROTECTION.getValue()); |
|
|
|
@ -276,7 +278,6 @@ public class Job { |
|
|
|
rpcApplyPersonService.saveOrUpdate(rpcApplyPerson); |
|
|
|
rpcApplyPersonService.saveOrUpdate(rpcApplyPerson); |
|
|
|
//存储犯人信息
|
|
|
|
//存储犯人信息
|
|
|
|
List<DwdAsjZfbaWfrwfxx> wfrwfxxes = dwdAsjZfbaWfrwfxxMapper.selectList(new LambdaQueryWrapper<DwdAsjZfbaWfrwfxx>().eq(DwdAsjZfbaWfrwfxx::getAjbh,item.getAjbh())); |
|
|
|
List<DwdAsjZfbaWfrwfxx> wfrwfxxes = dwdAsjZfbaWfrwfxxMapper.selectList(new LambdaQueryWrapper<DwdAsjZfbaWfrwfxx>().eq(DwdAsjZfbaWfrwfxx::getAjbh,item.getAjbh())); |
|
|
|
log.info("违法人员信息数据:{}条", wfrwfxxes.size()); |
|
|
|
|
|
|
|
if (ArrayUtil.isNotEmpty(wfrwfxxes)){ |
|
|
|
if (ArrayUtil.isNotEmpty(wfrwfxxes)){ |
|
|
|
wfrwfxxes.forEach(x->{ |
|
|
|
wfrwfxxes.forEach(x->{ |
|
|
|
RpcInfringerResult rpcInfringerResult =new RpcInfringerResult(); |
|
|
|
RpcInfringerResult rpcInfringerResult =new RpcInfringerResult(); |
|
|
|
@ -295,6 +296,9 @@ public class Job { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
//案件录入
|
|
|
|
|
|
|
|
List<String> ajbhList = tXsshrxxbs.stream().map(TXsshrxxb::getAjbh).toList(); |
|
|
|
|
|
|
|
log.info("录入完成-------------"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|