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/shop/BanLiShopGoodsSetServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopGoodsSetServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopGoodsSetServiceImpl.java index cd17ff6..de3ff95 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopGoodsSetServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/shop/BanLiShopGoodsSetServiceImpl.java @@ -41,7 +41,7 @@ return banLiShopGoodsSetsMapper.selectByPrimaryKey(id); } - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void addSet(BanLiShopGoodsSets set) throws BanLiShopGoodsSetException, BanLiShopGoodsSetPayException { if (set.getId() == null)// 娣诲姞 -- Gitblit v1.8.0