feat: 通知公告临时提交

通知公告临时提交
This commit is contained in:
胡少翔
2024-09-06 18:02:07 +08:00
parent 6f662dcde9
commit 3dae203dad
13 changed files with 81 additions and 48 deletions

View File

@@ -33,8 +33,8 @@ public interface NoticeConverter{
Page<NoticeVO> toPageVo(Page<NoticeBO> noticePage);
@Mappings({
@Mapping(target = "noticeTypeLabel", expression = "java(com.youlai.boot.common.base.IBaseEnum.getLabelByValue(bo.getNoticeType(), com.youlai.boot.common.enums.NoticeTypeEnum.class))")
@Mapping(target = "noticeTypeLabel", expression = "java(com.youlai.boot.common.base.IBaseEnum.getLabelByValue(bo.getNoticeType(), com.youlai.boot.common.enums.NoticeWayEnum.class))")
})
NoticeVO toPageVo(NoticeBO bo);
}
}