From 207dc8655711cddac2653e18b51e58a88dba2084 Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 06 三月 2020 18:14:36 +0800 Subject: [PATCH] 发圈处理 --- fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CollectionGoodsV2ServiceImpl.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CollectionGoodsV2ServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CollectionGoodsV2ServiceImpl.java index 162a8e2..e49bf3f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CollectionGoodsV2ServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/CollectionGoodsV2ServiceImpl.java @@ -35,7 +35,7 @@ @Resource private CommonGoodsService commonGoodsService; - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void addCollection(Long uid, TaoBaoGoodsBrief goods) throws CollectionGoodsException { if (uid == null || uid == 0) @@ -66,7 +66,7 @@ } - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void addJDCollection(Long uid, JDGoods jdGoods) throws CollectionGoodsException { if (uid == null || uid == 0) @@ -97,7 +97,7 @@ } - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void addPDDCollection(Long uid, PDDGoodsDetail goods) throws CollectionGoodsException { if (uid == null || uid == 0) @@ -149,7 +149,7 @@ collectionGoodsV2Mapper.insertSelective(goods); } - @Transactional + @Transactional(rollbackFor=Exception.class) @Override public void cancelCollection(Long uid, Long id) throws CollectionGoodsException { if (uid == null || uid == 0) -- Gitblit v1.8.0