liujie
2025-05-30 535223079f6fa155feb492e1b48786ece31d3467
springcloud_k8s_panzhihuazhihuishequ/service_westcommittee/src/main/java/com/panzhihua/westcommittee/api/MessageNotificationController.java
@@ -34,8 +34,8 @@
   
   
   @GetMapping("/list")
   @ApiOperation(value = "获取消息通知列表", tags = {"三个身边后台-消息通知"})
   @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取消息通知列表")
   @ApiOperation(value = "获取消息通知列表", tags = {"西区纪委后台-消息通知"})
   @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取消息通知列表")
   public R<IPage<MessageNotification>> list(MessageNotificationList query) {
      Integer id = this.getLoginUserInfoWest().getId();
      SystemUser systemUser = systemUserService.getById(id);
@@ -63,8 +63,8 @@
   
   
   @PutMapping("/read/{id}")
   @ApiOperation(value = "标记为已读", tags = {"三个身边后台-消息通知"})
   @OperLog(operModul = "三个身边后台",operType = 2, businessType = "标记为已读")
   @ApiOperation(value = "标记为已读", tags = {"西区纪委后台-消息通知"})
   @OperLog(operModul = "西区纪委后台",operType = 2, businessType = "标记为已读")
   public R read(@PathVariable("id") Integer id) {
      MessageNotification messageNotification = messageNotificationService.getById(id);
      if(messageNotification.getReadStatus()==1){
@@ -77,8 +77,8 @@
   
   
   @GetMapping("/unreadCount")
   @ApiOperation(value = "获取未读数量", tags = {"三个身边后台-消息通知"})
   @OperLog(operModul = "三个身边后台",operType = 0, businessType = "获取未读数量")
   @ApiOperation(value = "获取未读数量", tags = {"西区纪委后台-消息通知"})
   @OperLog(operModul = "西区纪委后台",operType = 0, businessType = "获取未读数量")
   public R unreadCount() {
      Integer id = this.getLoginUserInfoWest().getId();
      SystemUser systemUser = systemUserService.getById(id);