From 0b57cfd62e842b309d03467b96a331c673ecad7c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 21 四月 2020 14:08:18 +0800
Subject: [PATCH] 删除普通会员等级
---
fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java
index cf64f6c..d4b2da9 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java
@@ -85,7 +85,7 @@
}
@Override
- @Transactional
+ @Transactional(rollbackFor=Exception.class)
public void save(PushCoupon record) throws PushCouponException,Exception {
if (record == null) {
throw new PushCouponException(1, "鍙傛暟涓嶆纭�");
@@ -125,9 +125,9 @@
pushCouponRecord.setCreateTime(new Date());
// 鎻掑叆棰嗗彇璁板綍
- pushCouponRecordService.insertSelective(pushCouponRecord);
+ //pushCouponRecordService.insertSelective(pushCouponRecord);
// 鐩存帴鍙戦�佸埜
- userSystemCouponService.randomRewardCoupon(amount, uid, UserSystemCoupon.SOURCE_SYSTEM_PUSH);
+ //userSystemCouponService.randomRewardCoupon(amount, uid, UserSystemCoupon.SOURCE_SYSTEM_PUSH);
}
}
@@ -153,7 +153,7 @@
}
@Override
- @Transactional
+ @Transactional(rollbackFor=Exception.class)
public void executePush(Long id) throws Exception, PushCouponException, PushException {
PushCoupon pushCoupon = selectByPrimaryKey(id);
--
Gitblit v1.8.0