yujian
2020-04-15 c035f02cd579d398274b95d4cae0bbdd60dd38c2
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponServiceImpl.java
@@ -1060,7 +1060,22 @@
         couponRecord.setUpdateTime(date);
         userSystemCouponRecordService.insertSelective(couponRecord);
         // 消息推送
         int goodsCount = 0;
         String orderId = order.getOrderId();
         Integer orderType = order.getOrderType();
         List<CommonOrder> orderList = commonOrderService.listBySourceTypeAndOrderId(orderType, orderId);
         if (orderList != null && orderList.size() > 0) {
            for (CommonOrder co : orderList) {
               goodsCount += co.getCount();
            }
         }
         // 资金消息
         UserInfo userInfo = userInfoService.selectByPKey(uid);
         userMoneyMsgNotificationService.rewardCounponReceived(uid, orderId, orderType, goodsCount,
               money, userInfo.getMyHongBao(), order.getThirdCreateTime());
         // 券使用成功消息
         try {
            userOtherMsgNotificationService.rewardCouponEndMsg(uid, userSystemCoupon.getSource(), 1, "使用成功");
         } catch (Exception e) {