From 885c66fcc29c3b1b4d1cc94883aaff0ed64e435c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 24 三月 2020 16:35:06 +0800
Subject: [PATCH] 发圈活动支持淘宝活动,团队补贴/团队奖励增加生效/失效时间
---
fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java
index 2c5b725..7145976 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java
@@ -46,6 +46,24 @@
} else if (detail.getType() == MsgTypeOtherTypeEnum.exchange) {
msgOtherDetailMapper.insertSelective(detail);
userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
+ } 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);
}
}
--
Gitblit v1.8.0