From a3ea58065f61d16f06a0883737eae320eef5c33a Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 01 八月 2019 15:47:12 +0800 Subject: [PATCH] 非任务模式不执行京东/拼多多订单 --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 4 +++- 1 files changed, 3 insertions(+), 1 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 a81c05d..2ad8708 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 @@ -27,7 +27,6 @@ @Override public void addMsgOtherDetail(MsgOtherDetail detail) throws MsgOtherDetailException { - if (detail.getType() == MsgTypeOtherTypeEnum.couponMianDan || detail.getType() == MsgTypeOtherTypeEnum.couponReward || detail.getType() == MsgTypeOtherTypeEnum.couponWelfareMianDan) { @@ -38,6 +37,9 @@ 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); } } -- Gitblit v1.8.0