IEvaluationTargetServices.cs 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 IEvaluationTargetServices
  12. {
  13. /// <summary>
  14. /// 查询评价指标信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="tableID">评价表名ID</param>
  18. /// <param name="normID">评分标准ID</param>
  19. /// <param name="pageIndex">页码</param>
  20. /// <param name="pageSize">显示页数</param>
  21. /// <returns></returns>
  22. IGridResultSet<EvaluationTargetView> GetEvaluationTargetViewGrid(ConfiguretView configuretView, Guid? tableID, Guid? normID, int pageIndex, int pageSize);
  23. /// <summary>
  24. /// 查询评价指标信息
  25. /// </summary>
  26. /// <param name="configuretView">查询条件实体</param>
  27. /// <param name="tableID">评价表名ID</param>
  28. /// <param name="normID">评分标准ID</param>
  29. /// <returns></returns>
  30. List<EvaluationTargetView> GetEvaluationTargetViewList(ConfiguretView configuretView, Guid? tableID, Guid? normID);
  31. /// <summary>
  32. /// 获取评价指标信息
  33. /// </summary>
  34. /// <param name="targetID">主键ID</param>
  35. /// <returns></returns>
  36. EM_EvaluationTarget GetEvaluationTarget(Guid? targetID);
  37. /// <summary>
  38. /// 获取评分标准信息
  39. /// </summary>
  40. /// <param name="Name">评价指标名称</param>
  41. /// <returns></returns>
  42. EM_EvaluationTarget GetEvaluationTarget(string Name);
  43. /// <summary>
  44. /// 获取评价指标信息
  45. /// </summary>
  46. /// <param name="targetID">主键ID</param>
  47. /// <returns></returns>
  48. EvaluationTargetView GetEvaluationTargetView(Guid? targetID);
  49. void SaveOrUpdateEvaluationTarget(EvaluationTargetView model);
  50. /// <summary>
  51. /// 添加
  52. /// </summary>
  53. /// <param name="evaluationTarget">实体</param>
  54. /// <returns></returns>
  55. bool EvaluationTargetAdd(EM_EvaluationTarget evaluationTarget);
  56. /// <summary>
  57. /// 修改
  58. /// </summary>
  59. /// <param name="evaluationTarget">实体</param>
  60. /// <returns></returns>
  61. bool EvaluationTargetUpdate(EM_EvaluationTarget evaluationTarget);
  62. /// <summary>
  63. /// 删除
  64. /// </summary>
  65. /// <param name="targetIDs"></param>
  66. /// <returns></returns>
  67. bool EvaluationTargetDelete(List<Guid> targetIDs);
  68. IList<EM_EvaluationTarget> GetEvaluationTargetList(List<Guid> targetIDs);
  69. IList<EM_EvaluationProject> GetEvaluationProjectList(Guid targetID);
  70. ///// <summary>
  71. ///// 验证
  72. ///// </summary>
  73. ///// <param name="targetID"></param>
  74. ///// <param name="code"></param>
  75. ///// <param name="name"></param>
  76. //void Verification(Guid targetID, string code, string name);
  77. }
  78. }