Commit f27c18c2 by huluobin

update

parent 54b9f910
...@@ -68,7 +68,6 @@ public class CouponsGiftServiceImpl extends ServiceImpl<CouponsGiftMapper, Coupo ...@@ -68,7 +68,6 @@ public class CouponsGiftServiceImpl extends ServiceImpl<CouponsGiftMapper, Coupo
case CouponsGift.BEHAVIOR_FINISH_ORDER: case CouponsGift.BEHAVIOR_FINISH_ORDER:
Integer orderId = Integer.parseInt(attach.toString()); Integer orderId = Integer.parseInt(attach.toString());
CouponsForConsumption couponsForConsumption = couponsForConsumptionMapper.getByOrderId(orderId); CouponsForConsumption couponsForConsumption = couponsForConsumptionMapper.getByOrderId(orderId);
if (couponsForConsumption != null) {
if (couponsForConsumption.getCouponId() != null) { if (couponsForConsumption.getCouponId() != null) {
couponService.sendCoupon(couponsForConsumption.getCouponId(), customerId); couponService.sendCoupon(couponsForConsumption.getCouponId(), customerId);
} }
...@@ -80,7 +79,6 @@ public class CouponsGiftServiceImpl extends ServiceImpl<CouponsGiftMapper, Coupo ...@@ -80,7 +79,6 @@ public class CouponsGiftServiceImpl extends ServiceImpl<CouponsGiftMapper, Coupo
adminFeign.sendMessage(sendMessageRequest); adminFeign.sendMessage(sendMessageRequest);
} }
} }
}
} catch (Exception e) { } catch (Exception e) {
log.error("行为触发发券失败" + e.getMessage(), e); log.error("行为触发发券失败" + e.getMessage(), e);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment