//================================港股交易费用 方法 ================================

        #region 获取所有港股交易费用

        /// <summary>
        /// 获取所有港股交易费用
        /// </summary>
        /// <param name="BreedClassName">品种名称</param>
        /// <param name="pageNo">当前页</param>
        /// <param name="pageSize">显示记录数</param>
        /// <param name="rowCount">总行数</param>
        /// <returns></returns>
        public static DataSet GetAllHKSpotCosts(string BreedClassName, int pageNo, int pageSize,
                                                out int rowCount)
        {
            HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();

            return(hK_SpotCostsBLL.GetAllHKSpotCosts(BreedClassName, pageNo, pageSize, out rowCount));
        }
 /// <summary>
 /// 根据品种标识返回港股_交易费用
 /// </summary>
 /// <param name="breedClassID">品种标识</param>
 /// <returns></returns>
 public Entity.HK_SpotCosts GetHKSpotCostsByBreedClassID(int breedClassID)
 {
     try
     {
         LogHelper.WriteDebug("Debug-8609根据品种标识返回港股_交易费用方法名称:GetHKSpotCostsByBreedClassID(int breedClassID)参数是:" + breedClassID + "时间是:" + DateTime.Now);
         HK_SpotCostsBLL            hK_SpotCostsBLL  = new HK_SpotCostsBLL();
         List <Entity.HK_SpotCosts> hK_SpotCostsList =
             hK_SpotCostsBLL.GetListArray(string.Format("BreedClassID={0}", breedClassID));
         if (hK_SpotCostsList.Count > 0)
         {
             Entity.HK_SpotCosts hK_SpotCosts = hK_SpotCostsList[0];
             if (hK_SpotCosts != null)
             {
                 return(hK_SpotCosts);
             }
         }
         return(null);
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8609";// "GL-8405";
         string      errMsg  = "根据品种标识返回港股_交易费用失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
 /// <summary>
 /// 获取所有的港股_交易费用
 /// </summary>
 /// <returns></returns>
 public List <Entity.HK_SpotCosts> GetAllHKSpotCosts()
 {
     try
     {
         LogHelper.WriteDebug("Debug-8608获取所有的港股_交易费用方法名称:GetAllHKSpotCosts()" + DateTime.Now);
         HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();
         return(hK_SpotCostsBLL.GetListArray(string.Empty));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8608";// "GL-8404";
         string      errMsg  = "获取所有的港股_交易费用失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
        /// <summary>
        /// 是否存在港股交易费用记录
        /// </summary>
        public static bool ExistsHKSpotCosts(int BreedClassID)
        {
            HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();

            return(hK_SpotCostsBLL.ExistsHKSpotCosts(BreedClassID));
        }
        /// <summary>
        /// 更新港股交易费用
        /// </summary>
        /// <param name="model">港股交易费用实体</param>
        /// <returns></returns>
        public static bool UpdateHKSpotCosts(ManagementCenter.Model.HK_SpotCosts model)
        {
            HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();

            return(hK_SpotCostsBLL.UpdateHKSpotCosts(model));
        }
        /// <summary>
        /// 根据品种ID得到港股交易费用对象实体
        /// </summary>
        /// <param name="BreedClassID">品种ID</param>
        /// <returns></returns>
        public static ManagementCenter.Model.HK_SpotCosts GetHKSpotCostsModel(int BreedClassID)
        {
            HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();

            return(hK_SpotCostsBLL.GetModel(BreedClassID));
        }
        /// <summary>
        /// 根据港股交易费用表中的品种ID获取品种名称
        /// </summary>
        /// <returns></returns>
        public static DataSet GetHKSpotCostsBreedClassName()
        {
            HK_SpotCostsBLL hK_SpotCostsBLL = new HK_SpotCostsBLL();

            return(hK_SpotCostsBLL.GetHKSpotCostsBreedClassName());
        }