예제 #1
0
 /// <summary>
 /// 根据品种类型标识获取股票收盘价
 /// </summary>
 /// <param name="BreedClassTypeID">品种类型标识</param>
 /// <returns></returns>
 public List <Entity.ClosePriceInfo> GetAllClosePriceInfoByBreedClassTypeID(int BreedClassTypeID)
 {
     try
     {
         LogHelper.WriteDebug("Debug-8249根据品种类型标识获取股票收盘价方法名称:GetAllClosePriceInfoByBreedClassTypeID(int BreedClassTypeID)" + DateTime.Now);
         ClosePriceInfoBLL closePriceInfoBLL = new ClosePriceInfoBLL();
         return(closePriceInfoBLL.GetListArray(string.Format("BreedClassTypeID={0}", BreedClassTypeID)));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8249";
         string      errMsg  = "根据品种类型标识获取股票收盘价失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
예제 #2
0
 /// <summary>
 /// 获取所有的股票收盘价
 /// </summary>
 /// <returns></returns>
 public List <Entity.ClosePriceInfo> GetAllClosePriceInfo()
 {
     try
     {
         LogHelper.WriteDebug("Debug-8248获取所有的股票收盘价方法名称:GetAllClosePriceInfo()" + DateTime.Now);
         ClosePriceInfoBLL closePriceInfoBLL = new ClosePriceInfoBLL();
         return(closePriceInfoBLL.GetListArray(string.Empty));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8248";
         string      errMsg  = "获取所有的股票收盘价失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }