【8.1.0】【notice】通知分页增加noticeId

pull/60/head
fengshuonan 2024-01-12 17:59:02 +08:00
parent 9996e3a834
commit 9f8c94c4c9
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice
LambdaQueryWrapper<SysNotice> wrapper = createWrapper(sysNoticeRequest);
// 只查询需要的字段
wrapper.select(SysNotice::getNoticeTitle, SysNotice::getPublishStatus, SysNotice::getPriorityLevel, SysNotice::getNoticeBeginTime, SysNotice::getNoticeEndTime,
wrapper.select(SysNotice::getNoticeId, SysNotice::getNoticeTitle, SysNotice::getPublishStatus, SysNotice::getPriorityLevel, SysNotice::getNoticeBeginTime,
SysNotice::getNoticeEndTime,
BaseEntity::getCreateUser, BaseEntity::getCreateTime);
Page<SysNotice> pageList = this.page(PageFactory.defaultPage(), wrapper);