using System; using System.Collections.Generic; using System.Linq; using System.Text; using WMS.Model.Stock; using System.Data; using WMS.IData; using WMS.Common; namespace WMS.Business.Stock { public class BussAreaRepOut : IBussFactory { /// /// 获取库区间调拨单明细结果集 /// /// 库区间调拨单明细 public List GetAreaRepOutList(AreaRepOutModel model) { DataTable table = DataProvider.Instance.AreaRepOut.GetAreaRepOutDT(model); if (table != null) { List AreaRepOutModel = ConvertHelper.ConvertToList(table); return AreaRepOutModel; } return null; } /// /// 删除库区间调拨单明细 /// /// 库区间调拨单明细 /// 是否成功 public string DeleteAreaRepOut(string areaRepOutID) { DataProvider.Instance.AreaRepOut.DeleteAreaRepOut(areaRepOutID); logList.Add(DataProvider.Instance.logData); Transaction = DataProvider.Instance.TranOracle; TaCmtOrRak(); return ErrText; } /// /// 修改库区间调拨单明细 /// /// 库区间调拨单明细Model /// 是否成功 public string UpdateAreaRepOut(AreaRepOutModel areaRepOutModel) { DataProvider.Instance.AreaRepOut.UpdateAreaRepOut(areaRepOutModel); logList.Add(DataProvider.Instance.logData); Transaction = DataProvider.Instance.TranOracle; TaCmtOrRak(); return ErrText; } } }