From eda5d0e998204c7a49ab84d8528569b765bec2f9 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期五, 20 十二月 2019 10:05:10 +0800 Subject: [PATCH] 品牌日志 --- fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java index 66b56ac..867cbb0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/FloatADServiceImpl.java @@ -165,7 +165,7 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void updateOrder(Long id, Integer moveType) throws FloatADException { if (id == null || moveType == null || (!moveType.equals(1) && !moveType.equals(-1))) { @@ -198,7 +198,7 @@ } @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public int deleteByPrimaryKeyList(List<Long> list) throws Exception{ List<FloatAD> listSwiper = floatADMapper.ListByPrimaryKey(list); -- Gitblit v1.8.0