using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IWorkFlowComment { /// /// 新增 /// int Add(RoadFlow.Data.Model.WorkFlowComment model); /// /// 更新 /// int Update(RoadFlow.Data.Model.WorkFlowComment model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.WorkFlowComment Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); /// /// 查询管理员的所有记录 /// List GetManagerAll(); /// /// 得到管理员类别的最大排序值 /// /// int GetManagerMaxSort(); /// /// 得到一个人员的最大排序值 /// /// int GetUserMaxSort(Guid userID); } }