52 lines
975 B
C#
52 lines
975 B
C#
|
|
/// <summary>
|
|
///INTERFACE CLASS FOR TABLE t_erp_packing
|
|
///By wm
|
|
///on 05/13/2020
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
[Serializable]
|
|
public class Erp_packing : Erp_packing_base
|
|
{
|
|
public Erp_packing()
|
|
{
|
|
|
|
}
|
|
|
|
public Erp_packing(int id): base(id)
|
|
{
|
|
|
|
}
|
|
public Erp_packing(DataRow dr): base(dr)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Erp_packing_Imp();
|
|
}
|
|
|
|
//begin cust db operation, query, excute sql etc.
|
|
public DataTable queryByGoodsId(string goodsId)
|
|
{
|
|
cmdParameters[0] = goodsId;
|
|
return CustQuery(100).Tables[0];
|
|
}
|
|
|
|
public Erp_packing(string barcode)
|
|
{
|
|
cmdParameters[0] = barcode;
|
|
getModel(200);
|
|
}
|
|
|
|
}
|
|
}
|
|
|