IScoreFormulaServices.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. using EMIS.Entities;
  7. using Bowin.Common.Linq.Entity;
  8. using EMIS.ViewModel.ScoreManage;
  9. namespace EMIS.CommonLogic.ScoreManage
  10. {
  11. public interface IScoreFormulaServices
  12. {
  13. /// <summary>
  14. /// 查询成绩公式设置列表
  15. /// </summary>
  16. /// <param name="name"></param>
  17. /// <param name="pageIndex"></param>
  18. /// <param name="pageSize"></param>
  19. /// <returns></returns>
  20. IGridResultSet<ER_ScoreFormula> GetScoreFormulaGrid(string name, int pageIndex, int pageSize);
  21. /// <summary>
  22. /// 查询成绩公式设置列表
  23. /// </summary>
  24. /// <param name="name"></param>
  25. /// <param name="pageIndex"></param>
  26. /// <param name="pageSize"></param>
  27. /// <returns></returns>
  28. List<ER_ScoreFormula> GetScoreFormulaList(string name);
  29. List<ScoreFormulaDropdownView> GetScoreFormulaDropdownViewList(string name);
  30. /// <summary>
  31. /// 根据ID获取成绩公式设置
  32. /// </summary>
  33. /// <param name="scoreFormulaID"></param>
  34. /// <returns></returns>
  35. ER_ScoreFormula GetScoreFormula(Guid? scoreFormulaID);
  36. /// <summary>
  37. /// 添加
  38. /// </summary>
  39. /// <param name="scoreFormulaView"></param>
  40. void ScoreFormulaAdd(ScoreFormulaView scoreFormulaView, List<ScoreFormulaDropdownDetailView> scoreFormulaDetailList);
  41. /// <summary>
  42. /// 删除
  43. /// </summary>
  44. /// <param name="scoreFormulaIDs"></param>
  45. void ScoreFormulaDelete(List<Guid> scoreFormulaIDs);
  46. /// <summary>
  47. /// 根据成绩公式设置ID查询明细
  48. /// </summary>
  49. /// <param name="scoreFormulaID"></param>
  50. /// <returns></returns>
  51. List<ER_ScoreFormulaDetail> GetScoreFormulaDetailList(Guid? scoreFormulaID);
  52. List<ScoreFormulaDropdownDetailView> GetScoreFormulaDetailListByScoreFormulaID(Guid? scoreFormulaID);
  53. List<ER_CustomScoreFormula> GetCustomerScoreFormula();
  54. }
  55. }