文档库--消息错别字

This commit is contained in:
zhn
2022-03-24 20:18:15 +08:00
parent f8503ade78
commit 3c73700ed7
@@ -3030,8 +3030,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
String content = sysUser.getRealname() + "推送了" + StringUtils.join(serialNumberList, ",") + ",请注意查看。";
String contentInfo = sysUser.getRealname() + "推送了" + StringUtils.join(hrefList, ",") + "请注意查看。";
String content = sysUser.getRealname() + "推送了" + StringUtils.join(serialNumberList, ",") + ",请注意查看。";
String contentInfo = sysUser.getRealname() + "推送了" + StringUtils.join(hrefList, ",") + "请注意查看。";
//封装消息的实体类
SysAnnouncement sysAnnouncement = getSysAnnouncement(userIdList, content, contentInfo);
sysAnnouncementService.saveAnnouncement(sysAnnouncement);
@@ -3336,9 +3336,10 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
if (itemNameList.contains(value)) {
String finalValue = value;
List<SysDictItem> collect = dictItemList.stream().filter(e -> StringUtils.isNotBlank(e.getItemText()) && e.getItemText().equals(finalValue)).collect(Collectors.toList());
value = collect.get(0).getItemValue();
if(collect.size() != 0){
value = collect.get(0).getItemValue();
}
}
} else if (FieldTypeEnum.PULL_MORE.getValue().equals(fieldShowType)) {
//判断是否必填
if (IsMustEnum.YES.getValue().equals(mustInput) && StringUtils.isBlank(value)) {