From 4d0c5d771b04d7ba32471df58c91c37dabe96bbf Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 24 十二月 2019 12:08:32 +0800 Subject: [PATCH] 返利订单到账时同时扣除维权金额 --- fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelServiceImpl.java index 5da3b12..e4f3f88 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/lable/LabelServiceImpl.java @@ -23,7 +23,7 @@ import com.yeshi.fanli.entity.bus.lable.Label; import com.yeshi.fanli.entity.bus.lable.LabelGoods; import com.yeshi.fanli.entity.common.AdminUser; -import com.yeshi.fanli.exception.LabelException; +import com.yeshi.fanli.exception.goods.quality.LabelException; import com.yeshi.fanli.service.inter.lable.LabelService; import com.yeshi.fanli.util.StringUtil; @@ -49,7 +49,7 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void insertList(List<Label> records,AdminUser admin) throws LabelException{ if (records != null && records.size() > 0) { for (Label label : records) { @@ -96,7 +96,7 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void updateList(List<Label> records) throws LabelException{ if (records != null && records.size() > 0) { for (Label label : records) { @@ -125,13 +125,13 @@ @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public int deleteBatchById(long[] ids) throws LabelException{ return labelMapper.deleteBatchByPrimaryKey(ids); } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void deleteBatchByPrimaryKey(List<Long> ids) throws LabelException { for (Long id : ids) { Label label = labelMapper.selectByPrimaryKey(id); -- Gitblit v1.8.0