RoadFlow2.1 临时演示

IWorkFlowComment.cs 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. namespace RoadFlow.Data.Interface
  4. {
  5. public interface IWorkFlowComment
  6. {
  7. /// <summary>
  8. /// 新增
  9. /// </summary>
  10. int Add(RoadFlow.Data.Model.WorkFlowComment model);
  11. /// <summary>
  12. /// 更新
  13. /// </summary>
  14. int Update(RoadFlow.Data.Model.WorkFlowComment model);
  15. /// <summary>
  16. /// 查询所有记录
  17. /// </summary>
  18. List<RoadFlow.Data.Model.WorkFlowComment> GetAll();
  19. /// <summary>
  20. /// 查询单条记录
  21. /// </summary>
  22. Model.WorkFlowComment Get(Guid id);
  23. /// <summary>
  24. /// 删除
  25. /// </summary>
  26. int Delete(Guid id);
  27. /// <summary>
  28. /// 查询记录条数
  29. /// </summary>
  30. long GetCount();
  31. /// <summary>
  32. /// 查询管理员的所有记录
  33. /// </summary>
  34. List<RoadFlow.Data.Model.WorkFlowComment> GetManagerAll();
  35. /// <summary>
  36. /// 得到管理员类别的最大排序值
  37. /// </summary>
  38. /// <returns></returns>
  39. int GetManagerMaxSort();
  40. /// <summary>
  41. /// 得到一个人员的最大排序值
  42. /// </summary>
  43. /// <returns></returns>
  44. int GetUserMaxSort(Guid userID);
  45. }
  46. }