From 1d841af6d10c30b5eba4089a983c64fee662bbc9 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期二, 24 三月 2020 11:56:24 +0800
Subject: [PATCH] 发圈bug + 刷单预警改为100单

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/money/UserMoneyDebtServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/money/UserMoneyDebtServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/money/UserMoneyDebtServiceImpl.java
index e0d7115..86130d4 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/money/UserMoneyDebtServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/money/UserMoneyDebtServiceImpl.java
@@ -94,7 +94,7 @@
 		return userMoneyDebtMapper.selectByTypeAndSourceId(type, sourceId);
 	}
 
-	@Transactional
+	@Transactional(rollbackFor=Exception.class)
 	@Override
 	public void repayDebt(UserMoneyDebt debt, BigDecimal money) throws UserMoneyDebtException {
 		if (debt == null || debt.getId() == null)
@@ -207,7 +207,7 @@
 		}
 	}
 
-	@Transactional
+	@Transactional(rollbackFor=Exception.class)
 	@Override
 	public void repayDebt(Long uid) {
 		// 鏌ヨ鏄惁鏈夋瑺鍊�

--
Gitblit v1.8.0