namespace Yw.Service { /// /// /// public class RunRealLastRecordCacheHelper : Yw.LCache.IRunRealLastRecordCacheHelper { private readonly Yw.LCache.IRunRealLastRecordCacheHelper _helper = LCacheCreateHelper.CreateLCache(); /// /// 设置最后一条记录 /// public bool SetLastRecord(Model.RunRealRecord record) { return _helper.SetLastRecord(record); } /// /// 设置最后一条记录 /// public bool SetLastRecord(List list) { return _helper.SetLastRecord(list); } /// /// 获取最后一条记录 /// public List GetLastRecord() { return _helper.GetLastRecord(); } /// /// 获取最后一条记录 /// public List GetLastRecord(string ObjectType) { return _helper.GetLastRecord(ObjectType); } /// /// 获取最后一条记录 /// public List GetLastRecord(long ObjectID) { return _helper.GetLastRecord(ObjectID); } /// /// 获取最后一条记录 /// public Model.RunRealRecord GetLastRecord(string ObjectType, long ObjectID) { return _helper.GetLastRecord(ObjectType, ObjectID); } /// /// 获取最后一条记录 /// public List GetLastRecord(string ObjectType, IEnumerable ObjectIds) { return _helper.GetLastRecord(ObjectType, ObjectIds); } /// /// 获取最后一条记录 /// public List GetLastRecord(List<(string, long)> list) { return _helper.GetLastRecord(list); } } }