update 去除了开发模式下的缓存

This commit is contained in:
2021-05-26 17:27:31 +08:00
parent c833d4a1f4
commit 249007c237
6 changed files with 32 additions and 1 deletions

View File

@@ -90,9 +90,12 @@ namespace Ewide.Core.Service
var parentAndChildIdListWithSelf = sysOrg.Pids.TrimEnd(',').Replace("[", "").Replace("]", "")
.Split(",").ToList();
dataScopeList.AddRange(parentAndChildIdListWithSelf);
// 添加本级(不知道为什么框架在这里排除了本级)
dataScopeList.Add(u);
});
}
return dataScopeList;
return dataScopeList.Distinct().ToList();
}
/// <summary>