From 437add4d9fdf6a00746ce803d65aaa4e58f7145a Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Wed, 17 Jun 2020 09:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0download=20readonly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/cm/common/config/TransactionConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud-common/src/main/java/com/cm/common/config/TransactionConfig.java b/cloud-common/src/main/java/com/cm/common/config/TransactionConfig.java index bc8d3ba..4a78552 100644 --- a/cloud-common/src/main/java/com/cm/common/config/TransactionConfig.java +++ b/cloud-common/src/main/java/com/cm/common/config/TransactionConfig.java @@ -63,6 +63,7 @@ public class TransactionConfig { source.addTransactionalMethod("list*", readOnly); source.addTransactionalMethod("count*", readOnly); source.addTransactionalMethod("is*", readOnly); + source.addTransactionalMethod("download*", readOnly); return new TransactionInterceptor(transactionManager, source); }