/** 获取财务室各项收入 */
 public void getCount() {
   if (ContentUtils.getLoginStatus(this)) { // 获取登陆状态
     if (!TextUtils.isEmpty(userShopInfoBean.getBusinessId())) { // 获取店铺id是否为空
       getUserAccount(); // 账户总额
       getShopAccount(); // 店铺总额
       getBalance(); // 可用余额
       getAmountinCash(); // 提现中金额
       getShopAccountToday(); // 店铺今日收入
     }
   }
 }
 @Override
 protected void onTitleRightClickTv() {
   super.onTitleRightClickTv();
   boolean isLogin = ContentUtils.getLoginStatus(this);
   boolean re = false;
   switch (curPosition) {
     case POSITION0:
       re = JumpIntent.jumpLogin_addShop(isLogin, API.SHOPS, this);
       if (re) {
         isChange = true;
         ChangeShopActivity.myShopChange = this;
         Intent intent_more = new Intent(this, ChangeShopActivity.class);
         startActivity(intent_more);
       }
       break;
   }
 }
  private void setShoyYeTitle() {
    if (ContentUtils.getLoginStatus(this)) {
      if (!(TextUtils.isEmpty(userShopInfoBean.getShopName())
          || null == userShopInfoBean.getShopName())) {
        setPageTitle(userShopInfoBean.getShopName());
      }
    } else {
      setPageTitle("首页");
    }
    // System.out.println("userShopInfoBean.getShopName()---"+userShopInfoBean.getShopName());
    // if (TextUtils.isEmpty(userShopInfoBean.getShopName())
    // || null == userShopInfoBean.getShopName()) {
    // setPageTitle("首页");
    // } else {
    // setPageTitle(userShopInfoBean.getShopName());
    // }

  }
 @Override
 protected void onTitleRightClick1() {
   super.onTitleRightClick1();
   boolean isLogin = ContentUtils.getLoginStatus(this);
   boolean re = false;
   switch (curPosition) {
     case POSITION0: // 二维码扫描
       // re = JumpIntent.jumpLogin_addShop(isLogin, API.SWEEP, this);
       // if (re) {
       // // pickImage();
       // startActivityForResult((new Intent(this,
       // OrderProductActivity.class)),
       // GlzxPagerFragment.OrderProductActivity_code);
       // }
       break;
     case POSITION3: // 其他
       re = JumpIntent.jumpLogin_addShop1(isLogin, API.OTHER, this);
       if (re) {
         Intent intent_more = new Intent(this, OtherActivity.class);
         startActivityForResult(intent_more, OTHERACTIVITY_CODE);
       }
       break;
   }
 }
  /** 获取已有的服务商城列表 */
  public void getServiceMall() {
    if (ContentUtils.getLoginStatus(this) && !TextUtils.isEmpty(userShopInfoBean.getBusinessId())) {
      okHttpsImp.getMoreServerMall(
          new MyResultCallback<String>() {

            @Override
            public void onResponseResult(Result result) {
              String reString = result.getData();
              if (!TextUtils.isEmpty(reString)) {
                try {
                  JSONObject jsonObject = new JSONObject(reString);
                  reString = jsonObject.getString("appsList");
                  if (null != reString) {
                    mDatas.clear();
                    mDatas =
                        (ArrayList<ShouyeServiceBean>)
                            JSON.parseArray(reString, ShouyeServiceBean.class);

                    typeUserDownload(mDatas);

                    ShouyeServiceBean service = new ShouyeServiceBean();
                    service.setDefaultservice(2);
                    service.setAppName("收款");
                    service.setId(99);
                    mDatas.add(0, service);

                    ShouyeServiceBean endservie = new ShouyeServiceBean();
                    endservie.setDefaultservice(1);
                    endservie.setAppName("服务商城");
                    endservie.setId(100);
                    mDatas.add(mDatas.size(), endservie);
                    setFill();

                    ((ShouYeFragment) fm_shouye).getServiceMall(mDatas);
                  }
                } catch (JSONException e) {
                  e.printStackTrace();
                }
              }
            }

            @Override
            public void onResponseFailed(String msg) {
              filltheseats();
            }
          },
          BaseActivity.userShopInfoBean.getBusinessId());
    } else {

      new Handler()
          .postDelayed(
              new Runnable() {

                @Override
                public void run() {
                  filltheseats();
                }
              },
              50);
    }
  }
 public void postCID() {
   if (ContentUtils.getLoginStatus(this)) {
     postClientId();
   }
 }