public void pictureFile() { List<Chart> list = chartDao.pictureFile(new HashMap()); if (null != list && list.size() > 0) { System.out.println("图片文件记录"); int i = 0; for (Chart chart : list) { System.out.println("Name:" + chart.getName()); System.out.println("Total:" + chart.getTotal()); i++; } } }
public void articleDoc() { List<Chart> list = chartDao.articleDoc(new HashMap()); if (null != list && list.size() > 0) { System.out.println("下载记录"); int i = 0; for (Chart chart : list) { System.out.println("Name:" + chart.getName()); System.out.println("Total:" + chart.getTotal()); i++; } } }
public void find() { HashMap map = new HashMap(); map.put("limit", 10); map.put("tableName", "TBL_ARTICLE"); List<Chart> list = chartDao.find(map); if (null != list && list.size() > 0) { for (Chart chart : list) { System.out.println("TableName:" + chart.getTableName()); System.out.println("Name:" + chart.getName()); System.out.println("Total:" + chart.getTotal()); } } }