启动类不添加@Tran

This commit is contained in:
zhangzhiqiang
2022-12-30 15:47:36 +08:00
parent 384f15f92c
commit a130fc0f62

View File

@@ -32,7 +32,6 @@ import org.springframework.web.bind.annotation.RestController;
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
@ServletComponentScan //https://blog.csdn.net/qq_36850813/article/details/101194250
@EnableTransactionManagement
@EnableJpaAuditing(auditorAwareRef = "auditorAware")
@EnableMethodCache(basePackages = "org.nl")
@EnableCreateCacheAnnotation