yujian
2019-12-17 d8e6fe75c7bfb14c73da86b79991bda18d94a105
fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java
@@ -49,6 +49,21 @@
      } else if (detail.getType() == MsgTypeOtherTypeEnum.couponActivate) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      } else if (detail.getType() == MsgTypeOtherTypeEnum.firstOrderReward) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      }else if (detail.getType() == MsgTypeOtherTypeEnum.systemGive) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      } else if (detail.getType() == MsgTypeOtherTypeEnum.taoLiJinExchange) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      } else if (detail.getType() == MsgTypeOtherTypeEnum.passVIPApply
            || detail.getType() == MsgTypeOtherTypeEnum.rejectVIPApply
            || detail.getType() == MsgTypeOtherTypeEnum.teamVIPCallBoss
            || detail.getType() == MsgTypeOtherTypeEnum.teamSplitCallBoss) {
         msgOtherDetailMapper.insertSelective(detail);
         userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
      }
   }