C# Class HYPDM.BLL.AllProductService

Inheritance: BaseServiceObject, HYPDM.BLL.IAllProductService
ファイルを表示 Open project: huayancreate/HYPDM

Public Methods

Method 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

Method 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 method

public CopyAllAsso ( PDM_ALL_PRODUCT p_OldProduct, PDM_ALL_PRODUCT p_NewProduct ) : void
p_OldProduct PDM_ALL_PRODUCT
p_NewProduct PDM_ALL_PRODUCT
return void

DelAssoDoc() public method

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
return void

DelAssoDraw() public method

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
return void

DelProductList() public method

public DelProductList ( String p_id ) : void
p_id String
return void

DelProductList() public method

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

GetAssoDoc() public method

public GetAssoDoc ( String p_ProductId, String p_version ) : DataTable
p_ProductId String
p_version String
return System.Data.DataTable

GetAssoDraw() public method

public GetAssoDraw ( String p_ProductId, String p_version ) : DataTable
p_ProductId String
p_version String
return System.Data.DataTable

GetById() public method

public GetById ( String p_id ) : PDM_ALL_PRODUCT
p_id String
return PDM_ALL_PRODUCT

GetDocList() public method

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
return System.Data.DataTable

GetDrawList() public method

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
return System.Data.DataTable

GetListByNo() public method

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

GetListByNoDetail() public method

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

GetMaxID() public method

public GetMaxID ( ) : int
return int

GetProductByPage() public method

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

GetProductByPage() public method

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

GetProductList() public method

public GetProductList ( ) : DataTable
return DataTable

GetProductList() public method

public GetProductList ( PDM_ALL_PRODUCT c ) : DataTable
c PDM_ALL_PRODUCT
return DataTable

GetProductList() public method

public GetProductList ( PDM_ALL_PRODUCT c, String p_partSql ) : DataTable
c PDM_ALL_PRODUCT
p_partSql String
return DataTable

GetProductList2() public method

public GetProductList2 ( Condition c ) : IList
c Condition
return IList

UpdateByID() public method

public UpdateByID ( PDM_ALL_PRODUCT c ) : void
c PDM_ALL_PRODUCT
return void