/// <summary>
 /// 更新交易规则_交易方向_交易单位_交易量(最小交易单位)数据
 /// </summary>
 /// <param name="model">交易规则_交易方向_交易单位_交易量(最小交易单位)实体</param>
 public bool UpdateXHMinVolumeOfBus(ManagementCenter.Model.XH_MinVolumeOfBusiness model)
 {
     try
     {
         return(xH_MinVolumeOfBusinessDAL.UpdateXHMinVolumeOfBus(model));
     }
     catch (Exception ex)
     {
         string      errCode   = "GL-5302";
         string      errMsg    = "更新交易规则_交易方向_交易单位_交易量(最小交易单位)数据失败!";
         VTException exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), exception.InnerException);
         return(false);
     }
 }
        /// <summary>
        /// 添加交易规则_交易方向_交易单位_交易量(最小交易单位)
        /// </summary>
        /// <param name="model">交易规则_交易方向_交易单位_交易量(最小交易单位)实体</param>
        /// <returns></returns>
        public int Add(ManagementCenter.Model.XH_MinVolumeOfBusiness model)
        {
            try
            {
                return(xH_MinVolumeOfBusinessDAL.Add(model));
            }
            catch (Exception ex)
            {
                string      errCode   = "GL-5300";
                string      errMsg    = "添加交易规则_交易方向_交易单位_交易量(最小交易单位)失败!";
                VTException exception = new VTException(errCode, errMsg, ex);
                LogHelper.WriteError(exception.ToString(), exception.InnerException);

                return(AppGlobalVariable.INIT_INT);
            }
        }
Esempio n. 3
0
        /// <summary>
        /// 更新交易规则_交易方向_交易单位_交易量(最小交易单位)数据
        /// </summary>
        /// <param name="model">交易规则_交易方向_交易单位_交易量(最小交易单位)实体</param>
        public static bool UpdateXHMinVolumeOfBus(ManagementCenter.Model.XH_MinVolumeOfBusiness model)
        {
            XH_MinVolumeOfBusinessBLL xH_MinVolumeOfBusinessBLL = new XH_MinVolumeOfBusinessBLL();

            return(xH_MinVolumeOfBusinessBLL.UpdateXHMinVolumeOfBus(model));
        }
Esempio n. 4
0
        //================================ 交易规则_交易方向_交易单位_交易量(最小交易单位)方法 ================================

        #region 添加交易规则_交易方向_交易单位_交易量(最小交易单位)

        /// <summary>
        /// 添加交易规则_交易方向_交易单位_交易量(最小交易单位)
        /// </summary>
        /// <param name="xHMinVolumeOfBusiness"></param>
        /// <returns></returns>
        public static int AddXHMinVolumeOfBusiness(Entity.XH_MinVolumeOfBusiness xHMinVolumeOfBusiness)
        {
            XH_MinVolumeOfBusinessBLL xH_MinVolumeOfBusinessBLL = new XH_MinVolumeOfBusinessBLL();

            return(xH_MinVolumeOfBusinessBLL.Add(xHMinVolumeOfBusiness));
        }