mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-17 19:06:39 +08:00
在获取通知公告详情更新表单中添加分类名称,用于前端通知公告详情页面中显示分类名称
This commit is contained in:
parent
af4c470e93
commit
2e0cb6a96d
@ -208,6 +208,8 @@ public class NoticeService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NoticeUpdateFormVO updateFormVO = SmartBeanUtil.copy(noticeEntity, NoticeUpdateFormVO.class);
|
NoticeUpdateFormVO updateFormVO = SmartBeanUtil.copy(noticeEntity, NoticeUpdateFormVO.class);
|
||||||
|
NoticeTypeVO noticeType = noticeTypeService.getByNoticeTypeId(noticeEntity.getNoticeTypeId());
|
||||||
|
updateFormVO.setNoticeTypeName(noticeType.getNoticeTypeName());
|
||||||
if (!updateFormVO.getAllVisibleFlag()) {
|
if (!updateFormVO.getAllVisibleFlag()) {
|
||||||
List<NoticeVisibleRangeVO> noticeVisibleRangeList = noticeDao.queryVisibleRange(noticeId);
|
List<NoticeVisibleRangeVO> noticeVisibleRangeList = noticeDao.queryVisibleRange(noticeId);
|
||||||
List<Long> employeeIdList = noticeVisibleRangeList.stream().filter(e -> NoticeVisibleRangeDataTypeEnum.EMPLOYEE.getValue().equals(e.getDataType()))
|
List<Long> employeeIdList = noticeVisibleRangeList.stream().filter(e -> NoticeVisibleRangeDataTypeEnum.EMPLOYEE.getValue().equals(e.getDataType()))
|
||||||
|
Loading…
Reference in New Issue
Block a user