package com.wxs.tkmybatis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @Description:
 * @Author:Wuxinshui
 * @Date:2017/4/18 20:19
 */
@EnableWebMvc
@SpringBootApplication
@ComponentScan(basePackages = "com.wxs.tkmybatis")
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}

@@ -21,16 +21,65 @@
 batis;%0A%0A
+import org.mybatis.spring.annotation.MapperScan;%0A
 import o
@@ -113,32 +113,32 @@
 ingApplication;%0A
-
 import org.sprin
@@ -194,69 +194,8 @@
 on;%0A
-import org.springframework.context.annotation.ComponentScan;%0A
 impo
@@ -375,17 +375,14 @@
 on%0A@
-Component
+Mapper
 Scan
@@ -415,16 +415,23 @@
 kmybatis
+.mapper
 %22)%0Apubli

add MapperScan