mirror of
https://github.com/yin5980280/easy.git
synced 2026-09-03 07:26:58 +08:00
【U】修改spring data jpa逻辑删除某些逻辑
This commit is contained in:
@@ -99,6 +99,12 @@
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.org.easysite</groupId>
|
||||
<artifactId>easy-spring-boot-starter-data-jpa</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.org.easysite</groupId>
|
||||
<artifactId>easy-dlock-spring-boot-starter</artifactId>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package cn.org.easysite.spring.boot.data.jpa.autoconfigure;
|
||||
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
||||
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
|
||||
@@ -16,7 +17,7 @@ import cn.org.easysite.spring.boot.jpa.factory.bean.LogicJpaRepositoryFactoryBea
|
||||
* @link : cn.org.easysite.spring.boot.data.jpa.autoconfigure.LogicSpringDataJpaAutoConfiguration
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(prefix = "spring.data.jpa.logic.repositories", name = "enabled", havingValue = "true", matchIfMissing = true)
|
||||
@AutoConfigureAfter(JpaRepositoriesAutoConfiguration.class)
|
||||
@EnableJpaRepositories(repositoryBaseClass = LogicJpaRepositoryFactoryBean.class)
|
||||
public class LogicSpringDataJpaAutoConfiguration {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user