using System; using System.Collections.Generic; using System.Linq; using System.Text; using WMS.Model.Stock; using System.Data; namespace WMS.IData.IStock { /// /// 库存表 /// public interface IMIStock { void DeleteMIStock(string ctl, string locid, string goodid); void UpdateMisLocSts(string ctl, string location, string sts); bool UpdateMis(string num, string locId, string stoid, string goodid); bool UpdateMis(string locId, string STORAGE_ID); /// /// 移动库位 /// /// /// void UpdateMisLocData(string locId, string oldlocID, string STORAGE_ID,string ctl); DataTable GetMisDataOut(string locId, string goodsiD, string STORAGE_ID); /// /// 查询空位中的空托盘 /// /// DataTable GetMisDataNullOut(string size); DataTable GetMistockLocData(string devid); void UpdateMisLoc(string locId, string sts); void UpdateYKLoc(string location_id); DataTable GetCtMisTable(string locId); /// /// 查询库存盘点 /// /// DataTable GetMistockLocData(); /// /// 删除库位明细 /// /// /// /// void DeleteMIStock(string locId); DataTable GetCTlGoods(string ctl); DataTable GetStockTaskLtk(string ck, string kq); DataTable GetLoctionGoodLtk(string goodslId); /// /// 获取商品的库位 /// /// /// /// /// DataTable LtkDataMis(string goodsId, string STORAGE_ID, string AREA_ID); /// /// 获取库存表 /// /// 库存表 DataTable GetMIStockDT(MIStockModel model); DataTable GetLoctionGoods(string localId); DataSet GetStockUserName(string name); ///// ///// 此方法用于 库存查看窗体功能 ///// ///// ///// //DataTable GetMiStockForLookUp(MIStockModel model); /// /// 插入库存表信息 /// /// 库存表Model string InsertMIStock(MIStockModel model); /// /// 修改库存表信息 /// /// 库存表Model void UpdateMIStock(MIStockModel model); /// /// 修改库存表数量 /// /// 库存表 void UpdateMIStockNum(MIStockModel model); DataTable GetNullLocal(string STORAGE_ID); DataSet GetStockName(string name); /// /// 修改库存表占用数量 /// /// 库存表Model void UpdateMIStockOccupyNum(MIStockModel model); /// /// 删除库存表信息 /// /// void DeleteMIStock(MIStockModel model); /// /// 取上架区为空库位的 /// /// DataTable GetMiStockNullData(string storage_id, string area_id); /// /// 根据商品的编号,获取商品所在库位 /// /// /// DataTable GetMiStockData(string goodsId, string storage_id, string area_id); /// /// 商品不在的,未满的库位 /// /// /// /// /// DataTable GetMiStockNotData(string goodsId, string storage_id, string area_id); /// /// 获取商品相邻的库位 /// /// /// DataTable GetStockData(string goodsId, string storage_id, string area_id); } }