using PMS.BusinessModels.Product; using PMS.EntityModels.Product; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace PMS.Interface.Product { /// /// 创 建 人:伍莲魁 /// 创建日期:2018-12-10 /// 功能描述:产品管理模块接口 public interface IProductModule { #region 产品系统配置 /// /// 获取产品信息datagrid /// /// 查询条件 /// 状态 /// string GetProductInfoDataGrid(string search, string states); /// /// 获取产品线Combobox /// /// string ProductInfoCombobox(); /// /// 获取产品功能Tree /// /// 按功能名称搜索条件 /// 开发状态 /// string GetProductFunctionTree(string ProductId,string search, string states); /// /// 返回dataTable /// /// /// /// /// DataTable GetProductFunctionDataTable(string ProductId, string search, string states); /// /// 通过ID获得产品线信息 /// /// 产品ID /// DataTable GetProductInfo(string id); /// /// 通过ID获取产品功能 /// /// /// DataTable GetProductFunInfo(string id); /// /// 产品线信息编辑 /// /// /// bool SaveProductInfo(FormProductModel model); /// /// 删除产品 /// /// /// bool DelProduct(string id); /// /// 获取产品功能树(treebox) /// /// string GetProdutFunTree(string id); /// /// 产品功能编辑 /// /// /// bool PostSaveProductFun(FormProductFunModel model); bool PostSaveProductFunInport(FormProductFunModel model); /// /// 产品功能删除 /// /// 产品ID /// bool DelProductFun(string id); /// /// 获取产品所有编码 /// /// /// string GetProductCode(); /// /// 客户获取所在项目的产品编码 /// /// /// string GetProductCodeBycustom(string ProjectId); #endregion #region 产品版本配置 /// /// 获取产品版本树 /// /// 产品ID /// 发布状态 /// string productVersionInfoTreeGrid(string ProductID, string States); /// /// 获取产品版本树 /// /// 产品ID /// string GetProdutVersionTree(string ProID); /// /// 根据ID获取产品版本的详情信息 /// /// 产品版本ID /// DataTable GetProductVerInfo(string id); /// /// 编辑产品版本信息 /// /// /// bool PostSaveProductVersion(ProductVersionModel emodel); /// /// 删除产品版本 /// /// /// bool PostDelProductVer(string id); /// /// 获取产品版本附件datagrid /// /// /// string ProductVerAnnexDataGrid(string ProductVerID); #endregion #region 项目产品模块 /// /// 根据项目ID获取项目下的产品模块 /// /// 项目ID /// string GetProductByProjectId(string id); #endregion /// /// 所有产品目录列表 /// /// string GetAllProducts(); /// /// 添加产品版本附件 /// /// bool AddVersionFile(ProductVersionFileModel model); /// /// 删除产品版本附件 /// /// /// bool DeleteProductVersionFile(string id); } }