PoffyZhang 1 рік тому
джерело
коміт
5da2f8aeae
1 змінених файлів з 2 додано та 1 видалено
  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 Переглянути файл

@@ -39,7 +39,8 @@ public class NotifyManage {
.eq(Objects.nonNull(notifyListReq.getReaded()), Notify::getReaded, notifyListReq.getReaded())
.eq(Notify::getUserId, userId)
.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);
if(page.getTotal() == 0L){
return PageVo.empty();


Завантаження…
Відмінити
Зберегти