lixiaojun
2024-09-09 c0f3c3f170846197d8d3f74ac123e0ac93a6dd67
IStation.Application.SZJT/01-logic-policy/LogicPolicy_StdController.cs
文件名从 IStation.Application.SZJT/01-logic-policy/2-std/LogicPolicy_StdController.cs 修改
@@ -20,8 +20,8 @@
            var vm_list = MemoryCacheHelper.GetSet(cacheKey, () =>
            {
                var all = new Service.LogicPolicy().GetAll();
                Service.LogicPolicy.PublishCache(cacheKey);
                var all = new Yw.Service.LogicPolicy().GetAll();
                Yw.Service.LogicPolicy.PublishCache(cacheKey);
                var vmList = all?.Select(x => new LogicPolicyStdDto(x)).ToList();
                return vmList;
            }, Yw.Service.ConfigHelper.CacheLevel1);
@@ -35,7 +35,7 @@
        [HttpGet]
        public LogicPolicyStdDto GetDefault()
        {
            var all = new Service.LogicPolicy().GetAll();
            var all = new Yw.Service.LogicPolicy().GetAll();
            var model = all?.FirstOrDefault(x => x.Flags.Contains(Flags.榛樿));
            if (model == null)
            {