public static void main(String[] args) throws Exception { ConditionEntity conditionEntity = new ConditionEntity(); conditionEntity.setItemClassOneId("3"); // conditionEntity.setItemClassThirdId("3"); // System.out.println(ReportTool.getXname(conditionEntity)); System.out.println(ImgTool.isSelectDimension(conditionEntity)); }
/** * 功能:获取除去占比经营数据总收的其它图例Id(一二级别或,三四级别的ID) * * <p>作者 杨荣忠 2015-1-19 下午05:04:21 * * @param conditionEntity * @return */ public static String[] getZhabiDetachId(ConditionEntity conditionEntity, int type) { String[] array = ImgTool.getDimensionAllID(conditionEntity, type); String[] result_add = (String[]) ArrayUtils.remove(array, 0); // 除去主营图例ID return result_add; }