From 42f85532de2dd37796bcfb7e248d91a550edd74c Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Fri, 19 Aug 2022 10:49:25 +0800 Subject: [PATCH] file upload --- .../modules/file/service/impl/GaeaFileServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/file/service/impl/GaeaFileServiceImpl.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/file/service/impl/GaeaFileServiceImpl.java index fed43689..fdc1fabb 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/file/service/impl/GaeaFileServiceImpl.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/file/service/impl/GaeaFileServiceImpl.java @@ -123,8 +123,7 @@ public class GaeaFileServiceImpl implements GaeaFileService { // 将完整的http访问路径返回 return gaeaFile; } catch (Exception e) { - TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); - log.error("file upload error: {}", e); + log.error("file upload error", e); throw BusinessExceptionBuilder.build(ResponseCode.FILE_UPLOAD_ERROR); } }