From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelGoodsServiceImpl.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelGoodsServiceImpl.java index 865387e..997004a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelGoodsServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelGoodsServiceImpl.java @@ -16,8 +16,8 @@ import com.yeshi.fanli.entity.bus.lable.LabelGoods; import com.yeshi.fanli.entity.common.AdminUser; import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; -import com.yeshi.fanli.exception.LabelClassException; -import com.yeshi.fanli.exception.LabelGoodsException; +import com.yeshi.fanli.exception.goods.quality.LabelClassException; +import com.yeshi.fanli.exception.goods.quality.LabelGoodsException; import com.yeshi.fanli.service.inter.goods.TaoBaoGoodsBriefService; import com.yeshi.fanli.service.inter.lable.LabelGoodsService; import com.yeshi.fanli.service.inter.lable.LabelService; @@ -53,14 +53,14 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public int deleteBatchById(long[] ids) throws LabelGoodsException{ return labelGoodsMapper.deleteBatchByPrimaryKey(ids); } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void deleteByGoodsId(List<String> ids) throws LabelGoodsException { if (ids != null && ids.size() > 0) { @@ -126,7 +126,7 @@ @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void addBatchByLabId(TaoBaoGoodsBrief taoBaoGoodsBrief, List<String> labIdList, AdminUser admin) throws Exception { List<LabelGoods> addList = new ArrayList<LabelGoods>(); @@ -155,7 +155,7 @@ @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void batchGoodsAddLables(List<Long> goodsIdList, List<Long> labIdList, AdminUser admin) throws Exception { /* 鍟嗗搧id 涓虹┖ 涓嶅鐞� */ @@ -217,7 +217,7 @@ @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void singleGoodsAddLables(Long goodsId, List<Long> labIdList, AdminUser admin) throws Exception { /* 鍟嗗搧id 涓虹┖ 涓嶅鐞� */ -- Gitblit v1.8.0