IEvaluationControlServices.cs 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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.EvaluationManage;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.EvaluationManage
  10. {
  11. public interface IEvaluationControlServices
  12. {
  13. /// <summary>
  14. /// 查询评价控制信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="pageIndex">页码</param>
  18. /// <param name="pageSize">显示页数</param>
  19. /// <returns></returns>
  20. IGridResultSet<EvaluationControlView> GetEvaluationControlViewGrid(ConfiguretView configuretView, int? isResult, int? isCourse, int pageIndex, int pageSize);
  21. /// <summary>
  22. /// 查询评价控制信息
  23. /// </summary>
  24. /// <param name="configuretView">查询条件实体</param>
  25. /// <returns></returns>
  26. List<EvaluationControlView> GetEvaluationControlViewList(ConfiguretView configuretView,int? isResult, int? isCourse);
  27. /// <summary>
  28. /// 获取评价控制信息
  29. /// </summary>
  30. /// <param name="controlID">主键ID</param>
  31. /// <returns></returns>
  32. EM_EvaluationControl GetEvaluationControl(Guid ?controlID);
  33. /// <summary>
  34. /// 获取评价控制信息
  35. /// </summary>
  36. /// <param name="schoolyearID">学年学期ID</param>
  37. /// <returns></returns>
  38. EM_EvaluationControl GetEvaluationControl(Guid schoolyearID);
  39. /// <summary>
  40. /// 获取评价控制信息
  41. /// </summary>
  42. /// <param name="controlID">主键ID</param>
  43. /// <returns></returns>
  44. EvaluationControlView GetEvaluationControlView();
  45. /// <summary>
  46. /// 保存
  47. /// </summary>
  48. /// <param name="evaluationControl">实体</param>
  49. /// <returns></returns>
  50. bool EvaluationControlSave(EvaluationControlView evaluationControlView);
  51. /// <summary>
  52. /// 是否锁定成绩查询
  53. /// </summary>
  54. /// <param name="userID"></param>
  55. /// <param name="schoolyearID"></param>
  56. /// <returns></returns>
  57. bool CanViewScore(Guid userID);
  58. /// <summary>
  59. /// 是否锁定选课
  60. /// </summary>
  61. /// <param name="userID"></param>
  62. /// <param name="schoolyearID"></param>
  63. /// <returns></returns>
  64. bool CanSelectCourse(Guid userID);
  65. }
  66. }