Merge remote-tracking branch 'origin/master' into master
This commit is contained in:
+20
-12
@@ -1187,10 +1187,12 @@ 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 (StringUtils.isBlank(s)) {
|
// if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
// s = "";
|
||||||
|
// }
|
||||||
|
if(StringUtils.isNotBlank(s)){
|
||||||
|
stringMap.put(onlCgformField.getDbFieldName(), s);
|
||||||
}
|
}
|
||||||
stringMap.put(onlCgformField.getDbFieldName(), s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stringMap.put("id", idTemp + ossFile.getId());
|
stringMap.put("id", idTemp + ossFile.getId());
|
||||||
@@ -1206,10 +1208,12 @@ 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 (StringUtils.isBlank(s)) {
|
// if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
// s = "";
|
||||||
|
// }
|
||||||
|
if(StringUtils.isNotBlank(s)){
|
||||||
|
stringMap.put(onlCgformField.getDbFieldName(), s);
|
||||||
}
|
}
|
||||||
stringMap.put(onlCgformField.getDbFieldName(), s);
|
|
||||||
}
|
}
|
||||||
stringMap.put("id", idTemp);
|
stringMap.put("id", idTemp);
|
||||||
stringMap.put("module_type", "文档库");
|
stringMap.put("module_type", "文档库");
|
||||||
@@ -1644,10 +1648,12 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
||||||
s = s.split(" ")[0];
|
s = s.split(" ")[0];
|
||||||
}
|
}
|
||||||
if (StringUtils.isBlank(s)) {
|
// if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
// s = "";
|
||||||
|
// }
|
||||||
|
if(StringUtils.isNotBlank(s)){
|
||||||
|
stringMap.put(onlCgformField.getDbFieldName(), s);
|
||||||
}
|
}
|
||||||
stringMap.put(onlCgformField.getDbFieldName(), s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stringMap.put("id", (String) map.get("id") + ossFile.getId());
|
stringMap.put("id", (String) map.get("id") + ossFile.getId());
|
||||||
@@ -1666,10 +1672,12 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){
|
||||||
s = s.split(" ")[0];
|
s = s.split(" ")[0];
|
||||||
}
|
}
|
||||||
if (StringUtils.isBlank(s)) {
|
// if (StringUtils.isBlank(s)) {
|
||||||
s = "";
|
// s = "";
|
||||||
|
// }
|
||||||
|
if(StringUtils.isNotBlank(s)){
|
||||||
|
stringMap.put(onlCgformField.getDbFieldName(), s);
|
||||||
}
|
}
|
||||||
stringMap.put(onlCgformField.getDbFieldName(), s);
|
|
||||||
}
|
}
|
||||||
stringMap.put("id", (String) map.get("id"));
|
stringMap.put("id", (String) map.get("id"));
|
||||||
stringMap.put("module_type", "文档库");
|
stringMap.put("module_type", "文档库");
|
||||||
|
|||||||
Reference in New Issue
Block a user