From 24a8d17e007545f7426c48352109aa1a9c6587ee Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 06 五月 2020 12:02:09 +0800 Subject: [PATCH] IOS上线隐藏我的界面的banner与超级会员升级信息 --- fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushCouponServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 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 e27991e..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 @@ -14,8 +14,8 @@ import com.yeshi.fanli.entity.bus.user.UserSystemCoupon; import com.yeshi.fanli.entity.push.PushCoupon; import com.yeshi.fanli.entity.push.PushCouponRecord; -import com.yeshi.fanli.exception.PushException; import com.yeshi.fanli.exception.push.PushCouponException; +import com.yeshi.fanli.exception.push.PushException; import com.yeshi.fanli.service.inter.config.ConfigService; import com.yeshi.fanli.service.inter.push.PushCouponRecordService; import com.yeshi.fanli.service.inter.push.PushCouponService; @@ -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