@Override
 public void getData(HashMap<String, Object> resultMap) {
   if (resultMap != null) {
     if (ICSToast.operateResult(resultMap)) {
       MainActivityControl.backFragment(0, 1);
       ICSToast.showToast(R.string.opeartion_success_text, activity);
     } else {
       ICSToast.showToast(R.string.opeartion_success_text, activity);
     }
   }
 }
 @Override
 public void getData(HashMap<String, Object> resultMap) {
   // 将标记改为没有加载数据
   loadDataFlag = false;
   if (resultMap != null) {
     // 判断获取数据是否正常  异常时弹出提示信息
     if (ICSToast.operateResult(resultMap)) {
       ArrayList<HashMap<String, Object>> resultDataList =
           (ArrayList<HashMap<String, Object>>) resultMap.get("dataList");
       int dataTotalNumber = Integer.valueOf(resultMap.get("totalNumber") + "");
       if (resultDataList != null) {
         if (refrechToUpFlag) {
           existData = true;
           resultStartTime = resultMap.get("startTime") + "";
           resultEndTime = resultMap.get("endTime") + "";
           dataList = resultDataList;
         } else {
           dataList.addAll(resultDataList);
         }
         // 通知数据发生改变
         adapter.notifyDataSetChanged();
       }
       if (dataList.size() > 0 && dataTotalNumber < dataNumber) {
         existData = false;
       }
     }
   }
 }