public VWShowStoreEntity GetNextStore(int preid) { VWShowStoreEntity entity = new VWShowStoreEntity(); if (preid > 0) { string _cachekey = "GetNextStore_" + preid; object obj = MemCache.GetCache(_cachekey); if (obj == null) { entity = MemStoreDA.Instance.GetNextStore(preid); MemCache.AddCache(_cachekey, entity); } else { entity = (VWShowStoreEntity)obj; } } else { entity = MemStoreDA.Instance.GetNextStore(preid); } return(entity); }
public string GetNextStore() { int _preid = FormString.IntSafeQ("preid"); VWShowStoreEntity list = StoreBLL.Instance.GetNextStore(_preid); string liststr = JsonJC.ObjectToJson(list); return(liststr); }