예제 #1
0
 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++;
     }
   }
 }
예제 #2
0
 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++;
     }
   }
 }
예제 #3
0
 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());
     }
   }
 }