1、工具化初始化spring boot项目
2、使用mybatis generator生成mybatis实体、Mapper、Xml
3、业务开发
场景:使用mybatis查询用户列表
设计:spring mvc、restful、druid、mysql、log4j2、tomcat
配置:port、DataSource、log、mybatis
结构:
4、日志
5、调试
附源码:点击打开链接
https://github.com/gsjzhbj/boot-mybatis.git
https://github.com/gsjzhbj/boot-mybatis.git
https://github.com/gsjzhbj/boot-mybatis.git
https://github.com/gsjzhbj/boot-mybatis.git