IPublishServices.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.TeachingMaterial;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.TeachingMaterial
  10. {
  11. public interface IPublishServices
  12. {
  13. /// <summary>
  14. /// 获取出版单位信息列表
  15. /// </summary>
  16. /// <param name="exp"></param>
  17. /// <returns></returns>
  18. IGridResultSet<PublisherView> GetPublishViewGrid(ConfiguretView configuretView, bool? isSupplier, bool? isPulish, bool? isPrint, int pageIndex, int pageSize);
  19. /// <summary>
  20. /// 获取出版单位单位
  21. /// </summary>
  22. /// <returns></returns>
  23. PublisherView GetSinglePublish(Guid publishID);
  24. /// <summary>
  25. /// 编辑出单社
  26. /// </summary>
  27. /// <param name="publisherView"></param>
  28. void EditPulish(PublisherView publisherView, Guid createUserID);
  29. /// <summary>
  30. /// 删除出版单位信息
  31. /// </summary>
  32. /// <param name="publishID"></param>
  33. void DeletePublish(List<Guid> publishIDs);
  34. /// <summary>
  35. /// 获取出版单位信息列表
  36. /// </summary>
  37. /// <param name="exp"></param>
  38. /// <returns></returns>
  39. IList<PublisherView> GetPublishViewExcel(ConfiguretView configuretView, bool? isSupplier, bool? isPulish, bool? isPrint);
  40. /// <summary>
  41. /// 获取所有出版单位信息-无条件模式
  42. /// </summary>
  43. /// <returns></returns>
  44. IList<PublisherView> GetAllPublish();
  45. bool IsExistUnitCode(string unitCode);
  46. /// <summary>
  47. /// 出版单位信息导入
  48. /// </summary>
  49. /// <param name="dataList">导入的数据集合</param>
  50. /// <param name="errdataList">返回的操作失败集合</param>
  51. /// <param name="successCount">操作成功记录条数</param>
  52. /// <returns></returns>
  53. void PublishImport(Dictionary<string, string> cellheader, out List<PublisherView> errdataList, out int successCount, out int OkCount, string sourcePhysicalPath);
  54. }
  55. }