摘要:
BaseMapper 接口方法介绍 BaseMapper 中提供了 CRUD 方法,具体方法如下: // 插入一条记录 int insert(T entity); // 根据 entity 条件,删除记录 int delete(@Param(Constants.WRAPPER) Wrapper<T> 阅读全文
摘要:
步骤1:创建 maven 工程 创建一个空 Maven 工程,如下: 步骤2:pom.xml 文件中添加 MyBatisPlus 相关依赖 <dependencies> <!-- mybatispulus 依赖--> <dependency> <groupId>com.baomidou</group 阅读全文