|
@@ -1,5 +1,6 @@
|
|
|
package com.fdkankan.extend;
|
|
|
|
|
|
+import org.mybatis.spring.annotation.MapperScan;
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
@@ -9,6 +10,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|
|
@SpringBootApplication
|
|
|
@EnableDiscoveryClient
|
|
|
@ComponentScan(basePackages = {"com.fdkankan.*"})
|
|
|
+@MapperScan("com.fdkankan.**.mapper")
|
|
|
public class ExtendApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|