issues
search
jeecgboot
/
autopoi
AutoPOI 功能如同名字auto,追求的就是自动化,让一个没接触过poi的人员,可以傻瓜化的快速实现Excel导入导出、Word模板导出、可以仅仅5行代码就可以完成Excel的导入导出。
http://www.jeecg.com
Apache License 2.0
479
stars
205
forks
source link
Bug Found: org.jeecgframework.poi.util.PoiElUtil.isTrue:
#11
Closed
pardream
closed
4 years ago
pardream
commented
4 years ago
/**
是不是真
@param keys
@param map
@return
@throws Exception */ private static Boolean isTrue(String[] keys, Map<String, Object> map) throws Exception { if (
keys.length == 0
) { String constant = null; if ((constant = isConstant(
keys[0]
)) != null) { return Boolean.valueOf(constant); } return Boolean.valueOf(PoiPublicUtil.getParamsValue(keys[0], map).toString()); } if (keys.length == 3) { Object first = eval(keys[0], map); Object second = eval(keys[2], map); return PoiFunctionUtil.isTrue(first, keys[1], second); } throw new ExcelExportException("判断参数不对"); }
/**