/// <summary> /// 添加货位 /// </summary> /// <param name="depotcode">货位编码</param> /// <param name="wareid">仓库ID</param> /// <param name="name">名称</param> /// <param name="status">状态</param> /// <param name="description">描述</param> /// <param name="operateid"></param> /// <param name="clientid"></param> /// <returns></returns> public string AddDepotSeat(string depotcode, string wareid, string name, int status, string description, string operateid, string clientid) { var id = Guid.NewGuid().ToString(); var dal = new WarehouseDAL(); if (dal.AddDepotSeat(id, depotcode, wareid, name, status, description, operateid, clientid)) { return(id.ToString()); } return(string.Empty); }