IStockOutServices.cs 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMIS.Entities;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.TeachingMaterial;
  9. namespace EMIS.CommonLogic.TeachingMaterial
  10. {
  11. public interface IStockOutServices
  12. {
  13. /// <summary>
  14. /// 出库列表信息
  15. /// </summary>
  16. IGridResultSet<StockOutView> GetStockOutViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID, IList<int> stockOutTypeList,
  17. Guid? supplierID, DateTime? stockOutTimeStart, DateTime? stockOutTimeEnd, int pageIndex, int pageSize);
  18. /// <summary>
  19. /// 出库列表Excel导出
  20. /// </summary>
  21. IList<StockOutView> GetStockOutViewList(ViewModel.ConfiguretView configuretView, Guid? schoolyearID, IList<int> stockOutTypeList,
  22. Guid? supplierID, DateTime? stockOutTimeStart, DateTime? stockOutTimeEnd);
  23. //删除出库信息
  24. void Delete(List<Guid> stockOutIDs);
  25. StockOutView GetSingleStockOut(Guid stockOutID);
  26. bool IsExistStockOutNo(string stockOutNo);
  27. //保存出库信息
  28. void Save(StockOutView stockOutView, IList<TeachingMaterialPoolView> tmList, Guid? userId, string type);
  29. IList<TeachingMaterialPoolView> GetStockOutByTMViewList(Guid stockOutID);
  30. //提交出库信息
  31. void Submit(List<Guid> stockOutIDs, Guid userId);
  32. bool CheckInventoryQty(int qty, Guid teachingMaterialPoolID);
  33. /**********************出库明细区域****************************/
  34. /// <summary>
  35. /// 入库明细列表信息
  36. /// </summary>
  37. IGridResultSet<StockOutView> GetStockOutDetailViewGrid(Guid? stockOutId, int pageIndex, int pageSize);
  38. /// <summary>
  39. /// 入库明细列表Excel导出
  40. /// </summary>
  41. IList<StockOutView> GetStockOutDetailViewList(Guid? stockOutId);
  42. IGridResultSet<TeachingMaterialPoolView> GetStockInByTeachingMaterialPoolViewGrid(ConfiguretView configuretView, bool? isLate, Guid? teachingMaterialPoolID, Guid? coursematerialID, bool isSelectMax, int pageIndex, int pageSize);
  43. ET_StockOut GetStockOut(Guid? stockOutID);
  44. ET_StockOutDetail GetStockOutDetail(Guid? stockOutDetailID);
  45. List<ET_TeachingMateriaInventory> GetTeachingMateriaInventory(Guid? teachingMaterialPoolID, decimal? price);
  46. IGridResultSet<TeachingMaterialPoolView> GetTeachingMaterialViewForRefundGrid(ViewModel.ConfiguretView configuretView, bool? isLate, Guid? teachingMaterialPoolID, Guid? coursematerialID, bool isSelectMax, int pageIndex, int pageSize);
  47. string GetStockOutNo(CF_StockOutType stockOutType);
  48. }
  49. }