C# Class HYPDM.BLL.AllProductService

Inheritance: BaseServiceObject, HYPDM.BLL.IAllProductService
Afficher le fichier Open project: huayancreate/HYPDM

Méthodes publiques

Méthode Description
CopyAllAsso ( PDM_ALL_PRODUCT p_OldProduct, PDM_ALL_PRODUCT p_NewProduct ) : void
DelAssoDoc ( String p_DocId, String p_DocVersion, String p_ProductId, String p_MaterailVersion ) : void
DelAssoDraw ( String p_DocId, String p_DocVersion, String p_ProductId, String p_MaterailVersion ) : void
DelProductList ( String p_id ) : void
DelProductList ( String p_id, String p_user ) : void

根据主键删除半成品记录

GetAssoDoc ( String p_ProductId, String p_version ) : DataTable
GetAssoDraw ( String p_ProductId, String p_version ) : DataTable
GetById ( String p_id ) : PDM_ALL_PRODUCT
GetDocList ( String p_ProductId, String p_version, int p_type, String p_value ) : DataTable
GetDrawList ( String p_ProductId, String p_version, int p_type, String p_value ) : DataTable
GetListByNo ( string p_productNo ) : DataTable

根据产品编号获取所有该产品的版本(模糊查询)

GetListByNoDetail ( string p_productNo ) : DataTable

根据产品编号获取所有该产品的版本(精确查询)

GetMaxID ( ) : int
GetProductByPage ( PDM_ALL_PRODUCT c, int currentpage, int pagesize ) : DataSet

调用存储过程,用于插入产品结构时排序的序号加1.

GetProductByPage ( int currentpage, int pagesize ) : DataSet

调用存储过程,用于分页查询.

GetProductList ( ) : DataTable
GetProductList ( PDM_ALL_PRODUCT c ) : DataTable
GetProductList ( PDM_ALL_PRODUCT c, String p_partSql ) : DataTable
GetProductList2 ( Condition c ) : IList
UpdateByID ( PDM_ALL_PRODUCT c ) : void

Private Methods

Méthode Description
CopyDoc ( PDM_ALL_PRODUCT p_OldProduct, PDM_ALL_PRODUCT p_NewProduct ) : void
CopyStrut ( PDM_ALL_PRODUCT p_OldProduct, PDM_ALL_PRODUCT p_NewProduct ) : void

Method Details

CopyAllAsso() public méthode

public CopyAllAsso ( PDM_ALL_PRODUCT p_OldProduct, PDM_ALL_PRODUCT p_NewProduct ) : void
p_OldProduct PDM_ALL_PRODUCT
p_NewProduct PDM_ALL_PRODUCT
Résultat void

DelAssoDoc() public méthode

public DelAssoDoc ( String p_DocId, String p_DocVersion, String p_ProductId, String p_MaterailVersion ) : void
p_DocId String
p_DocVersion String
p_ProductId String
p_MaterailVersion String
Résultat void

DelAssoDraw() public méthode

public DelAssoDraw ( String p_DocId, String p_DocVersion, String p_ProductId, String p_MaterailVersion ) : void
p_DocId String
p_DocVersion String
p_ProductId String
p_MaterailVersion String
Résultat void

DelProductList() public méthode

public DelProductList ( String p_id ) : void
p_id String
Résultat void

DelProductList() public méthode

根据主键删除半成品记录
public DelProductList ( String p_id, String p_user ) : void
p_id String
p_user String
Résultat void

GetAssoDoc() public méthode

public GetAssoDoc ( String p_ProductId, String p_version ) : DataTable
p_ProductId String
p_version String
Résultat System.Data.DataTable

GetAssoDraw() public méthode

public GetAssoDraw ( String p_ProductId, String p_version ) : DataTable
p_ProductId String
p_version String
Résultat System.Data.DataTable

GetById() public méthode

public GetById ( String p_id ) : PDM_ALL_PRODUCT
p_id String
Résultat PDM_ALL_PRODUCT

GetDocList() public méthode

public GetDocList ( String p_ProductId, String p_version, int p_type, String p_value ) : DataTable
p_ProductId String
p_version String
p_type int
p_value String
Résultat System.Data.DataTable

GetDrawList() public méthode

public GetDrawList ( String p_ProductId, String p_version, int p_type, String p_value ) : DataTable
p_ProductId String
p_version String
p_type int
p_value String
Résultat System.Data.DataTable

GetListByNo() public méthode

根据产品编号获取所有该产品的版本(模糊查询)
public GetListByNo ( string p_productNo ) : DataTable
p_productNo string
Résultat System.Data.DataTable

GetListByNoDetail() public méthode

根据产品编号获取所有该产品的版本(精确查询)
public GetListByNoDetail ( string p_productNo ) : DataTable
p_productNo string
Résultat System.Data.DataTable

GetMaxID() public méthode

public GetMaxID ( ) : int
Résultat int

GetProductByPage() public méthode

调用存储过程,用于插入产品结构时排序的序号加1.
public GetProductByPage ( PDM_ALL_PRODUCT c, int currentpage, int pagesize ) : DataSet
c PDM_ALL_PRODUCT
currentpage int
pagesize int
Résultat DataSet

GetProductByPage() public méthode

调用存储过程,用于分页查询.
public GetProductByPage ( int currentpage, int pagesize ) : DataSet
currentpage int
pagesize int
Résultat DataSet

GetProductList() public méthode

public GetProductList ( ) : DataTable
Résultat DataTable

GetProductList() public méthode

public GetProductList ( PDM_ALL_PRODUCT c ) : DataTable
c PDM_ALL_PRODUCT
Résultat DataTable

GetProductList() public méthode

public GetProductList ( PDM_ALL_PRODUCT c, String p_partSql ) : DataTable
c PDM_ALL_PRODUCT
p_partSql String
Résultat DataTable

GetProductList2() public méthode

public GetProductList2 ( Condition c ) : IList
c Condition
Résultat IList

UpdateByID() public méthode

public UpdateByID ( PDM_ALL_PRODUCT c ) : void
c PDM_ALL_PRODUCT
Résultat void