文档库--详情中时间显示问题

This commit is contained in:
zhn
2022-03-10 21:50:25 +08:00
parent 35dc96c080
commit 857678c419
@@ -630,6 +630,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
} else {
//处理字段类型为文件之外的字段
if (dataList.size() != 0) {
String finalValue = value;
dataList.get(0).entrySet().forEach(entry -> {
if (onlCgformField.getDbFieldName().equals(entry.getKey())) {
if (onlCgformField.getDbFieldName().equals("replace_standard")) {
@@ -644,6 +645,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
//对应标准
map.put("value", StringUtils.join(correspondingStandardNameList, ","));
map.put("list", listCorrespondingStandard);
}else if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType())){
map.put("value", finalValue);
} else {
map.put("value", entry.getValue());
}