1. 修改证据属性详情为空展示未null的问题

jinan_dev
xueqingkun 6 months ago
parent 5d52c82806
commit 2ff0f918fc

@ -268,7 +268,9 @@ public class CaseEvidencePropertyServiceImpl implements CaseEvidencePropertyServ
Field field = beanDesc.getField(StrUtil.toCamelCase(entry.getKey()));
NotePromptExtractAttributesDto attributesDto = new NotePromptExtractAttributesDto();
attributesDto.setAttrName(getFieldDesc(field));
attributesDto.setAttrValue(StrUtil.toString(entry.getValue()));
if (StrUtil.isNotEmpty(attributesDto.getAttrValue())){
attributesDto.setAttrValue(StrUtil.toString(entry.getValue()));
}
attributesDto.setAttrValueType(getFieldType(field));
return attributesDto;
}).filter(a->StrUtil.isNotEmpty(a.getAttrName())).toList();

Loading…
Cancel
Save