From 57f52b2a80ec5ee1fc140ea72420ff475f21880f Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期四, 12 三月 2020 22:16:33 +0800 Subject: [PATCH] 粘贴板分析修改, 邀请拿奖金日志添加 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/InviteOrderSubsidyServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/InviteOrderSubsidyServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/InviteOrderSubsidyServiceImpl.java index a111a03..c0ed50f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/InviteOrderSubsidyServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/InviteOrderSubsidyServiceImpl.java @@ -65,7 +65,7 @@ return inviteOrderSubsidyMapper.getByOrderNoAndTypeForUpdate(uid, orderNo, type); } - @Transactional + @Transactional(rollbackFor=Exception.class) private void addOrderSubsidy(InviteOrderSubsidy orderSubsidy) throws InviteOrderSubsidyException { if (orderSubsidy.getMoney() == null || StringUtil.isNullOrEmpty(orderSubsidy.getOrderNo()) || orderSubsidy.getSourceType() == null || orderSubsidy.getUid() == null) @@ -93,7 +93,7 @@ } } - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void addOrUpdateByOrder(String orderId, int sourceType) throws InviteOrderSubsidyException { List<HongBaoOrder> list = hongBaoOrderService.listByOrderIdAndSourceType(orderId, sourceType); -- Gitblit v1.8.0