文档库--消息错别字
This commit is contained in:
+5
-4
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user