C# Class HYPDM.BLL.AllPartsService

Inheritance: BaseServiceObject, HYPDM.BLL.IAllPartsService
ファイルを表示 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
GetProductList ( ) : DataTable

获取所有半成品记录

GetProductList ( PDM_ALL_PRODUCT c ) : DataTable

更加对象查询半成品记录

GetProductList ( PDM_ALL_PRODUCT c, String p_partSql ) : DataTable
GetProductList2 ( System.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

GetProductList() public method

获取所有半成品记录
public GetProductList ( ) : DataTable
return System.Data.DataTable

GetProductList() public method

更加对象查询半成品记录
public GetProductList ( PDM_ALL_PRODUCT c ) : DataTable
c PDM_ALL_PRODUCT
return System.Data.DataTable

GetProductList() public method

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

GetProductList2() public method

查询符合条件的半成品记录
public GetProductList2 ( System.Condition c ) : IList
c System.Condition
return IList

UpdateByID() public method

根据半成品对象更新记录
public UpdateByID ( PDM_ALL_PRODUCT c ) : void
c PDM_ALL_PRODUCT
return void