IUniversityServices.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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.UniversityManage.AdministrativeOrgan;
  9. namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
  10. {
  11. public interface IUniversityServices
  12. {
  13. /// <summary>
  14. /// 查询学校信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="pageIndex"></param>
  18. /// <param name="pageSize"></param>
  19. /// <returns></returns>
  20. IGridResultSet<UniversityView> GetUniversityViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  21. /// <summary>
  22. /// 查询学校信息List
  23. /// </summary>
  24. /// <param name="configuretView"></param>
  25. /// <returns></returns>
  26. IList<UniversityView> GetUniversityViewList(ConfiguretView configuretView);
  27. /// <summary>
  28. /// 查询全部学校信息CF_University
  29. /// </summary>
  30. /// <returns></returns>
  31. List<CF_University> GetUniversityList();
  32. /// <summary>
  33. /// 查询对应的学校信息UniversityView
  34. /// </summary>
  35. /// <param name="universityID"></param>
  36. /// <returns></returns>
  37. UniversityView GetUniversityView(Guid? universityID);
  38. /// <summary>
  39. /// 编辑(新增、修改,业务主键:学校代码或学校名称)
  40. /// </summary>
  41. /// <param name="universityView"></param>
  42. void UniversityEdit(UniversityView universityView);
  43. /// <summary>
  44. /// 删除
  45. /// </summary>
  46. /// <param name="universityIDList"></param>
  47. /// <returns></returns>
  48. bool UniversityDelete(List<Guid?> universityIDList);
  49. }
  50. }