mirror of https://gitee.com/y_project/RuoYi.git
update ruoyi-common/src/main/java/com/ruoyi/common/utils/reflect/ReflectUtils.java.
修正导入时字符类型为BigDecimal 的报错 Signed-off-by: andy <andyqh25@163.com>pull/553/head
parent
2b8d00b756
commit
b107b049ef
|
@ -208,6 +208,9 @@ public class ReflectUtils
|
|||
{
|
||||
args[i] = Convert.toBool(args[i]);
|
||||
}
|
||||
else if (cs[i] == BigDecimal.class) {
|
||||
args[i] = Convert.toBigDecimal(args[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return (E) method.invoke(obj, args);
|
||||
|
|
Loading…
Reference in New Issue