update ruoyi-common/src/main/java/com/ruoyi/common/utils/reflect/ReflectUtils.java.

修正导入时字符类型为BigDecimal 的报错

Signed-off-by: andy <andyqh25@163.com>
pull/553/head
andy 2025-05-12 06:09:38 +00:00 committed by Gitee
parent 2b8d00b756
commit b107b049ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

View File

@ -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);