public List<CommonSport> buildBeanList(List list, int dataType) {
    List<CommonSport> CustomerList = null;
    CommonSport commonSport = null;
    if (list != null && !list.isEmpty()) {
      CustomerList = new ArrayList<CommonSport>();
      for (int i = 0; i < list.size(); i++) {
        commonSport = new CommonSport();
        Object[] bean = (Object[]) list.get(i);

        commonSport.setOTreminal(findTerminalById(Common.StringToLong(bean[0] + "")));
        commonSport.setNTerminal(findTerminalById(Common.StringToLong(bean[1] + "")));
        commonSport.setNmOFlush(Common.StringToLong(bean[2].toString()));
        commonSport.setNmFlush(Common.StringToLong(bean[3].toString()));
        commonSport.setIntYear(Common.StringToInt(bean[4] + ""));
        commonSport.setIntMonth(Common.StringToInt(bean[5] + "")); // 月
        commonSport.setIntDay(Common.StringToInt(bean[7] + "")); // 日
        commonSport.setIntWeek(Common.StringToInt(bean[6] + "")); // 周
        commonSport.calculateData();
        commonSport.setSpanDate(dataType + 1);
        if (dataType == 0) commonSport.setStatdate(commonSport.getStatdate().split(" ")[0]);
        CustomerList.add(commonSport);
      }
    }
    return CustomerList;
  }