if(oConvertUtils.isEmpty(sql)){
return null;
}
List<Map<String, Object>> result = jdbcDao.findForJdbc(sql, 1, 1);
if(result.size()<1){
throw new BusinessException("该报表sql没有数据");
}
Set fieldsSet= result.get(0).keySet();
List<String> fileds = new ArrayList<String>(fieldsSet);
return fileds;
}