文档--消息
This commit is contained in:
+3
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user