|
@@ -1,5 +1,6 @@
|
|
1
|
package com;
|
1
|
package com;
|
|
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;
|
|
@@ -9,7 +10,7 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
|
9
|
import org.springframework.web.client.RestTemplate;
|
10
|
import org.springframework.web.client.RestTemplate;
|
|
10
|
|
11
|
|
|
11
|
@EnableEurekaClient
|
12
|
@EnableEurekaClient
|
|
12
|
-@SpringBootApplication
|
|
|
|
|
|
13
|
+@SpringBootApplication(exclude = ShardingSphereAutoConfiguration.class)
|
|
13
|
@MapperScan(basePackages = {"com.chinaitop.depot.**.mapper"})
|
14
|
@MapperScan(basePackages = {"com.chinaitop.depot.**.mapper"})
|
|
14
|
public class DepotIntelligentApplication {
|
15
|
public class DepotIntelligentApplication {
|
|
15
|
|
16
|
|