Skip to content

Commit

Permalink
与mp3.5.3.1兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyning committed Jan 29, 2023
1 parent 0f5f366 commit 3583b5f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mpp的lambda方式(1.7.0中使用@com.MPP@col)<br>
<dependency>
<groupId>com.github.jeffreyning</groupId>
<artifactId>mybatisplus-plus</artifactId>
<version>1.7.2-RELEASE</version>
<version>1.7.3-RELEASE</version>
</dependency>
````

Expand Down Expand Up @@ -412,9 +412,9 @@ mybatisplus-plus1.5.0兼容mybatisplus3.3.1(mybatis3.5.3)到最新版mybatisplus
mybatisplus-plus1.5.1与最高到mybatisplus3.4.3.1兼容
(mybatisplus-plus1.5.1与mybatisplus3.4.3不兼容,mybatisplus3.4.3自身有bug无法使用,报sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class)
(mybatisplus-plus1.5.1与mybatisplus3.4.3.2不兼容,报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found))
mybatisplus-plus1.6.0与mybatisplus3.4.3.2+兼容(已经测试到mybatisplus3.5.2 2022118
mybatisplus-plus1.7.0兼容jdk11(删除了自定义ognl根路径功能)(与mpp1.6.0的兼容范围一致 已经测试到mybatisplus3.5.2 2022118

mybatisplus-plus1.6.0与mybatisplus3.4.3.2到mybatisplus3.5.2兼容(已经测试到mybatisplus3.5.2 2022118 )(与mybatisplus3.5.3不兼容)
mybatisplus-plus1.7.0兼容jdk11(删除了自定义ognl根路径功能)(1.7.0/1.7.1/1.7.2 与mpp1.6.0的兼容范围一致
mybatisplus-plus1.7.3与mybatisplus3.5.1+兼容(已经测试到mybatisplus3.5.3.1 20230129)
**demo下载**
欢迎添加mpp技术交流qq群 **1028241274** 从群文件中下载各版本demo
或者从网盘中下载demo,下载密码需要搜索"爱好与编程"订阅公众号,回复"plus"获取
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.jeffreyning</groupId>
<artifactId>mybatisplus-plus</artifactId>
<version>1.7.2-RELEASE</version>
<version>1.7.3-RELEASE</version>
<dependencies>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3.2</version>
<version>3.5.3.1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
*/
public class DeleteByMultiIdMethod extends AbstractMethod {
private static final Logger logger = LoggerFactory.getLogger(DeleteByMultiIdMethod.class);

//for mp 5.3.5.1
public DeleteByMultiIdMethod(){
super("deleteByMultiId");
}

private String getCol(List<TableFieldInfo> fieldList, String attrName){
for(TableFieldInfo tableFieldInfo: fieldList){
String prop=tableFieldInfo.getProperty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
*/
public class SelectByMultiIdMethod extends AbstractMethod {
private static final Logger logger = LoggerFactory.getLogger(SelectByMultiIdMethod.class);

public SelectByMultiIdMethod(){
super("selectByMultiId");
}

private String getCol(List<TableFieldInfo> fieldList, String attrName){
for(TableFieldInfo tableFieldInfo: fieldList){
String prop=tableFieldInfo.getProperty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
*/
public class UpdateByMultiIdMethod extends AbstractMethod {
private static final Logger logger = LoggerFactory.getLogger(UpdateByMultiIdMethod.class);
//for mp 5.3.5.1
public UpdateByMultiIdMethod(){
super("updateByMultiId");
}


private String getCol(List<TableFieldInfo> fieldList, String attrName){
for(TableFieldInfo tableFieldInfo: fieldList){
String prop=tableFieldInfo.getProperty();
Expand Down

0 comments on commit 3583b5f

Please sign in to comment.