Commit 001b4c58 by QIANGLU

Merge branch 'dev' of http://gitlab.secoo.com:8090/mall/arch/matrix into dev

parents 5a0ea048 aebb4aed
......@@ -4,6 +4,7 @@ import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.TransactionDefinition;
......@@ -14,6 +15,7 @@ import javax.annotation.Resource;
@Aspect
@Component
@ConditionalOnProperty(value = "transaction.support.enabled",havingValue = "true")
public class AopTransaction {
@Resource
private PlatformTransactionManager transactionManager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment