Parcourir la source

增加 EntityWrapper 序列号支持 dubbo 传递

hubin il y a 9 ans
Parent
commit
ffee77c1c6

+ 3 - 1
mybatis-plus/src/main/java/com/baomidou/mybatisplus/mapper/EntityWrapper.java

@@ -15,6 +15,7 @@
  */
 package com.baomidou.mybatisplus.mapper;
 
+import java.io.Serializable;
 import java.text.MessageFormat;
 
 import com.baomidou.mybatisplus.toolkit.StringUtils;
@@ -27,7 +28,8 @@ import com.baomidou.mybatisplus.toolkit.StringUtils;
  * @author hubin , yanghu , Dyang
  * @Date 2016-03-15
  */
-public class EntityWrapper<T> {
+@SuppressWarnings("serial")
+public class EntityWrapper<T> implements Serializable {
 
     /**
      * 数据库表映射实体类