ISpecialtyServices.cs 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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.EnrollManage.SpecialtyManage;
  9. namespace EMIS.CommonLogic.EnrollManage.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, int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus, int pageIndex, int pageSize);
  28. /// <summary>
  29. /// 查询对应的专业信息List
  30. /// </summary>
  31. /// <param name="configuretView"></param>
  32. /// <param name="standardID"></param>
  33. /// <param name="educationID"></param>
  34. /// <param name="learningformID"></param>
  35. /// <param name="learnSystem"></param>
  36. /// <param name="scienceclassID"></param>
  37. /// <param name="propertyID"></param>
  38. /// <param name="recordStatus"></param>
  39. /// <returns></returns>
  40. IList<SpecialtyView> GetSpecialtyViewList(ConfiguretView configuretView, int? standardID, int? educationID, int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus);
  41. /// <summary>
  42. /// 查询对应的专业信息(只查询启用状态的信息)
  43. /// </summary>
  44. /// <param name="configuretView"></param>
  45. /// <param name="pageIndex"></param>
  46. /// <param name="pageSize"></param>
  47. /// <returns></returns>
  48. IGridResultSet<SpecialtyView> GetSpecialtyIDGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  49. /// <summary>
  50. /// 查询对应的专业信息SpecialtyView(启用状态为是或已使用的信息)
  51. /// </summary>
  52. /// <param name="configuretView"></param>
  53. /// <param name="specialtyID"></param>
  54. /// <param name="pageIndex"></param>
  55. /// <param name="pageSize"></param>
  56. /// <returns></returns>
  57. IGridResultSet<SpecialtyView> GetEnableAndUseSpecialtyViewGrid(ConfiguretView configuretView, Guid? specialtyID, int pageIndex, int pageSize);
  58. /// <summary>
  59. /// 查询对应的专业信息List(启用状态为是或已使用的信息)
  60. /// </summary>
  61. /// <param name="configuretView"></param>
  62. /// <param name="specialtyID"></param>
  63. /// <returns></returns>
  64. IList<SpecialtyView> GetEnableAndUseSpecialtyViewList(ConfiguretView configuretView, Guid? specialtyID);
  65. /// <summary>
  66. /// 查询对应的专业信息(字典)
  67. /// </summary>
  68. /// <param name="standardID"></param>
  69. /// <param name="standardName"></param>
  70. /// <param name="pageIndex"></param>
  71. /// <param name="pageSize"></param>
  72. /// <returns></returns>
  73. IGridResultSet<Sys_DictionaryItem> GetStandardGrid(int? standardID, string standardName, int pageIndex, int pageSize);
  74. /// <summary>
  75. /// 查询专业信息中专业名称SpecialtyView(去重)
  76. /// </summary>
  77. /// <param name="configuretView"></param>
  78. /// <param name="standardName"></param>
  79. /// <param name="pageIndex"></param>
  80. /// <param name="pageSize"></param>
  81. /// <returns></returns>
  82. IGridResultSet<SpecialtyView> GetStandardViewGrid(ConfiguretView configuretView, string standardName, int pageIndex, int pageSize);
  83. /// <summary>
  84. /// 查询专业信息中学制信息SpecialtyView(去重)
  85. /// </summary>
  86. /// <param name="configuretView"></param>
  87. /// <param name="learnSystem"></param>
  88. /// <param name="pageIndex"></param>
  89. /// <param name="pageSize"></param>
  90. /// <returns></returns>
  91. IGridResultSet<SpecialtyView> GetLearnSystemViewGrid(ConfiguretView configuretView, string learnSystem, int pageIndex, int pageSize);
  92. /// <summary>
  93. /// 根据专业信息ID查询对应的专业信息CF_Specialty
  94. /// </summary>
  95. /// <param name="specialtyID"></param>
  96. /// <returns></returns>
  97. CF_Specialty GetSpecialtyInfo(Guid? specialtyID);
  98. /// <summary>
  99. /// 根据专业信息ID查询对应的专业信息SpecialtyView
  100. /// </summary>
  101. /// <param name="specialtyID"></param>
  102. /// <returns></returns>
  103. SpecialtyView GetSpecialtyView(Guid? specialtyID);
  104. /// <summary>
  105. /// 编辑(新增、修改,业务主键:专业ID、培养层次、学习形式、学制)
  106. /// </summary>
  107. /// <param name="specialtyView"></param>
  108. void SpecialtyEdit(SpecialtyView specialtyView);
  109. /// <summary>
  110. /// 删除
  111. /// </summary>
  112. /// <param name="specialtyIDList"></param>
  113. /// <returns></returns>
  114. bool SpecialtyDelete(List<Guid?> specialtyIDList);
  115. /// <summary>
  116. /// Excel导入
  117. /// </summary>
  118. /// <param name="cellheader"></param>
  119. /// <param name="inCount"></param>
  120. /// <param name="upCount"></param>
  121. /// <param name="errdataList"></param>
  122. /// <param name="errCount"></param>
  123. /// <param name="sourcePhysicalPath"></param>
  124. void SpecialtyImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<SpecialtyView> errdataList, out int? errCount, string sourcePhysicalPath);
  125. }
  126. }