文档库新增

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);
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
String msgContent = "文档库删除了" + StringUtils.join(serialNumberListTemp,",");
String msgContentInfo = "文档库删除了" + substring;
homeDocumentDynamicEO.setMsgContent(msgContent);
homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo);
homeDocumentDynamicEOService.save(homeDocumentDynamicEO);
if(StringUtils.isNotBlank(sbTemp)){
String substring = sbTemp.substring(0, sbTemp.length() - 1);
HomeDocumentDynamicEO homeDocumentDynamicEO = new HomeDocumentDynamicEO();
String msgContent = "文档库删除了" + StringUtils.join(serialNumberListTemp,",");
String msgContentInfo = "文档库删除了" + substring;
homeDocumentDynamicEO.setMsgContent(msgContent);
homeDocumentDynamicEO.setMsgContentInfo(msgContentInfo);
homeDocumentDynamicEOService.save(homeDocumentDynamicEO);
}
String sbStr = "";
if (ObjectUtils.isNotEmpty(sb)) {
@@ -1993,7 +1994,10 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
String serialNumber = (String) map.get("serial_number");
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)){
List<String> technologyTerritoryIdList = Arrays.asList(technologyTerritoryId.split(","));