From 32d20082125039edfce984d62561c9595ab8abd2 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Mon, 15 Dec 2025 11:02:14 +0800 Subject: [PATCH] 1 --- DataBase/版本日志/SGGLDB_2025-12-15-xiaj.sql | 37 ++++++++++++++++++++ SUBQHSE/Model/Model.cs | 18 ++++++++++ 2 files changed, 55 insertions(+) create mode 100644 DataBase/版本日志/SGGLDB_2025-12-15-xiaj.sql diff --git a/DataBase/版本日志/SGGLDB_2025-12-15-xiaj.sql b/DataBase/版本日志/SGGLDB_2025-12-15-xiaj.sql new file mode 100644 index 0000000..571059a --- /dev/null +++ b/DataBase/版本日志/SGGLDB_2025-12-15-xiaj.sql @@ -0,0 +1,37 @@ + + + +--¼¯ÍŶ½²é¼ì²é +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'C36F208B-7814-4C70-9BC2-0E6EE985E90E') +BEGIN + insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + values('C36F208B-7814-4C70-9BC2-0E6EE985E90E','¼¯ÍŶ½²é¼ì²é','',10,'0','Menu_SJTB_P',0,0,1) +END +GO +--±¾²¿Òƶ¯¶Ë¼ì²é +update Sys_Menu set SortIndex=20 where MenuId='976F859C-BE8C-4A88-8117-C6A971872135' +GO + +--¼¯ÍÅÏ·¢¶½²é¼ì²éÕû¸Ä +IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'DEC083C5-BDB7-4C1A-85DD-3B4D3E234AB6') +BEGIN + insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + values('DEC083C5-BDB7-4C1A-85DD-3B4D3E234AB6','¼¯ÍÅÏ·¢¶½²é¼ì²éÕû¸Ä','DCGL/ServerCheck/CheckRectify.aspx?proType=1',10,'C36F208B-7814-4C70-9BC2-0E6EE985E90E','Menu_SJTB_P',0,1,1) +END +GO + + +select*from Sys_Const +where GroupId='MenuType_P' +order by SortIndex + + +--¼¯ÍÅÏ·¢¶½²é¼ì²éÕû¸Ä +IF NOT EXISTS (SELECT * FROM Sys_Const WHERE ID = 'F16A6722-148D-40E9-A0B5-ACEA5BFC5B10') +BEGIN + insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId) + values('F16A6722-148D-40E9-A0B5-ACEA5BFC5B10','Menu_SJTB_P','Êý¾Ý¹ÜÀí',7,'MenuType_P') +END +GO + + diff --git a/SUBQHSE/Model/Model.cs b/SUBQHSE/Model/Model.cs index e832241..6d9eb4d 100644 --- a/SUBQHSE/Model/Model.cs +++ b/SUBQHSE/Model/Model.cs @@ -463112,6 +463112,8 @@ namespace Model private string _ProblemTypes; + private string _RiskLevel; + private System.Nullable _SortIndex; private string _Situation; @@ -463436,6 +463438,22 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RiskLevel", DbType="NVarChar(50)")] + public string RiskLevel + { + get + { + return this._RiskLevel; + } + set + { + if ((this._RiskLevel != value)) + { + this._RiskLevel = value; + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] public System.Nullable SortIndex {