javaweb开发 idea ssm开发(二)

## dao整合mybatis 1. 添加依赖 2. 写公共接口 3. 继承接口 在子类中引入父类 ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212529658-1528481599.jpg) 引入依赖model ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212534663-1643155698.jpg) dao层创建mapper ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212537223-100296146.jpg) ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212539019-1066643414.jpg) ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212540602-1874414366.jpg) ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212542693-1288233551.jpg) ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212544953-1123766619.jpg) ## service 依赖dao 添加依赖 ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212547555-473344218.jpg) 创建 ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212549878-38171509.jpg) 本节结构 ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212553716-678647971.jpg) > 更多精彩文章请关注 [王明昌博客](https://www.wangmingchang.com)
posted @ 2019-11-15 21:26  程序员子枫  阅读(157)  评论(0编辑  收藏  举报