CNCEC_SUBQHSE_WUHUAN/DataBase/版本日志/SGGLDB_V2025-08-03-xiaj(施工人...

70 lines
3.8 KiB
Transact-SQL
Raw Blame History

--嘉묏훙제栗都
--嘉묏밗잿꽉데딧憐
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '5E34DEB4-10E6-4964-B91A-4C1A978677DB')
BEGIN
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('5E34DEB4-10E6-4964-B91A-4C1A978677DB','嘉묏쏵똑','',20,'0','Menu_JDGL',0,0,1)
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('AF2EBE09-739A-4618-9925-44D5C8B94C84','嘉묏셕뺍','',30,'0','Menu_JDGL',0,0,1)
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('1BCD283A-F33C-488C-8FCA-F7B7B9C1A003','嘉묏훙제','',40,'0','Menu_JDGL',0,0,1)
END
GO
--嘉묏쏵똑꽉데
update Sys_Menu
set MenuName='롸꼬、묏鱗淃섟롤痰헌데꼴숏',SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = '858E83E9-ADE5-452E-BD65-82D8DFF872C0'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = '82E1EB3B-3589-4C32-9C20-40125CE6EAB4'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = 'E3905BF1-289B-4500-BD34-36F97D649AFC'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = '2A3F8526-95C7-4D30-B2DD-DD26696BE150'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = '59AAE0F0-2DB6-4065-B304-7E2C56EC3E5D'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = 'D1FC6ACA-C789-401C-B9FB-3A96FFE4C8AC'
update Sys_Menu
set SuperMenu='5E34DEB4-10E6-4964-B91A-4C1A978677DB'
WHERE MenuId = '9CAF311E-C234-4DA4-B235-D4E478FBD80E'
GO
--嘉묏셕뺍꽉데
update Sys_Menu
set SuperMenu='AF2EBE09-739A-4618-9925-44D5C8B94C84'
WHERE MenuId = '94287B92-7E96-4B90-BC6F-DAF30AE3B314'
update Sys_Menu
set SuperMenu='AF2EBE09-739A-4618-9925-44D5C8B94C84'
WHERE MenuId = '56A54B4B-BBA3-4249-9FFC-3A60DAC79059'
GO
--嘉묏훙제綾꽉데
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = 'D87CD627-A18C-4C5D-962D-424E582F2379')
BEGIN
INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'B1F87873-FEC8-4BEC-8AB6-AFDEDB26ECEE', N'君끝옘핸훙제', NULL, N'JDGL/SGManPower/ManPowerWork.aspx', 20, N'1BCD283A-F33C-488C-8FCA-F7B7B9C1A003', N'Menu_JDGL', '0', '0', '1');
INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'CE4D8228-3971-4F81-B992-5FC564CBFDA6', N'훙제固셕롸驕', NULL, N'JDGL/SGManPower/ManPowerStat.aspx', 30, N'1BCD283A-F33C-488C-8FCA-F7B7B9C1A003', N'Menu_JDGL', '0', '0', '1');
INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'D87CD627-A18C-4C5D-962D-424E582F2379', N'嘉묏훙제셕뺍', NULL, N'JDGL/SGManPower/ManPowerPlan.aspx', 10, N'1BCD283A-F33C-488C-8FCA-F7B7B9C1A003', N'Menu_JDGL', '0', '0', '1');
END
GO
IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = 'D87CD627-A18C-4C5D-962D-424E582F2379')
BEGIN
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'2DC82E2D-3578-445E-9AA2-11D65E3F8775', N'D87CD627-A18C-4C5D-962D-424E582F2379', N'<EFBFBD>', 3);
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'856EA8BF-DE2D-4344-B265-780358C69F8D', N'D87CD627-A18C-4C5D-962D-424E582F2379', N'藤속', 1);
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'AC79636E-969A-42AB-82AC-19D3945EC703', N'D87CD627-A18C-4C5D-962D-424E582F2379', N'괏닸', 4);
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'FEDA3FD4-2436-460F-A75A-027D2D267CE4', N'D87CD627-A18C-4C5D-962D-424E582F2379', N'錦맣', 2);
END
GO