ICampusServices.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.Entities;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel;
  8. namespace EMIS.CommonLogic.AdministrativeOrgan
  9. {
  10. public interface ICampusServices
  11. {
  12. /// <summary>
  13. /// 查询校区信息View
  14. /// </summary>
  15. /// <param name="configuretView"></param>
  16. /// <param name="pageIndex"></param>
  17. /// <param name="pageSize"></param>
  18. /// <returns></returns>
  19. IGridResultSet<CampusView> GetCampusViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  20. /// <summary>
  21. /// 查询校区信息List
  22. /// </summary>
  23. /// <param name="configuretView"></param>
  24. /// <returns></returns>
  25. IList<CampusView> GetCampusViewList(ConfiguretView configuretView);
  26. /// <summary>
  27. /// 查询全部校区信息CF_Campus
  28. /// </summary>
  29. /// <returns></returns>
  30. List<CF_Campus> GetCampusList();
  31. /// <summary>
  32. /// 查询全部校区信息CF_Campus(不考虑状态列)
  33. /// </summary>
  34. /// <returns></returns>
  35. List<CF_Campus> GetCampusListWithoutDataRange();
  36. /// <summary>
  37. /// 查询对应的校区信息CampusView
  38. /// </summary>
  39. /// <param name="campusID"></param>
  40. /// <returns></returns>
  41. CampusView GetCampusView(Guid? campusID);
  42. /// <summary>
  43. /// 编辑(新增、修改,业务主键:校区代码或校区名称)
  44. /// </summary>
  45. /// <param name="campusView"></param>
  46. void CampusEdit(CampusView campusView);
  47. /// <summary>
  48. /// 删除
  49. /// </summary>
  50. /// <param name="campusIDList"></param>
  51. /// <returns></returns>
  52. bool CampusDelete(List<Guid?> campusIDList);
  53. }
  54. }