|
|
|
@ -85,6 +85,8 @@ public class ModelIndexServiceImpl extends ServiceImpl<ModelIndexMapper, ModelIn
|
|
|
|
|
|
|
|
|
|
private final EvidenceCategoryService evidenceCategoryService;
|
|
|
|
|
|
|
|
|
|
private final CaseEvidencePropertyService caseEvidencePropertyService;
|
|
|
|
|
|
|
|
|
|
@Value("${case.evidence.table}")
|
|
|
|
|
private List<String> allowedTables;
|
|
|
|
|
|
|
|
|
@ -404,6 +406,15 @@ public class ModelIndexServiceImpl extends ServiceImpl<ModelIndexMapper, ModelIn
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<NotePrompt> notePrompts = notePromptService.listByIds(promptIds);
|
|
|
|
|
for (NotePrompt notePrompt : notePrompts) {
|
|
|
|
|
if (StrUtil.isEmpty(notePrompt.getEvidenceCategoryId())){
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
List<NotePromptExtractAttributesDto> extractAttributes = caseEvidencePropertyService.findExtractAttributes(notePrompt.getEvidenceCategoryId());
|
|
|
|
|
if (CollUtil.isNotEmpty(extractAttributes)){
|
|
|
|
|
notePrompt.setExtractAttributes(extractAttributes);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Map<String, String> dicMap = comDictionaryService.getDictionaryMap("prompt_attribute_valuetype");
|
|
|
|
|
|
|
|
|
|
for (Map.Entry<String, List<ValueCalculateScopeDTO>> entry : result.entrySet()) {
|
|
|
|
|