From 9f46a18253bd264e98d302549832fcc7f2127d37 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 02 四月 2020 14:45:37 +0800 Subject: [PATCH] 消息 --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 8 +------- 1 files changed, 1 insertions(+), 7 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..a22c6fe 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 @@ -37,13 +37,7 @@ detail.setCreateTime(new Date()); msgOtherDetailMapper.insertSelective(detail); userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); - } else if (detail.getType() == MsgTypeOtherTypeEnum.taoLiJin) { - msgOtherDetailMapper.insertSelective(detail); - userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); - } else if (detail.getType() == MsgTypeOtherTypeEnum.give) { - msgOtherDetailMapper.insertSelective(detail); - userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); - } else if (detail.getType() == MsgTypeOtherTypeEnum.exchange) { + } else { msgOtherDetailMapper.insertSelective(detail); userMsgReadStateService.addOtherMsgUnReadCount(detail.getUser().getId(), 1); } -- Gitblit v1.8.0