/// <summary> /// 更新登记信息 /// </summary> /// <param name="Room"></param> /// <returns></returns> public bool Update(Entity.T_Used_total used) { return(Used_totalDb.Update(used)); }
/// <summary> /// 添加登记信息 /// </summary> /// <param name="room"></param> /// <returns></returns> public bool Add(Entity.T_Used_total used) { return(Used_totalDb.Insert(used)); }
/// <summary> /// 通过ID查询 /// </summary> /// <param name="id"></param> /// <returns></returns> public Entity.T_Used_total FindById(int id) { return(Used_totalDb.GetById(id)); }