mybatis-flex升级:1.8.7 => 1.8.8

This commit is contained in:
数据小王子 2024-04-19 09:20:53 +08:00
parent ae9c718ddd
commit e78c09ddbe
3 changed files with 23 additions and 3 deletions

View File

@ -7,7 +7,7 @@
## 1、平台简介 ## 1、平台简介
Ruoyi-Flex是一套全部开源的快速开发平台针对”分布式集群与多租户“场景全方位升级使用MIT开源许可协议毫无保留给个人及企业免费使用。基于RuoYi-Vue、RuoYi-Vue-Plus集成MyBatis-Flex、JDK21、SpringBootV3.2.X+、Lombok、Sa-Token、SpringDoc、Hutool、SpringBoot Admin、PowerJob、Vue3、Element-Plus、AntDesign-Vben、MinIO等优秀开源软件支持PostgreSQL、MySQL开源数据库及其衍生分布式数据库。 Ruoyi-Flex是一套全部开源的快速开发平台针对”分布式集群与多租户“场景全方位升级使用MIT开源许可协议毫无保留给个人及企业免费使用。基于RuoYi-Vue、RuoYi-Vue-Plus集成MyBatis-Flex、JDK21、SpringBootV3.2.X+、Lombok、Sa-Token、SpringDoc、Hutool、SpringBoot Admin、EasyRetry、PowerJob、Vue3、Element-Plus、AntDesign-Vben、MinIO、Flowable等优秀开源软件支持PostgreSQL、MySQL开源数据库及其衍生分布式数据库。
## 2、系统特色 ## 2、系统特色
Ruoyi-Flex秉承“写的更少、性能更好、出错更低、交流通畅、快速入门” 的理念,为您带来全方位的赋能与提升: Ruoyi-Flex秉承“写的更少、性能更好、出错更低、交流通畅、快速入门” 的理念,为您带来全方位的赋能与提升:

22
pom.xml
View File

@ -18,7 +18,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>21</java.version> <java.version>21</java.version>
<spring-boot.version>3.2.4</spring-boot.version> <spring-boot.version>3.2.4</spring-boot.version>
<mybatis-flex.version>1.8.7</mybatis-flex.version> <mybatis-flex.version>1.8.8</mybatis-flex.version>
<satoken.version>1.37.0</satoken.version> <satoken.version>1.37.0</satoken.version>
<HikariCP.version>5.1.0</HikariCP.version> <HikariCP.version>5.1.0</HikariCP.version>
<bitwalker.version>1.21</bitwalker.version> <bitwalker.version>1.21</bitwalker.version>
@ -68,6 +68,9 @@
<maven-compiler-plugin.verison>3.11.0</maven-compiler-plugin.verison> <maven-compiler-plugin.verison>3.11.0</maven-compiler-plugin.verison>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version> <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<!--工作流配置-->
<flowable.version>7.0.0</flowable.version>
</properties> </properties>
<profiles> <profiles>
@ -120,6 +123,15 @@
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
<!-- flowable 的依赖配置-->
<dependency>
<groupId>org.flowable</groupId>
<artifactId>flowable-bom</artifactId>
<version>${flowable.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- common 的依赖配置--> <!-- common 的依赖配置-->
<dependency> <dependency>
<groupId>com.ruoyi</groupId> <groupId>com.ruoyi</groupId>
@ -464,7 +476,6 @@
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- demo模块 --> <!-- demo模块 -->
<dependency> <dependency>
<groupId>com.ruoyi</groupId> <groupId>com.ruoyi</groupId>
@ -472,6 +483,13 @@
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 工作流模块 -->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-workflow</artifactId>
<version>${revision}</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>

View File

@ -2,6 +2,7 @@ package com.ruoyi.common.orm.core.domain;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import com.mybatisflex.annotation.Column; import com.mybatisflex.annotation.Column;
import jakarta.validation.constraints.NotNull;
import lombok.Data; import lombok.Data;
import java.io.Serial; import java.io.Serial;
@ -26,6 +27,7 @@ public class TreeEntity extends BaseEntity
/** 父亲ID */ /** 父亲ID */
@ExcelProperty(value = "上级编号") @ExcelProperty(value = "上级编号")
@NotNull(message = "上级编号不能为空")
private Long parentId; private Long parentId;
/** 显示顺序 */ /** 显示顺序 */