Browse Source

工作台 asd

master
PoffyZhang 1 year ago
parent
commit
5da2f8aeae
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/NotifyManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/sys/manage/NotifyManage.java View File

@@ -39,7 +39,8 @@ public class NotifyManage {
.eq(Objects.nonNull(notifyListReq.getReaded()), Notify::getReaded, notifyListReq.getReaded()) .eq(Objects.nonNull(notifyListReq.getReaded()), Notify::getReaded, notifyListReq.getReaded())
.eq(Notify::getUserId, userId) .eq(Notify::getUserId, userId)
.like(Objects.nonNull(notifyListReq.getTitle()), Notify::getTitle, notifyListReq.getTitle()) .like(Objects.nonNull(notifyListReq.getTitle()), Notify::getTitle, notifyListReq.getTitle())
.eq(Objects.nonNull(notifyListReq.getType()), Notify::getType, notifyListReq.getType());
.eq(Objects.nonNull(notifyListReq.getType()), Notify::getType, notifyListReq.getType())
.orderByDesc(Notify::getCreateTime);
notifyService.page(page,wrapper); notifyService.page(page,wrapper);
if(page.getTotal() == 0L){ if(page.getTotal() == 0L){
return PageVo.empty(); return PageVo.empty();


Loading…
Cancel
Save