From 235a867e15a86c3666c3e57727a7d6bb828e08de Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 07 十一月 2019 16:41:09 +0800
Subject: [PATCH] 微信支付查询是否成功修改,商城订单查询修改
---
fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 15 +++++++++++++++
1 files changed, 15 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..0d9b693 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,21 @@
} 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);
}
}
--
Gitblit v1.8.0