|
@@ -1,5 +1,6 @@
|
|
1
|
package com.chinaitop.depot;
|
1
|
package com.chinaitop.depot;
|
|
2
|
|
2
|
|
|
|
|
3
|
+import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
|
|
3
|
import org.mybatis.spring.annotation.MapperScan;
|
4
|
import org.mybatis.spring.annotation.MapperScan;
|
|
4
|
import org.springframework.boot.SpringApplication;
|
5
|
import org.springframework.boot.SpringApplication;
|
|
5
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
6
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@@ -8,7 +9,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
8
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
9
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
9
|
|
10
|
|
|
10
|
@EnableEurekaClient
|
11
|
@EnableEurekaClient
|
|
11
|
-@SpringBootApplication
|
|
|
|
|
|
12
|
+@SpringBootApplication(exclude = ShardingSphereAutoConfiguration.class)
|
|
12
|
@EnableFeignClients
|
13
|
@EnableFeignClients
|
|
13
|
@EnableTransactionManagement
|
14
|
@EnableTransactionManagement
|
|
14
|
@MapperScan(basePackages = {"com.chinaitop.depot.system.mapper"})
|
15
|
@MapperScan(basePackages = {"com.chinaitop.depot.system.mapper"})
|