IStation.Service.SqiAirp/5-service/01-tenant/1-tenant/Tenant.cs
@@ -40,6 +40,7 @@ { model.Reset(model_ds); } TenantCacheHelper.Trigger(); } //通过 Ids 更新缓存 @@ -56,6 +57,7 @@ { all.AddRange(model_list); } TenantCacheHelper.Trigger(); } //移除缓存 @@ -63,7 +65,7 @@ { var all = GetCache(); all.RemoveAll(x => x.ID == ID); TenantCacheHelper.Trigger(); } #endregion @@ -113,6 +115,14 @@ return all.Max(x => x.SortCode); } /// <summary> /// 获取缓存键 /// </summary> public string GetCacheKey() { return TenantCacheHelper.GetCacheKey(); } #endregion #region Insert