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

master
fatfish517 2020-11-24 10:48:34 +08:00 committed by Gitee
parent 30850c1fdf
commit a8b569a24d
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,8 @@ public class ReflectUtils
args[i] = DateUtil.getJavaDate((Double) args[i]);
}
}
else if (cs[i] == boolean.class|| cs[i] == Boolean.class) {
args[i] = Convert.toBool(args[i]);}
}
}
return (E) method.invoke(obj, args);