ISpecialtyServices.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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.Specialtymanage;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.Specialtymanage
  10. {
  11. public interface ISpecialtyServices
  12. {
  13. /// <summary>
  14. /// 查询对应的专业信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="standardID"></param>
  18. /// <param name="educationID"></param>
  19. /// <param name="learningformID"></param>
  20. /// <param name="learnSystem"></param>
  21. /// <param name="scienceclassID"></param>
  22. /// <param name="propertyID"></param>
  23. /// <param name="recordStatus"></param>
  24. /// <param name="pageIndex"></param>
  25. /// <param name="pageSize"></param>
  26. /// <returns></returns>
  27. IGridResultSet<SpecialtyView> GetSpecialtyViewGrid(ConfiguretView configuretView, int? standardID, int? educationID,
  28. int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus, int pageIndex, int pageSize);
  29. /// <summary>
  30. /// 查询对应的专业信息List
  31. /// </summary>
  32. /// <param name="configuretView"></param>
  33. /// <param name="standardID"></param>
  34. /// <param name="educationID"></param>
  35. /// <param name="learningformID"></param>
  36. /// <param name="learnSystem"></param>
  37. /// <param name="scienceclassID"></param>
  38. /// <param name="propertyID"></param>
  39. /// <param name="recordStatus"></param>
  40. /// <returns></returns>
  41. IList<SpecialtyView> GetSpecialtyViewList(ConfiguretView configuretView, int? standardID, int? educationID,
  42. int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus);
  43. /// <summary>
  44. /// 查询对应的专业信息(字典)
  45. /// </summary>
  46. /// <param name="standardID"></param>
  47. /// <param name="standardName"></param>
  48. /// <param name="pageIndex"></param>
  49. /// <param name="pageSize"></param>
  50. /// <returns></returns>
  51. IGridResultSet<Sys_DictionaryItem> GetStandardView(int? standardID, string standardName, int pageIndex, int pageSize);
  52. /// <summary>
  53. /// 查询专业信息中学制信息SpecialtyView
  54. /// </summary>
  55. /// <param name="configuretView"></param>
  56. /// <param name="learnSystem"></param>
  57. /// <param name="pageIndex"></param>
  58. /// <param name="pageSize"></param>
  59. /// <returns></returns>
  60. IGridResultSet<SpecialtyView> GetLearnSystemViewList(ConfiguretView configuretView, string learnSystem, int pageIndex, int pageSize);
  61. /// <summary>
  62. /// 查询对应的专业信息(只查询启用状态的信息)
  63. /// </summary>
  64. /// <param name="configuretView"></param>
  65. /// <param name="pageIndex"></param>
  66. /// <param name="pageSize"></param>
  67. /// <returns></returns>
  68. IGridResultSet<SpecialtyView> GetSpecialtyIDViewList(ConfiguretView configuretView, int pageIndex, int pageSize);
  69. /// <summary>
  70. /// 根据专业信息ID查询对应的专业信息CF_Specialty
  71. /// </summary>
  72. /// <param name="specialtyID"></param>
  73. /// <returns></returns>
  74. CF_Specialty GetSpecialtyInfo(Guid? specialtyID);
  75. /// <summary>
  76. /// 根据专业信息ID查询对应的专业信息SpecialtyView
  77. /// </summary>
  78. /// <param name="specialtyID"></param>
  79. /// <returns></returns>
  80. SpecialtyView GetSpecialtyView(Guid? specialtyID);
  81. /// <summary>
  82. /// 编辑(新增、修改,业务主键:专业ID、培养层次、学习形式、学制)
  83. /// </summary>
  84. /// <param name="specialtyView"></param>
  85. void SpecialtyEdit(SpecialtyView specialtyView);
  86. /// <summary>
  87. /// 删除
  88. /// </summary>
  89. /// <param name="specialtyIDList"></param>
  90. /// <returns></returns>
  91. bool SpecialtyDelete(List<Guid?> specialtyIDList);
  92. /// <summary>
  93. /// Excel导入
  94. /// </summary>
  95. /// <param name="cellheader"></param>
  96. /// <param name="inCount"></param>
  97. /// <param name="upCount"></param>
  98. /// <param name="errdataList"></param>
  99. /// <param name="errCount"></param>
  100. /// <param name="sourcePhysicalPath"></param>
  101. void SpecialtyImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount,
  102. out List<SpecialtyView> errdataList, out int? errCount, string sourcePhysicalPath);
  103. }
  104. }