Exemplo n.º 1
0
        /// <summary>
        /// 添加库别
        /// </summary>
        /// <param name="name">库别名称</param>
        /// <param name="description">描述</param>
        /// <param name="operateid">操作人</param>
        /// <param name="clientid">客户端ID</param>
        /// <returns></returns>
        public string AddWarehouseType(string name, string description, string operateid, string clientid)
        {
            var id  = Guid.NewGuid().ToString();
            var dal = new WarehouseDAL();

            if (dal.AddWarehouseType(id, name, description, operateid, clientid))
            {
                return(id.ToString());
            }
            return(string.Empty);
        }