///
///INTERFACE CLASS FOR TABLE t_wmsOutPickDetail_tmp
///By wm
///on 05/30/2017
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DeiNiu.wms.Data.Model
{
[Serializable]
public class WmsOutPickDetail_tmp : WmsOutPickDetail_tmp_base
{
public WmsOutPickDetail_tmp()
{
}
public WmsOutPickDetail_tmp(int id): base(id)
{
}
public WmsOutPickDetail_tmp(DataRow dr): base(dr)
{
}
protected override void getImp()
{
model_imp = new WmsOutPickDetail_tmp_Imp();
}
//begin cust db operation, query, excute sql etc.
public DataSet QueryByName(string name)
{
cmdParameters[0] = name;
return CustQuery(100);
}
///
/// update the seeding data
/// send back by ele label
///
///
///
///
///
///
///
///
public int updateSeedingPickStatus(string seedsPickNo, string goodsId, string batch, int labId, int address, decimal count)
{
cmdParameters[0] = seedsPickNo;
cmdParameters[1] = goodsId;
cmdParameters[2] = batch;
cmdParameters[3] = labId;
cmdParameters[4] = count;
return CustOper(200);
}
///
/// 更新该商品信息播种信息 -》播种完毕
///
///
///
///
///
///
///
///
public int completeSeeding(string seedsPickNo, string goodsId, string batch)
{
cmdParameters[0] = seedsPickNo;
cmdParameters[1] = goodsId;
cmdParameters[2] = batch;
return CustOper(300);
}
public int completeSeeding(string seedsPickNo )
{
cmdParameters[0] = seedsPickNo;
return CustOper(400);
}
public DataTable getPackingData(int desk)
{
cmdParameters[0] = desk;
return CustQuery(500).Tables[0];;
}
}
}