mirror of
https://gitee.com/y_project/RuoYi-Vue.git
synced 2026-01-03 02:15:27 +08:00
Excel支持导入Boolean型数据
This commit is contained in:
@ -204,6 +204,10 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user