From 967b3ae52765d9096770dfc7a2942f8c257e4a19 Mon Sep 17 00:00:00 2001 From: "Roger.Chen" Date: Thu, 4 Feb 2021 10:55:55 +0800 Subject: [PATCH] =?UTF-8?q?DEC-16606=20fix:=20=E5=B9=B3=E5=8F=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=E5=8F=82=E6=95=B0=E5=85=AC=E5=BC=8F=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E9=94=99=E8=AF=AF=20=E4=BD=BF=E7=94=A8fine-kitjar?= =?UTF-8?q?=E5=8C=85=E4=B8=AD=E7=9A=84=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/fr/plugin/db/redis/bean/ParameterBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/fr/plugin/db/redis/bean/ParameterBean.java b/src/main/java/com/fr/plugin/db/redis/bean/ParameterBean.java index b529851..cf92013 100644 --- a/src/main/java/com/fr/plugin/db/redis/bean/ParameterBean.java +++ b/src/main/java/com/fr/plugin/db/redis/bean/ParameterBean.java @@ -1,6 +1,7 @@ package com.fr.plugin.db.redis.bean; import com.fanruan.api.cal.ParameterKit; +import com.fanruan.api.util.GeneralKit; import com.fanruan.api.util.StringKit; import com.fr.general.GeneralUtils; import com.fr.stable.ParameterProvider; @@ -62,7 +63,7 @@ public class ParameterBean { public static ParameterBean createBean(ParameterProvider parameterProvider) { if (parameterProvider.getValue() != null) { - return new ParameterBean(parameterProvider.getValue().getClass().getSimpleName(), parameterProvider.getName(), GeneralUtils.objectToString(parameter.getValue())); + return new ParameterBean(parameterProvider.getValue().getClass().getSimpleName(), parameterProvider.getName(), GeneralKit.objectToString(parameterProvider.getValue())); } else { return new ParameterBean(String.class.getSimpleName(), parameterProvider.getName(), StringKit.EMPTY); }