diff --git a/COMCMS.Common/COMCMS.Common.csproj b/COMCMS.Common/COMCMS.Common.csproj index 5d8ed32..471d873 100644 --- a/COMCMS.Common/COMCMS.Common.csproj +++ b/COMCMS.Common/COMCMS.Common.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/COMCMS.Core/COMCMS.Core.csproj b/COMCMS.Core/COMCMS.Core.csproj index 32594c9..3346f3c 100644 --- a/COMCMS.Core/COMCMS.Core.csproj +++ b/COMCMS.Core/COMCMS.Core.csproj @@ -5,7 +5,7 @@ - + diff --git a/COMCMS.Core/Core/友情连接详情.Biz.cs b/COMCMS.Core/Core/友情连接详情.Biz.cs index 710d0eb..9bb31d6 100644 --- a/COMCMS.Core/Core/友情连接详情.Biz.cs +++ b/COMCMS.Core/Core/友情连接详情.Biz.cs @@ -90,7 +90,7 @@ namespace COMCMS.Core { get { - if (_LinkKind == null && KId > 0 && !Dirtys.ContainsKey("LinkKind_" + KId)) + if (_LinkKind == null && KId > 0 && !Dirtys["LinkKind_" + KId]) { _LinkKind = LinkKind.Find(LinkKind._.Id == KId); Dirtys["LinkKind_" + KId] = true; diff --git a/COMCMS.Core/Core/后台菜单.Biz.cs b/COMCMS.Core/Core/后台菜单.Biz.cs index d5a88eb..84175eb 100644 --- a/COMCMS.Core/Core/后台菜单.Biz.cs +++ b/COMCMS.Core/Core/后台菜单.Biz.cs @@ -103,7 +103,7 @@ namespace COMCMS.Core { get { - if (_ListEvent == null && Id > 0 && !Dirtys.ContainsKey("ListEvent_" + Id)) + if (_ListEvent == null && Id > 0 && !Dirtys["ListEvent_" + Id]) { _ListEvent = AdminMenuEvent.FindAll(AdminMenuEvent._.MenuId == Id, AdminMenuEvent._.Id.Asc(), null, 0, 0); Dirtys["ListEvent_" + Id] = true; diff --git a/COMCMS.Core/Core/用户.Biz.cs b/COMCMS.Core/Core/用户.Biz.cs index 6c68a51..be826a1 100644 --- a/COMCMS.Core/Core/用户.Biz.cs +++ b/COMCMS.Core/Core/用户.Biz.cs @@ -154,7 +154,7 @@ namespace COMCMS.Core { get { - if (_Roles == null && RoleId > 0 && !Dirtys.ContainsKey("RoleId_" + RoleId)) + if (_Roles == null && RoleId > 0 && !Dirtys["RoleId_" + RoleId]) { _Roles = MemberRoles.Find(MemberRoles._.Id == RoleId); Dirtys["RoleId_" + RoleId] = true; diff --git a/COMCMS.Core/Core/管理员.Biz.cs b/COMCMS.Core/Core/管理员.Biz.cs index 43719f8..bdca1ad 100644 --- a/COMCMS.Core/Core/管理员.Biz.cs +++ b/COMCMS.Core/Core/管理员.Biz.cs @@ -110,7 +110,7 @@ namespace COMCMS.Core { get { - if (_Roles == null && RoleId > 0 && !Dirtys.ContainsKey("AdminRoleId_" + RoleId)) + if (_Roles == null && RoleId > 0 && !Dirtys["AdminRoleId_" + RoleId]) { _Roles = AdminRoles.Find(AdminRoles._.Id == RoleId); Dirtys["AdminRoleId_" + RoleId] = true; diff --git a/COMCMS.Core/Core/系统配置.Biz.cs b/COMCMS.Core/Core/系统配置.Biz.cs index 66f8e95..6a299bb 100644 --- a/COMCMS.Core/Core/系统配置.Biz.cs +++ b/COMCMS.Core/Core/系统配置.Biz.cs @@ -96,7 +96,7 @@ namespace COMCMS.Core { get { - if (_AttachConfigEntity == null && !Dirtys.ContainsKey("AttachConfig")) + if (_AttachConfigEntity == null && !Dirtys["AttachConfig"]) { OtherConfig ac = OtherConfig.Find(OtherConfig._.ConfigName == "attach"); @@ -105,7 +105,7 @@ namespace COMCMS.Core if (!string.IsNullOrEmpty(ac.ConfigValue)) { _AttachConfigEntity = JsonConvert.DeserializeObject(ac.ConfigValue); - Dirtys.Add("AttachConfig", true); + Dirtys["AttachConfig"] = true; } else { @@ -137,14 +137,14 @@ namespace COMCMS.Core { get { - if (_SMTPConfigEntity == null && !Dirtys.ContainsKey("SMTPConfig")) + if (_SMTPConfigEntity == null && !Dirtys["SMTPConfig"]) { OtherConfig ac = OtherConfig.Find(OtherConfig._.ConfigName == "smtp"); if (ac != null) { _SMTPConfigEntity = JsonConvert.DeserializeObject(ac.ConfigValue); - Dirtys.Add("SMTPConfig", true); + Dirtys["SMTPConfig"] = true; } else { diff --git a/COMCMS.Web/Areas/AdminCP/Views/Shared/_CommonLayout.cshtml b/COMCMS.Web/Areas/AdminCP/Views/Shared/_CommonLayout.cshtml index a59fb96..69f7b9c 100644 --- a/COMCMS.Web/Areas/AdminCP/Views/Shared/_CommonLayout.cshtml +++ b/COMCMS.Web/Areas/AdminCP/Views/Shared/_CommonLayout.cshtml @@ -14,6 +14,7 @@ + diff --git a/COMCMS.Web/COMCMS.Web.csproj b/COMCMS.Web/COMCMS.Web.csproj index 7cc5a40..18d8dc0 100644 --- a/COMCMS.Web/COMCMS.Web.csproj +++ b/COMCMS.Web/COMCMS.Web.csproj @@ -5,17 +5,17 @@ - - - - - - + + + + + + - - - - + + + + diff --git a/DLL/NewLife.Core.dll b/DLL/NewLife.Core.dll index c79a820..d1585ad 100644 Binary files a/DLL/NewLife.Core.dll and b/DLL/NewLife.Core.dll differ diff --git a/DLL/XCode.dll b/DLL/XCode.dll index 4b1f175..02baa41 100644 Binary files a/DLL/XCode.dll and b/DLL/XCode.dll differ diff --git a/Lib.Core/Lib.Core.csproj b/Lib.Core/Lib.Core.csproj index cd5236f..e40ae4f 100644 --- a/Lib.Core/Lib.Core.csproj +++ b/Lib.Core/Lib.Core.csproj @@ -5,7 +5,7 @@ - + diff --git a/XCoder/Model.xml b/XCoder/Model.xml index f5cc6d3..baaf2d7 100644 --- a/XCoder/Model.xml +++ b/XCoder/Model.xml @@ -1,8 +1,9 @@ - + - + diff --git a/XCoder/XCoder(代码生成器).csproj b/XCoder/XCoder(代码生成器).csproj index db0a035..1b836e9 100644 --- a/XCoder/XCoder(代码生成器).csproj +++ b/XCoder/XCoder(代码生成器).csproj @@ -30,8 +30,8 @@ 4 - - ..\packages\NewLife.Core.7.3.6839.35284\lib\net45\NewLife.Core.dll + + ..\packages\NewLife.Core.7.4.6881.41311\lib\net45\NewLife.Core.dll @@ -41,8 +41,8 @@ - - ..\packages\NewLife.XCode.9.9.6839.35285\lib\net45\XCode.dll + + ..\packages\NewLife.XCode.9.9.6881.41312\lib\net45\XCode.dll diff --git a/XCoder/packages.config b/XCoder/packages.config index 1f65144..180bfa4 100644 --- a/XCoder/packages.config +++ b/XCoder/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file