From 96a898bb9a4030887b9c909d8b5dfd28567fa1f9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 28 八月 2019 16:25:39 +0800 Subject: [PATCH] 分享赚和邀请赚资金记录取消失效订单统计 --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 3 +++ 1 files changed, 3 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..2c5b725 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,9 @@ } 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); } } -- Gitblit v1.8.0