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

jinan_dev
xueqingkun 5 months ago
parent 2ff0f918fc
commit d5151811ca

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

Loading…
Cancel
Save