文档库--es编辑时,时间格式
This commit is contained in:
+6
@@ -1641,6 +1641,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
}
|
}
|
||||||
for (OnlCgformField onlCgformField : searchFieldList) {
|
for (OnlCgformField onlCgformField : searchFieldList) {
|
||||||
String s = (String) map.get(onlCgformField.getDbFieldName());
|
String s = (String) map.get(onlCgformField.getDbFieldName());
|
||||||
|
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
||||||
|
s = s.split(" ")[0];
|
||||||
|
}
|
||||||
if (StringUtils.isBlank(s)) {
|
if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
s = "";
|
||||||
}
|
}
|
||||||
@@ -1660,6 +1663,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
Map<String, Object> stringMap = new HashMap<>();
|
Map<String, Object> stringMap = new HashMap<>();
|
||||||
for (OnlCgformField onlCgformField : searchFieldList) {
|
for (OnlCgformField onlCgformField : searchFieldList) {
|
||||||
String s = (String) map.get(onlCgformField.getDbFieldName());
|
String s = (String) map.get(onlCgformField.getDbFieldName());
|
||||||
|
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
||||||
|
s = s.split(" ")[0];
|
||||||
|
}
|
||||||
if (StringUtils.isBlank(s)) {
|
if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
s = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user