mirror of https://gitee.com/stylefeng/roses
【8.1.0】【notice】通知分页增加noticeId
parent
9996e3a834
commit
9f8c94c4c9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue