文档新增--飞书消息
This commit is contained in:
+2
-3
@@ -2080,10 +2080,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
for (String technologyTerritory : technologyTerritoryList) {
|
for (String technologyTerritory : technologyTerritoryList) {
|
||||||
List<SysCategory> collect = categoryList.stream().filter(e -> technologyTerritory.equals(e.getId())).collect(Collectors.toList());
|
List<SysCategory> collect = categoryList.stream().filter(e -> technologyTerritory.equals(e.getId())).collect(Collectors.toList());
|
||||||
if (collect.size() != 0) {
|
if (collect.size() != 0) {
|
||||||
sb.append(collect.get(0).getName() + ",");
|
sb.append(collect.get(0).getEnName() + ",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (StringUtils.isNotBlank(sb)) {
|
if (StringUtils.isNotBlank(sb)) {
|
||||||
technologyTerritoryName = sb.substring(0, sb.length() - 1);
|
technologyTerritoryName = sb.substring(0, sb.length() - 1);
|
||||||
}
|
}
|
||||||
@@ -2115,7 +2114,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
String hrefTemp = backUrl + "/docManage/library/detail?id=" + idTemp;
|
String hrefTemp = backUrl + "/docManage/library/detail?id=" + idTemp;
|
||||||
String content = sysUser.getUsername() + " add " + serialNumber + ",Please pay attention to check.";
|
String content = sysUser.getUsername() + " add " + serialNumber + ",Please pay attention to check.";
|
||||||
//In the XXXX technical field you subscribed to, the standard "GBXXX" has been updated.
|
//In the XXXX technical field you subscribed to, the standard "GBXXX" has been updated.
|
||||||
String contentInfo = "In the "+ technologyTerritoryName + " technical field you subscribed to, the standard "+ serialNumber +" has been updated."+ href;
|
String contentInfo = "In the "+ technologyTerritoryName + " technical field you subscribed to, the "+ category + " " + serialNumber +" has been added.";
|
||||||
// String contentInfo = sysUser.getUsername() + " add " + serialNumber + ",Please pay attention to check.";
|
// String contentInfo = sysUser.getUsername() + " add " + serialNumber + ",Please pay attention to check.";
|
||||||
//封装消息的实体类
|
//封装消息的实体类
|
||||||
SysAnnouncement sysAnnouncement = getSysAnnouncement(userIdList, content, contentInfo);
|
SysAnnouncement sysAnnouncement = getSysAnnouncement(userIdList, content, contentInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user