1
This commit is contained in:
@@ -178,7 +178,7 @@ public class MarketBenefitPointServiceImpl extends BaseServiceImpl<MarketBenefit
|
|||||||
|
|
||||||
@Recover
|
@Recover
|
||||||
public boolean recover(OptimisticLockException ex, Long from, Long to, BigDecimal amount) {
|
public boolean recover(OptimisticLockException ex, Long from, Long to, BigDecimal amount) {
|
||||||
log.error("重试失败", ex);
|
log.error("重试失败,from: [{}], to: [{}], amount: [{}] , ex: [{}]", from, to, amount ,ex.getMessage());
|
||||||
throw new RuntimeException("请稍后重试");
|
throw new RuntimeException("请稍后重试");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user