IStockInServices.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.ViewModel;
  7. using EMIS.ViewModel.TeachingMaterial;
  8. namespace EMIS.CommonLogic.TeachingMaterial
  9. {
  10. public interface IStockInServices
  11. {
  12. /// <summary>
  13. /// 自动生成入库信息
  14. /// </summary>
  15. /// <param name="schoolyearID"></param>
  16. /// <param name="userId"></param>
  17. void AutoNewStockIn(Guid? schoolyearID, Guid? userId);
  18. /// <summary>
  19. /// 入库列表信息
  20. /// </summary>
  21. IGridResultSet<StockInView> GetStockInViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
  22. Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList<int?> stockInTypeIDList, int pageIndex, int pageSize);
  23. /// <summary>
  24. /// 入库列表Excel导出
  25. /// </summary>
  26. IList<StockInView> GetStockInViewList(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
  27. Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList<int?> stockInTypeIDList);
  28. /// <summary>
  29. /// 获取入库需要的教材数据
  30. /// </summary>
  31. /// <param name="configuretView"></param>
  32. /// <param name="publishID"></param>
  33. /// <param name="coursematerialID"></param>
  34. /// <param name="teachingMaterialPoolID"></param>
  35. /// <param name="teachersOrderID"></param>
  36. /// <param name="isLate"></param>
  37. /// <param name="pageIndex"></param>
  38. /// <param name="pageSize"></param>
  39. /// <returns></returns>
  40. IGridResultSet<TeachingMaterialPoolView> GetStockInByTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? teachingMaterialPoolID, Guid? coursematerialID, decimal? discount, int pageIndex, int pageSize);
  41. //保存入库信息
  42. void Save(StockInView stockInView, IList<TeachingMaterialPoolView> tmList, Guid? userId, string type);
  43. //删除入库信息
  44. void Delete(List<Guid> stockInIDs);
  45. //删除入库信息
  46. void Submit(List<Guid> stockInIDs, Guid userId);
  47. StockInView GetSingleStockIn(Guid stockInID);
  48. IList<TeachingMaterialPoolView> GetStockInByTMViewList(Guid stockInID);
  49. bool IsExistStockInDocumentNo(string stockInDocumentNo);
  50. string GetStockInNo(CF_StockInType stockInType);
  51. }
  52. }