Пример #1
0
 /// <summary>
 /// 根据交易规则委托量标识返回单笔委托量
 /// </summary>
 /// <param name="consignQuantumID">交易规则委托量标识</param>
 /// <returns></returns>
 public List <Entity.QH_SingleRequestQuantity> GetSingleRequestQuantityByConsignQuantumID(int consignQuantumID)
 {
     try
     {
         LogHelper.WriteDebug("Debug-8520根据交易规则委托量标识返回单笔委托量方法名称:GetSingleRequestQuantityByConsignQuantumID(int consignQuantumID)参数是:" + consignQuantumID + "时间是:" + DateTime.Now);
         QH_SingleRequestQuantityBLL qH_SingleRequestQuantityBLL = new QH_SingleRequestQuantityBLL();
         return(qH_SingleRequestQuantityBLL.GetListArray(string.Format("ConsignQuantumID={0}", consignQuantumID)));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8520";
         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.QH_SingleRequestQuantity> GetAllSingleRequestQuantity()
 {
     try
     {
         LogHelper.WriteDebug("Debug-8519获取所有的单笔委托量方法名称:GetAllSingleRequestQuantity()" + DateTime.Now);
         QH_SingleRequestQuantityBLL qH_SingleRequestQuantityBLL = new QH_SingleRequestQuantityBLL();
         return(qH_SingleRequestQuantityBLL.GetListArray(string.Empty));
     }
     catch (Exception ex)
     {
         string      errCode = "GL-8519";
         string      errMsg  = "获取所有的单笔委托量失败";
         VTException vte     = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(vte.ToString(), vte.InnerException);
         return(null);
     }
 }
        /// <summary>
        /// 根据交易规则委托量标识返回单笔委托量
        /// </summary>
        /// <param name="ConsignQuantumID">交易规则委托量标识</param>
        /// <returns></returns>
        public static List <Entity.QH_SingleRequestQuantity> GetQHSingleRQuantityListByConsignQuantumID(int ConsignQuantumID)
        {
            QH_SingleRequestQuantityBLL qH_SingleRequestQuantityBLL = new QH_SingleRequestQuantityBLL();

            return(qH_SingleRequestQuantityBLL.GetListArray(string.Format("ConsignQuantumID={0}", ConsignQuantumID)));
        }