文档库新增

This commit is contained in:
zhn
2022-05-27 23:08:06 +08:00
parent add07a8012
commit ad9d5dfcdb
@@ -220,14 +220,15 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
} }
} }
//文档动态信息添加 //文档动态信息添加
String substring = sbTemp.substring(0, sbTemp.length() - 1); if(StringUtils.isNotBlank(sbTemp)){
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO(); String substring = sbTemp.substring(0, sbTemp.length() - 1);
String msgContent = "文档库删除了" + StringUtils.join(serialNumberListTemp,","); HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
String msgContentInfo = "文档库删除了" + substring; String msgContent = "文档库删除了" + StringUtils.join(serialNumberListTemp,",");
homeDocumentDynamicEO.setMsgContent(msgContent); String msgContentInfo = "文档库删除了" + substring;
homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo); homeDocumentDynamicEO.setMsgContent(msgContent);
homeDocumentDynamicEOService.save(homeDocumentDynamicEO); homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo);
homeDocumentDynamicEOService.save(homeDocumentDynamicEO);
}
String sbStr = ""; String sbStr = "";
if (ObjectUtils.isNotEmpty(sb)) { if (ObjectUtils.isNotEmpty(sb)) {
@@ -1993,7 +1994,10 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
String serialNumber = (String) map.get("serial_number"); String serialNumber = (String) map.get("serial_number");
Set<String> technologyTerritorySet = new HashSet<>(); Set<String> technologyTerritorySet = new HashSet<>();
String technologyTerritoryId = map.get("technology_territory").toString(); String technologyTerritoryId = "";
if(ObjectUtils.isNotEmpty(map.get("technology_territory"))){
technologyTerritoryId = map.get("technology_territory").toString();
}
//技术领域 //技术领域
if(StringUtils.isNotEmpty(technologyTerritoryId)){ if(StringUtils.isNotEmpty(technologyTerritoryId)){
List<String> technologyTerritoryIdList = Arrays.asList(technologyTerritoryId.split(",")); List<String> technologyTerritoryIdList = Arrays.asList(technologyTerritoryId.split(","));