mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
升级mybatis-plus版本
This commit is contained in:
parent
e93b72bad7
commit
b029065187
@ -9,8 +9,6 @@ import com.github.yulichang.adapter.v3431.Adapter3431;
|
||||
import com.github.yulichang.adapter.v355.Adapter355;
|
||||
import lombok.Getter;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
/**
|
||||
* @author yulichang
|
||||
* @since 1.4.3
|
||||
@ -22,9 +20,7 @@ public class AdapterHelper {
|
||||
|
||||
|
||||
static {
|
||||
String lastAdapter = "3.5.9";
|
||||
String version = Optional.ofNullable(VersionUtils.getVersion()).orElse(lastAdapter);
|
||||
|
||||
String version = VersionUtils.getVersion();
|
||||
if (VersionUtils.compare(version, "3.5.6") >= 0) {
|
||||
adapter = new Adapter();
|
||||
} else if (VersionUtils.compare(version, "3.5.4") >= 0) {
|
||||
|
@ -44,12 +44,14 @@
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-solon-plugin</artifactId>
|
||||
<version>${mybatis.plus.version}</version>
|
||||
<version>[3.5.9,)</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-jsqlparser</artifactId>
|
||||
<version>${mybatis.plus.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user