using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface ILog { /// /// 新增 /// int Add(RoadFlow.Data.Model.Log model); /// /// 更新 /// int Update(RoadFlow.Data.Model.Log model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.Log Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); /// /// 得到一页日志数据 /// /// /// /// /// /// /// /// /// /// /// /// System.Data.DataTable GetPagerData(out string pager, string query = "", int size = 15, int number = 1, string title = "", string type = "", string date1 = "", string date2 = "", string userID = ""); } }