|
|
@ -74,7 +74,7 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|
private CaseEvidenceService caseEvidenceService;
|
|
|
|
private CaseEvidenceService caseEvidenceService;
|
|
|
|
|
|
|
|
|
|
|
|
private EvidenceDirectoryService directoryService;
|
|
|
|
private final EvidenceDirectoryService directoryService;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询列表
|
|
|
|
* 查询列表
|
|
|
@ -436,7 +436,8 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
atomic.judgeWithIndexResult(relationalSymbol);
|
|
|
|
atomic.judgeWithIndexResult(relationalSymbol);
|
|
|
|
atomic.setSegmentation(nodeRecordSpliteMap);
|
|
|
|
atomic.setSegmentation(nodeRecordSpliteMap);
|
|
|
|
atomic.setRecordIfSegmentationAbsent("无");
|
|
|
|
atomic.setRecordIfSegmentationAbsent("无");
|
|
|
|
List<EvidentIndexResultDTO> evidentResult = getEvidentResult(atomicResultList, caseEvidenceList, rootDirectory);
|
|
|
|
List<ModelAtomicResult> filterAtomicResultList = atomicResultList.stream().filter(v -> StrUtil.equals(record.getIndexId(), v.getIndexId())).toList();
|
|
|
|
|
|
|
|
List<EvidentIndexResultDTO> evidentResult = getEvidentResult(filterAtomicResultList, caseEvidenceList, rootDirectory);
|
|
|
|
atomic.setEvidentResultList(evidentResult);
|
|
|
|
atomic.setEvidentResultList(evidentResult);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -470,7 +471,7 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
if (directory != null){
|
|
|
|
if (directory != null){
|
|
|
|
evidentIndexResultDTO.setDirectoryName(directory.getDirectoryName());
|
|
|
|
evidentIndexResultDTO.setDirectoryName(directory.getDirectoryName());
|
|
|
|
List<String> directoryPath = rootDirectory.getDirectoryPath(evidentIndexResultDTO.getDirectoryId());
|
|
|
|
List<String> directoryPath = rootDirectory.getDirectoryPath(evidentIndexResultDTO.getDirectoryId());
|
|
|
|
evidentIndexResultDTO.setDirectoryPath(StrUtil.join(StrUtil.HTML_GT, directoryPath));
|
|
|
|
evidentIndexResultDTO.setDirectoryPath(StrUtil.join(">", directoryPath));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
evidentIndexResultDTOS.add(evidentIndexResultDTO);
|
|
|
|
evidentIndexResultDTOS.add(evidentIndexResultDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -481,20 +482,6 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private List<ModelAtomicResult> filterAtomicResultList(String indexId, String atomicIndexId,
|
|
|
|
|
|
|
|
List<ModelAtomicResult> modelAtomicResultList){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (CollUtil.isEmpty(modelAtomicResultList)){
|
|
|
|
|
|
|
|
return new ArrayList<>();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return modelAtomicResultList.stream()
|
|
|
|
|
|
|
|
.filter(atomic -> StrUtil.equals(atomic.getIndexId(), indexId)
|
|
|
|
|
|
|
|
&& StrUtil.equals(atomic.getAtomicId(), atomicIndexId)).collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Map<String, String> parseLogicMap(String judgeLogic) {
|
|
|
|
private Map<String, String> parseLogicMap(String judgeLogic) {
|
|
|
|
List<JudgeLogic> judgeLogics = JSONUtil.toList(judgeLogic, JudgeLogic.class);
|
|
|
|
List<JudgeLogic> judgeLogics = JSONUtil.toList(judgeLogic, JudgeLogic.class);
|
|
|
|
Map<String, String> resultMap = new HashMap<>();
|
|
|
|
Map<String, String> resultMap = new HashMap<>();
|
|
|
|