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 IStorageRep { #region 获得流水号 /// /// 获得流水号 /// string GetNextValNum(); #endregion #region 查主表 /// /// 获得仓库间调拨主表信息 /// /// 仓库间调拨Model /// DataTable GetStorageRepData(StorageRepModel model); #endregion #region 查明细 /// /// 获得仓库间调拨明细表数据 /// /// 仓库间调拨ID /// DataTable GetStorageRepInfoData(string stoID); #endregion #region 同时新增 主表明细表数据 /// /// 同时新增 主表明细表数据 /// /// /// void InsertStorageRepData(StorageRepModel model, List list); #endregion #region 同时更新 主表明细表数据 /// /// 同时更新 主表明细表数据 /// /// /// void UpdateStorageRepData(StorageRepModel model, List list); #endregion #region 同时删除 主表明细表数据 /// /// 同时删除 主表明细表数据 /// /// void DeleteStorageRepData(List strlis); #endregion /// /// 单独新增明细 /// /// void Add(List lsit); /// /// 单独删除明细 /// /// void Delete(List list); /// /// 单独更新明细 /// /// /// /// void NewStorageRepInfoFuc(StorageRepModel stM, List upFuc, List insertFuc, List delFuc); #region 已废 删除 void DeleteStorageRep(List model); void DeleteStorageRepInfo(List model); #endregion #region 增主表 /// /// 新增仓库间调拨主表数据 /// /// 仓库间调拨Model void InsertStorageRep(StorageRepModel model); #endregion #region 增明细 /// /// 新增仓库间调拨明细表数据 /// /// 仓库间调拨明细Model集合 void InsertStorageRepInfo(List list); #endregion #region 更主表 /// /// 更新仓库间调拨主表信息 /// /// 仓库间调拨Model void UpdateStorageRep(StorageRepModel model); #endregion #region 更明细 /// /// 更新仓库间调拨明细表数据 /// /// 仓库间调拨明细Model集合 void UpdateStorageRepInfo(List list); #endregion #region 删主表 /// /// 删除仓库间调拨主表数据 /// /// void DeleteStorageRep(List model); #endregion #region 删明细 /// /// 删除仓库间调拨明细表数据 /// /// void DeleteStorageRepInfo(List model); #endregion } }