From c7bc8e415fa6cf5e3dec7059e900008b2b2bc1df Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 14 二月 2020 13:27:09 +0800 Subject: [PATCH] 集成 Lombok + MybatisPlus 3.3.0 --- ruoyi/pom.xml | 41 +++++++++++++++++++++++++++++++++-------- 1 files changed, 33 insertions(+), 8 deletions(-) diff --git a/ruoyi/pom.xml b/ruoyi/pom.xml index b317c40..a3ebef2 100644 --- a/ruoyi/pom.xml +++ b/ruoyi/pom.xml @@ -35,6 +35,8 @@ <poi.version>3.17</poi.version> <oshi.version>3.9.1</oshi.version> <velocity.version>1.7</velocity.version> + <mybatis-plus.version>3.3.0</mybatis-plus.version> + <hutool.version>5.0.6</hutool.version> </properties> <dependencies> @@ -50,7 +52,6 @@ <groupId>org.springframework.boot</groupId> </exclusion> </exclusions> - --> </dependency> <!-- SpringBoot 娴嬭瘯 --> @@ -104,18 +105,24 @@ <scope>runtime</scope> </dependency> - <!-- SpringBoot闆嗘垚mybatis妗嗘灦 --> - <dependency> - <groupId>org.mybatis.spring.boot</groupId> - <artifactId>mybatis-spring-boot-starter</artifactId> - <version>${mybatis.spring.boot.starter.version}</version> - </dependency> +<!-- <!– SpringBoot闆嗘垚mybatis妗嗘灦 –>--> +<!-- <dependency>--> +<!-- <groupId>org.mybatis.spring.boot</groupId>--> +<!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> +<!-- <version>${mybatis.spring.boot.starter.version}</version>--> +<!-- </dependency>--> <!-- pagehelper 鍒嗛〉鎻掍欢 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>${pagehelper.spring.boot.starter.version}</version> + <exclusions> + <exclusion> + <groupId>org.mybatis</groupId> + <artifactId>mybatis</artifactId> + </exclusion> + </exclusions> </dependency> <!--闃块噷鏁版嵁搴撹繛鎺ユ睜 --> @@ -238,7 +245,25 @@ <artifactId>velocity</artifactId> <version>${velocity.version}</version> </dependency> - + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-boot-starter</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>mybatis-plus-extension</artifactId> + <version>${mybatis-plus.version}</version> + </dependency> + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>${hutool.version}</version> + </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + </dependency> </dependencies> <build> -- Gitblit v1.9.3