From f111025b1c2c8bb95e64f4f9e23c09813b7938d2 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 24 十二月 2019 10:53:30 +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