From 79ea414897eba7feca498ae96474349a03bb7b1c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 19 十二月 2019 15:14:50 +0800 Subject: [PATCH] 修改事务回滚异常 --- fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java index 59fa6f8..753373e 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackWinInviteServiceImpl.java @@ -252,7 +252,7 @@ * @param orderNo * @param bossId */ - @Transactional + @Transactional(rollbackFor=Exception.class) private void twoStageRewardToBoss(Long bossId, Long teamUid, Date oneStageTime, Integer source, String orderNo) throws Exception { // 绗竴闃舵瀹屾垚涔嬪悗鐨�90澶╁唴 ; 闃熷弸浜х敓鐨勮鍗曚腑锛堣嚜璐�+鍒嗕韩锛夛紝閭�璇蜂汉绱浜х敓鈮�1 鍏冨閲� @@ -305,7 +305,7 @@ * @param orderNo * @param bossId */ - @Transactional + @Transactional(rollbackFor=Exception.class) private void threeStageRewardToBoss(Long bossId, Long teamUid, Date twoStageTime, Integer source, String orderNo) throws Exception { // 浜屻�佷笁闃舵涓嶅彲鍚屾湀 -- Gitblit v1.8.0