Commit d84f3425 authored by unset's avatar unset

添加通知信息

parent e047f6d7
......@@ -44,6 +44,7 @@ public class NoticeInfoBiz extends BaseBiz<NoticeInfoMapper,NoticeInfo> {
criteria.andEqualTo("isRead", noticeInfoDto.getRead());
}
criteria.andEqualTo("userId", noticeInfoDto.getUserId());
criteria.andEqualTo("isDel", 0);
example.orderBy("isRead");
Query query = new Query(noticeInfoDto);
PageDataVO<NoticeInfo> pageDataVO = PageDataVO.pageInfo(query, () -> mapper.selectByExample(example));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment