增加@MapperScan注解的时候,导入包为import tk.mybatis.spring.annotation.MapperScan;
不要选择 org.mybaties.spring.annotation.MapperScan
反省: Mybaties和springboot集成的知识还是理解的不透彻,熟悉
增加@MapperScan注解的时候,导入包为import tk.mybatis.spring.annotation.MapperScan;
不要选择 org.mybaties.spring.annotation.MapperScan
反省: Mybaties和springboot集成的知识还是理解的不透彻,熟悉