Advertisement

Mybatis-plus入门(三)整合Spring Boot、Mybatis及MP框架

阅读量:

前言

本章内容主要介绍如何将Spring Boot、MyBatis以及MyBatis Plus三者进行有效整合与协同应用。

一、整合springboot & mybatis & MP

1.创建工程

在这里插入图片描述
  • 1.1 引入所需模块
复制代码
    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    
    <groupId>cn.mikasa.mp2</groupId>

全部评论 (0)

还没有任何评论哟~