@Override
  protected boolean getTempValue(ControlMessage cm, BusinessMessage bm) {

    TempData cashTemp = (TempData) baseHibernateDao.get(TempData.class, bm.getOldPbSeqno());
    if (cashTemp == null) {
      bm.setResponseCode(GlobalConst.RESPONSECODE_FAILURE);
      bm.setResponseMsg("缴费失败,请拨打客服电话咨询!");
      cm.setResultCode(GlobalConst.RESULTCODE_FAILURE);
      cm.setResultMsg("缴费失败,现金查询时没有保存电费明细数据等重要信息!");
      logger.info("现金查询时,电力电费明细数据等信息没有保存,商户号:{} ", bm.getShopCode());
      return false;
    }
    if (bm.getCustomData() != null) {
      HeNDElecICCard customData = (HeNDElecICCard) bm.getCustomData();
      String[] split = String.valueOf(cashTemp.getTempValue()).split("\\^");
      customData.setCHECK_ID(split[0]);
      customData.setCONS_NO(split[1]);
      customData.setMETER_ID(split[2]);
      customData.setMETER_FLAG(split[3]);
      customData.setCARD_INFO(split[4]);
      customData.setIDDATA(split[5]);
      customData.setCONS_NAME(split[6]);
      customData.setCONS_ADDR(split[7]);
      customData.setPAY_ORGNO(split[8]);
      customData.setORG_NO(split[9]);
      customData.setCHARGE_CLASS(split[10]);
      customData.setFACTOR_VALUE(split[11]);
      customData.setPURP_PRICE(split[12]);
      customData.setCARD_NO(split[13]);
      customData.setOCS_MODE(split[14]);
      customData.setPRESET_VALUE(split[15]);
      bm.setCustomData(customData);
      return true;
    } else {
      return false;
    }
  }
  @Override
  protected String packField44(BusinessMessage bm) {

    logger.info("开始打包44位元");

    if (GlobalConst.RESPONSECODE_FAILURE.equals(bm.getResponseCode())) {
      return bm.getResponseMsg();
    }

    XAGasCashData cashData = (XAGasCashData) bm.getCustomData();

    StringBuffer str = new StringBuffer();
    str.append("用户名称:").append(cashData.getUserName()).append("\n");
    str.append("用户地址:").append(cashData.getUserAdd()).append("\n");
    str.append("账户余额:").append(cashData.getAccBalance()).append("\n");

    //		logger.info("查询显示:"+str.toString());
    bm.setResponseMsg(str.toString());
    return bm.getResponseMsg();
  }