文档--消息

This commit is contained in:
zhn
2022-04-07 18:19:49 +08:00
parent 9c2c9570e9
commit be170a4cb7
2 changed files with 4 additions and 1 deletions
@@ -1531,6 +1531,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
mapTemp.put("documentId", "");
List<String> userIdList = domainUserRelService.queryDomainUserRelInfo(mapTemp);
//给发送消息的用户
if(userIdList.size() == 0){
return;
}
List<SysUser> sysUsers = sysUserService.listByIds(userIdList);
List<String> thirdIdList = sysUsers.stream().map(SysUser::getThirdId).collect(Collectors.toList());
if (userIdList.size() != 0) {
@@ -725,7 +725,7 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
String end = "";
if(i <100 && (fileTextInfo.length() - i) <100){
start = fileTextInfo.substring(0,i);
end = fileTextInfo.substring(i, fileTextInfo.length() - i);
end = fileTextInfo.substring(i, fileTextInfo.length());
}else if(i <100 && (fileTextInfo.length() - i) >= 100){
start = fileTextInfo.substring(0, i);
end = fileTextInfo.substring(i, i+100);