From 79ea414897eba7feca498ae96474349a03bb7b1c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 19 十二月 2019 15:14:50 +0800 Subject: [PATCH] 修改事务回滚异常 --- fanli/src/main/java/com/yeshi/fanli/service/impl/help/HelpCenterServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/help/HelpCenterServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/help/HelpCenterServiceImpl.java index ecb6f1a..1443657 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/help/HelpCenterServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/help/HelpCenterServiceImpl.java @@ -264,7 +264,7 @@ @Override - @Transactional + @Transactional(rollbackFor=Exception.class) public void deleteInfoBatchById(List<String> idList) throws HelpCenterException { if (idList != null) { for (String id : idList) { -- Gitblit v1.8.0