IStudentScoreServices.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.ScoreManage;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using System.Dynamic;
  10. using System.Linq.Expressions;
  11. using EMIS.ViewModel.Cultureplan;
  12. namespace EMIS.CommonLogic.ScoreManage
  13. {
  14. public interface IStudentScoreServices
  15. {
  16. /// <summary>
  17. /// 查询已提交成绩
  18. /// </summary>
  19. /// <param name="configuretView"></param>
  20. /// <param name="collegeID"></param>
  21. /// <param name="departmentID"></param>
  22. /// <param name="schoolyearID"></param>
  23. /// <param name="coursematerialID"></param>
  24. /// <param name="courseTypeID"></param>
  25. /// <param name="examsCategoryID"></param>
  26. /// <param name="examinationType"></param>
  27. /// <param name="pageIndex"></param>
  28. /// <param name="pageSize"></param>
  29. /// <returns></returns>
  30. IGridResultSet<StudentScoreView> GetStudentScoreViewGrid(ConfiguretView configuretView, Guid? collegeID,
  31. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? standardID, Guid? classmajorID, int? starttermBegin, int? starttermEnd, int? yearID, int? learningformID,int? handleModeID, int? education, string LearnSystem, int pageIndex, int pageSize);
  32. /// <summary>
  33. /// 查询已提交成绩
  34. /// </summary>
  35. /// <param name="configuretView"></param>
  36. /// <param name="collegeID"></param>
  37. /// <param name="departmentID"></param>
  38. /// <param name="schoolyearID"></param>
  39. /// <param name="coursematerialID"></param>
  40. /// <param name="courseTypeID"></param>
  41. /// <param name="examsCategoryID"></param>
  42. /// <param name="examinationType"></param>
  43. /// <returns></returns>
  44. List<StudentScoreView> GetStudentScoreViewList(ConfiguretView configuretView, Guid? collegeID,
  45. Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, Guid? grademajorID, Guid? classmajorID, int? yearID, int? learningformID, int? education, string LearnSystem, List<Guid?> submitedScoreIDList);
  46. /// <summary>
  47. /// 查询已提交成绩信息
  48. /// </summary>
  49. /// <param name="submitedScoreID"></param>
  50. /// <returns></returns>
  51. StudentScoreView GetStudentScoreView(Guid? submitedScoreID);
  52. /// <summary>
  53. /// 查询已提交成绩信息
  54. /// </summary>
  55. /// <param name="submitedScoreID"></param>
  56. /// <returns></returns>
  57. ER_SubmitedScore GetSubmitedScore(Guid? submitedScoreID);
  58. /// <summary>
  59. /// 添加/修改
  60. /// </summary>
  61. /// <param name="studentScoreView"></param>
  62. void StudentScoreAdd(StudentScoreView studentScoreView, List<ExpandoObject> listExpandoObject);
  63. /// <summary>
  64. /// 删除
  65. /// </summary>
  66. /// <param name="submitedScoreIDs"></param>
  67. void StudentScoreDelete(List<Guid> submitedScoreIDs);
  68. void ValidateDuplicate(Guid? submitedScoreID, Guid? userID, Guid? coursematerialID, int? examsCategoryID, int? startTermID);
  69. void RefreshFinallyScoreBySubmitedScoreID(IList<Guid> submitedScoreIDList);
  70. void RefreshFinallyScore(Guid coursematerialID, Guid? userID, int? startTermID);
  71. void RefreshFinallyScore(Guid coursematerialID, IList<Guid?> userIDList, int? startTermID);
  72. string GetClassByUserID(Guid userID);
  73. void RefreshFinallyScoreBeforeDelete(Expression<Func<ER_SubmitedScore, bool>> exp);
  74. List<ResultTypeDetailView> GetResultTypeDetail(int typeID);
  75. ER_ResultTypeDetail GetResultTypeDetailByDetaliID(Guid resultTypedetailID);
  76. ER_ResultTypeDetail GetResultTypeDetailByIDandScore(int typeID, decimal Score);
  77. Guid? GetDepartmentByUserID(Guid UserID);
  78. void RefreshFinallyScoreBySubmitedBeforeDeleteScoreID(IList<Guid> submitedScoreIDList);
  79. List<int?> GetNormalExamsState();
  80. List<StudentScoreView> GetStarttermList(int? year);
  81. IGridResultSet<CoursematerialView> GetFinallyScoreCoursematerialViewGrid(ConfiguretView conditionView, Guid userID, int? pageIndex, int? pageSize);
  82. FinallyScoreView GetFinallyScoreView(Guid userID, Guid coursematerialID);
  83. }
  84. }