mirror of https://gitee.com/y_project/RuoYi.git
!230 update ruoyi-common/src/main/java/com/ruoyi/common/utils/reflect/ReflectUtils.java.
Merge pull request !230 from fatfish517/N/Apull/230/MERGE
commit
c0d66fffcd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue