diff --git a/mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/handlers/IJsonTypeHandler.java b/mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/handlers/IJsonTypeHandler.java index 3666bad74..49f5de58e 100644 --- a/mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/handlers/IJsonTypeHandler.java +++ b/mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/handlers/IJsonTypeHandler.java @@ -50,6 +50,6 @@ public interface IJsonTypeHandler { * @param obj 对象信息 * @return json字符串 */ - String toJson(Object obj); + String toJson(T obj); }