IEvaluationProjectServices.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 IEvaluationProjectServices
  12. {
  13. /// <summary>
  14. /// 查询评价项目信息
  15. /// </summary>
  16. /// <param name="configuretView">查询条件实体</param>
  17. /// <param name="targetID">评价指标</param>
  18. /// <param name="tableID">评价表</param>
  19. /// <param name="normID">评价标准</param>
  20. /// <param name="pageIndex">页码</param>
  21. /// <param name="pageSize">显示页数</param>
  22. /// <returns></returns>
  23. IGridResultSet<EvaluationProjectView> GetEvaluationProjectViewGrid(ConfiguretView configuretView, Guid? targetID, Guid? tableID, Guid? normID, int pageIndex, int pageSize);
  24. /// <summary>
  25. /// 查询评价项目信息
  26. /// </summary>
  27. /// <param name="configuretView">查询条件实体</param>
  28. /// <param name="targetID">评价指标</param>
  29. /// <param name="tableID">评价表</param>
  30. /// <param name="normID">评价标准</param>
  31. /// <returns></returns>
  32. List<EvaluationProjectView> GetEvaluationProjectViewList(ConfiguretView configuretView, Guid? targetID, Guid? tableID, Guid? normID);
  33. /// <summary>
  34. /// 获取评价项目信息
  35. /// </summary>
  36. /// <param name="projectID">主键ID</param>
  37. /// <returns></returns>
  38. EM_EvaluationProject GetEvaluationProject(Guid? projectID);
  39. /// <summary>
  40. /// 获取评价项目信息
  41. /// </summary>
  42. /// <param name="Name">项目名称</param>
  43. /// <returns></returns>
  44. EM_EvaluationProject GetEvaluationProject(string Name);
  45. /// <summary>
  46. /// 获取评价项目信息
  47. /// </summary>
  48. /// <param name="projectID">主键ID</param>
  49. /// <returns></returns>
  50. EvaluationProjectView GetEvaluationProjectView(Guid? projectID);
  51. void SaveOrUpdateEvaluationProject(EvaluationProjectView model);
  52. /// <summary>
  53. /// 添加
  54. /// </summary>
  55. /// <param name="evaluationProject">实体</param>
  56. /// <returns></returns>
  57. bool EvaluationProjectAdd(EM_EvaluationProject evaluationProject);
  58. /// <summary>
  59. /// 修改
  60. /// </summary>
  61. /// <param name="evaluationProject">实体</param>
  62. /// <returns></returns>
  63. bool EvaluationProjectUpdate(EM_EvaluationProject evaluationProject);
  64. /// <summary>
  65. /// 删除
  66. /// </summary>
  67. /// <param name="projectIDs"></param>
  68. /// <returns></returns>
  69. bool EvaluationProjectDelete(List<Guid> projectIDs);
  70. }
  71. }