57 lines
1.0 KiB
C#
57 lines
1.0 KiB
C#
|
|
/// <summary>
|
|
///INTERFACE CLASS FOR TABLE t_Lot
|
|
///By wm
|
|
///on 08/03/2018
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
[Serializable]
|
|
public class Lot : Lot_base
|
|
{
|
|
public Lot()
|
|
{
|
|
|
|
}
|
|
|
|
public Lot(int id): base(id)
|
|
{
|
|
|
|
}
|
|
public Lot(DataRow dr): base(dr)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Lot_Imp();
|
|
}
|
|
|
|
//begin cust db operation, query, excute sql etc.
|
|
public DataSet QueryByName(string name)
|
|
{
|
|
cmdParameters[0] = name;
|
|
return CustQuery(100);
|
|
}
|
|
|
|
public DataTable getLotGoodsType(int lotId)
|
|
{
|
|
cmdParameters[0] = lotId;
|
|
|
|
return CustQuery(200).Tables[0];
|
|
}
|
|
|
|
public DataTable getFreeGoodsType()
|
|
{
|
|
return CustQuery(300).Tables[0];
|
|
}
|
|
}
|
|
}
|
|
|