Skip to content

Commit 82476ba

Browse files
committed
tk.mybatis.spring.annotation.MapperScan;
1 parent 3ef6905 commit 82476ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/tk/mybatis/springboot/Application.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package tk.mybatis.springboot;
22

3-
import org.mybatis.spring.annotation.MapperScan;
3+
//特别注意,下面的是 tk.MapperScan
4+
45
import org.slf4j.Logger;
56
import org.slf4j.LoggerFactory;
67
import org.springframework.boot.CommandLineRunner;
@@ -10,6 +11,7 @@
1011
import org.springframework.web.bind.annotation.RequestMapping;
1112
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
1213
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
14+
import tk.mybatis.spring.annotation.MapperScan;
1315

1416
/**
1517
* @author liuzh

0 commit comments

Comments
 (0)