SGGL_SHJ/DataBase/版本日志/SGGLDB_V2026-04-10-gf.sql

34 lines
1.5 KiB
MySQL
Raw Normal View History

2026-04-10 17:55:49 +08:00
-- 自动获取总包检查数据
alter table Base_Project add IsAutoFetch bit NULL;
--/,id和菜单类型根据实际情况进行替换
INSERT INTO [dbo].[Sys_Menu] ( [MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed] )
VALUES
( N'A9E94BE9-6F53-4A41-9A65-250F09D9E449', N'安全巡检统计分析', NULL, N'HSSE/HiddenInspection/CheckStatisticsAnalysis.aspx?Types=1', 106, '0', N'Menu_ZHGL', '1', '1', '1' );
GO
INSERT INTO [dbo].[Sys_Menu] ( [MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed] )
VALUES
( N'28848506-234F-4D21-8E79-A0F24F2B2DDA', N'质量巡检统计分析', NULL, N'HSSE/HiddenInspection/CheckStatisticsAnalysis.aspx?Types=2', 107, '0', N'Menu_ZHGL', '1', '1', '1' );
GO
--
alter table QCManage_QCGroupRegistration add AwardYear datetime
go
-----(Process)(AwardYear)
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'颁奖年份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'QCManage_QCGroupRegistration', @level2type=N'COLUMN',@level2name=N'AwardYear'
GO
--
update QCManage_QCGroupRegistration set AwardYear = Process where AwardYear is null and LEN(Process) = 4