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

Merge pull request !230 from fatfish517/N/A
pull/230/MERGE
若依 2020-11-28 11:27:10 +08:00 committed by Gitee
commit c0d66fffcd
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]); 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); return (E) method.invoke(obj, args);