|
@@ -10,6 +10,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.FilterType;
|
|
import org.springframework.context.annotation.FilterType;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
+import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
|
|
@SpringBootApplication
|
|
@SpringBootApplication
|
|
@EnableDiscoveryClient
|
|
@EnableDiscoveryClient
|
|
@@ -17,6 +18,7 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
|
@MapperScan("com.rongwei.*.*.dao")
|
|
@MapperScan("com.rongwei.*.*.dao")
|
|
//@EnableDistributedTransaction
|
|
//@EnableDistributedTransaction
|
|
@EnableAsync
|
|
@EnableAsync
|
|
|
|
+@EnableScheduling
|
|
@ComponentScan(basePackages = {"com.rongwei"},excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,
|
|
@ComponentScan(basePackages = {"com.rongwei"},excludeFilters = @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,
|
|
classes = {BaseMetaObjectHandler.class}))
|
|
classes = {BaseMetaObjectHandler.class}))
|
|
public class RwSaveCheckApplication {
|
|
public class RwSaveCheckApplication {
|