From f6228740d2d4c73225ddd2707a41fdf0913bea86 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 15 十一月 2023 09:23:41 +0800 Subject: [PATCH] 升级 --- Yw.Application.Unit.Core/3-value/2-std/SysUnitValue_StdController.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Yw.Application.Unit.Core/3-value/2-std/SysUnitValue_StdController.cs b/Yw.Application.Unit.Core/3-value/2-std/SysUnitValue_StdController.cs index ab7c07f..586587d 100644 --- a/Yw.Application.Unit.Core/3-value/2-std/SysUnitValue_StdController.cs +++ b/Yw.Application.Unit.Core/3-value/2-std/SysUnitValue_StdController.cs @@ -22,6 +22,7 @@ var vm_list = MemoryCacheHelper.GetSet(cacheKey, () => { var all = new Service.SysUnitValue().GetByTypeID(typeId); + Service.SysUnitValue.PublishCache(cacheKey); var vmList = all?.Select(x => new SysUnitValueStdDto(x)).ToList(); return vmList; }, CacheHelper.CacheLevel5); @@ -42,6 +43,7 @@ var vm_list = MemoryCacheHelper.GetSet(cacheKey, () => { var all = new Service.SysUnitValue().GetByTypeCode(typeCode); + Service.SysUnitValue.PublishCache(cacheKey); var vmList = all?.Select(x => new SysUnitValueStdDto(x)).ToList(); return vmList; }, CacheHelper.CacheLevel5); -- Gitblit v1.9.3