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