|
|
@ -531,31 +531,6 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
|
|
|
|
|
|
|
|
atomic.setParentIndexName(record.getIndexName());
|
|
|
|
atomic.setParentIndexName(record.getIndexName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ===================================↑新方法=====================================
|
|
|
|
|
|
|
|
// ===================================↓老方法=====================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (StringUtils.isEmpty(record.getJudgeLogic())) {
|
|
|
|
|
|
|
|
// continue;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// // 是否是新的结果
|
|
|
|
|
|
|
|
// record.setNewFlagValue();
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// List<String> atomicIds = JudgeLogicUtil.pickAtomicIndexIds(record.getJudgeLogic());
|
|
|
|
|
|
|
|
// List<AtomicIndexDTO> atomics = modelCaseMapper.getAtomicDetail(caseId, record.getIndexId(), atomicIds);
|
|
|
|
|
|
|
|
// for (AtomicIndexDTO atomic : atomics) {
|
|
|
|
|
|
|
|
// // 获取原子指标的判断规则
|
|
|
|
|
|
|
|
// // 配置的指标的逻辑
|
|
|
|
|
|
|
|
// Map<String, String> indexJundgeLogicMap = parseLogicMap(record.getJudgeLogic());
|
|
|
|
|
|
|
|
// // 需要和原子指标的规则判断是否一致(解决出罪和入罪冲突的问题)
|
|
|
|
|
|
|
|
// String relationalSymbol = indexJundgeLogicMap.get(atomic.getAtomicIndexId());
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// atomic.judgeWithIndexResult(relationalSymbol);
|
|
|
|
|
|
|
|
// atomic.setSegmentation(nodeRecordSpliteMap);
|
|
|
|
|
|
|
|
// atomic.setRecordIfSegmentationAbsent("无");
|
|
|
|
|
|
|
|
// List<ModelAtomicResult> filterAtomicResultList = atomicResultList.stream().filter(v -> StrUtil.equals(record.getIndexId(), v.getIndexId())).toList();
|
|
|
|
|
|
|
|
// List<EvidentIndexResultDTO> evidentResult = getEvidentResult(filterAtomicResultList, caseEvidenceList, rootDirectory);
|
|
|
|
|
|
|
|
// atomic.setEvidentResultList(evidentResult);
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
record.setChildren(atomics);
|
|
|
|
record.setChildren(atomics);
|
|
|
|
record.setRecordValue();
|
|
|
|
record.setRecordValue();
|
|
|
|