From 8c04d27e5cebb7e654c208533e9567c4df2c8acc Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 12 十二月 2019 14:21:44 +0800
Subject: [PATCH] 券时间限制

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java |   21 +++++++++++++++++++++
 1 files changed, 21 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 9a56a32..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
@@ -43,6 +43,27 @@
 		} else if (detail.getType() == MsgTypeOtherTypeEnum.give) {
 			msgOtherDetailMapper.insertSelective(detail);
 			userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1);
+		} 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