IEvaluationTableServices.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 IEvaluationTableServices
  12. {
  13. /// <summary>
  14. /// 查询评价表信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="tableType">评价类型</param>
  18. /// <param name="evaluationType">参评类型</param>
  19. /// <param name="pageIndex">页码</param>
  20. /// <param name="pageSize">显示页数</param>
  21. /// <returns></returns>
  22. IGridResultSet<EvaluationTableView> GetEvaluationTableViewGrid(ConfiguretView configuretView, Guid? evaluationType, Guid? evaluationIntType, int? openStatus, int pageIndex, int pageSize);
  23. /// <summary>
  24. /// 查询评价表信息
  25. /// </summary>
  26. /// <param name="configuretView">查询条件实体</param>
  27. /// <param name="tableType">评价类型</param>
  28. /// <param name="evaluationType">参评类型</param>
  29. /// <returns></returns>
  30. List<EvaluationTableView> GetEvaluationTableViewList(ConfiguretView configuretView, Guid? evaluationType, Guid? evaluationIntType, int? openStatus);
  31. /// <summary>
  32. /// 获取评价表信息
  33. /// </summary>
  34. /// <param name="tableID">主键ID</param>
  35. /// <returns></returns>
  36. EM_EvaluationTable GetEvaluationTable(Guid? tableID);
  37. /// <summary>
  38. /// 获取评价表信息
  39. /// </summary>
  40. /// <param name="Name">评价表名</param>
  41. /// <returns></returns>
  42. EM_EvaluationTable GetEvaluationTable(string Name);
  43. ///// <summary>
  44. ///// 验证评价表信息
  45. ///// </summary>
  46. ///// <returns></returns>
  47. //bool ValidateEvaluationTable(Guid? tableID, string name, string code);
  48. /// <summary>
  49. /// 获取评价表信息
  50. /// </summary>
  51. /// <param name="tableID">主键ID</param>
  52. /// <returns></returns>
  53. EvaluationTableView GetEvaluationTableView(Guid? tableID);
  54. void SaveOrUpdateEvaluationTable(EvaluationTableView model);
  55. ///// <summary>
  56. ///// 添加
  57. ///// </summary>
  58. ///// <param name="evaluationTable">实体</param>
  59. ///// <returns></returns>
  60. //bool EvaluationTableAdd(EM_EvaluationTable evaluationTable);
  61. ///// <summary>
  62. ///// 修改
  63. ///// </summary>
  64. ///// <param name="evaluationTable">实体</param>
  65. ///// <returns></returns>
  66. //bool EvaluationTableUpdate(EM_EvaluationTable evaluationTable);
  67. /// <summary>
  68. /// 删除
  69. /// </summary>
  70. /// <param name="tableIDs"></param>
  71. /// <returns></returns>
  72. bool EvaluationTableDelete(List<Guid> tableIDs);
  73. }
  74. }