类 NotificationController
java.lang.Object
cn.herodotus.stirrup.web.api.reactive.AbstractJpaReadableController<Notification,String>
cn.herodotus.stirrup.web.api.reactive.AbstractJpaWriteableController<Notification,String>
cn.herodotus.stirrup.rest.reactive.message.controller.NotificationController
- 所有已实现的接口:
JpaController,JpaReadableController<Notification,,String> JpaWriteableController<Notification,,String> cn.herodotus.stirrup.web.core.definition.Controller
@RestController
@RequestMapping("/message/notification")
public class NotificationController
extends AbstractJpaWriteableController<Notification,String>
Description: 系统通知
- 作者:
- : gengwei.zheng
- Date:
- : 2024/3/27 15:38
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明findByCondition(@NotNull Integer pageNumber, @NotNull Integer pageSize, @NotNull String userId, Integer category, Boolean read) cn.herodotus.stirrup.data.crud.service.JpaWriteableService<Notification, String> reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Integer>> setAllRead(String userId) 从类继承的方法 cn.herodotus.stirrup.web.api.reactive.AbstractJpaWriteableController
delete, getReadableService, saveOrUpdate从类继承的方法 cn.herodotus.stirrup.web.api.reactive.AbstractJpaReadableController
findByPage从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.stirrup.web.core.definition.Controller
getPageInfoMap, result, result, result, result, result, result, result从接口继承的方法 cn.herodotus.stirrup.web.api.reactive.JpaController
getPageInfoMap, result从接口继承的方法 cn.herodotus.stirrup.web.api.reactive.JpaReadableController
findAll, findById, findByPage, findByPage
-
构造器详细资料
-
NotificationController
-
-
方法详细资料
-
getWriteableService
public cn.herodotus.stirrup.data.crud.service.JpaWriteableService<Notification,String> getWriteableService() -
findByCondition
@GetMapping("/condition") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Map<String,Object>>> findByCondition(@NotNull @RequestParam("pageNumber") @NotNull Integer pageNumber, @NotNull @RequestParam("pageSize") @NotNull Integer pageSize, @NotNull @RequestParam("userId") @NotNull String userId, @RequestParam(value="category",required=false) Integer category, @RequestParam(value="read",required=false) Boolean read) -
setAllRead
-