Mybatis-plus 之 DIP

框架图
MyBatis-Plus(简称 MP)是一个 MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。

MP也是分层设计。
不同的模块,完成的不同的功能。
底层依赖于高层定义。
BaseMapper
通用 CRUD 封装BaseMapper接口,为
Mybatis-Plus
启动时自动解析实体表关系映射转换为Mybatis
内部对象注入容器泛型
T
为任意实体对象

版权声明: 本文为 InfoQ 作者【无心水】的原创文章。
原文链接:【http://xie.infoq.cn/article/586a466ef9b4d8d02f1d527e6】。文章转载请联系作者。
评论