diff --git a/DataBase/版本日志/SGGLDB_V2023-01-29_gaofei_迁移五张报表功能脚本.sql b/DataBase/版本日志/SGGLDB_V2023-01-29_gaofei_迁移五张报表功能脚本.sql
new file mode 100644
index 00000000..63d95172
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2023-01-29_gaofei_迁移五张报表功能脚本.sql
@@ -0,0 +1,1761 @@
+
+--ȫ()
+INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+VALUES('ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','ȫϢϱ','',32,'0','Menu_ZHGL',1,0,1)
+GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('3156A9F0-276D-4AD4-BF84-45CF6DFC215C','ʱȫͳ±','ZHGL/Information/MillionsMonthlyReport.aspx',10,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('8C0E3DDA-8883-4A8E-B288-C009B807C39D','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('8C720351-FD57-4C2D-9FCB-C8BB7FE48E65','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9084F09C-AA75-42B4-8357-6CDD0661CE8D','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('00C79282-699E-4CCA-988E-1F36671C2F37','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1889FE33-E72D-4E70-B51D-2AE411E08693','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','沢ϱ',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('08C103D2-6DB3-435E-A3DC-0C1F99CC51FF','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','ύ',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('AE5A454F-578E-4C52-969B-20AB87006A73','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('88D736EA-3ADC-4100-B17E-A1A1F16D9D2A','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','ӡ',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('4BC71D2E-7D94-48C1-A61A-139637825AA5','ְ¹ԭ','ZHGL/Information/AccidentCauseReport.aspx',20,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9D7EDCF0-32CD-4BB6-AA0F-6914E2B0F2D1','4BC71D2E-7D94-48C1-A61A-139637825AA5','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('FB9C1CDD-3CB8-4AEC-B940-563B3BA59E17','4BC71D2E-7D94-48C1-A61A-139637825AA5','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('FABAAF0B-C618-43B7-907A-217B6A1E5F6E','4BC71D2E-7D94-48C1-A61A-139637825AA5','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('385833BA-BD03-4DB2-9380-C76395368782','4BC71D2E-7D94-48C1-A61A-139637825AA5','',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('34472641-62F3-4E40-BEB3-770C3D833D03','4BC71D2E-7D94-48C1-A61A-139637825AA5','沢ϱ',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1CBB8571-E8D1-4EE0-AB08-4C3305BE27C6','4BC71D2E-7D94-48C1-A61A-139637825AA5','ύ',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A71F1236-204F-4B34-B887-19B31CE56F63','4BC71D2E-7D94-48C1-A61A-139637825AA5','',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C90343CD-4DBE-4C3B-BEDD-888C9B514F8B','4BC71D2E-7D94-48C1-A61A-139637825AA5','ӡ',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','ȫݼ','ZHGL/Information/SafetyQuarterlyReport.aspx',30,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('AD2043D6-871F-47FE-B6CC-0CA5CD50C0BA','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('19657A9D-6AEB-47BA-BC3F-B916C68B515B','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('07E601FD-AE73-4F2B-A9D2-613B34ED654A','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('D3BBA6C4-4D71-4533-9A47-9459AA30C2D2','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('90ED2D85-1184-4E46-8832-8C1215B6C59D','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','沢ϱ',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('BED22C29-BA30-4BD2-A244-8588F2A0635B','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C4922011-37CD-4B79-820A-D8CAAE39144D','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','ӡ',7)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('7985C759-8EB9-4B7D-AC65-00541280B46C','Ӧչ','ZHGL/Information/DrillConductedQuarterlyReport.aspx',40,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('3D866C54-0A39-4A56-B771-7F3C63CF6A32','7985C759-8EB9-4B7D-AC65-00541280B46C','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('F65F199A-5D28-42D0-B08F-390376CAAC31','7985C759-8EB9-4B7D-AC65-00541280B46C','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('7FA97C99-A026-4934-95AC-50FF173B889D','7985C759-8EB9-4B7D-AC65-00541280B46C','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1689FECD-6F18-4B1E-8190-706F2124B4C6','7985C759-8EB9-4B7D-AC65-00541280B46C','',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('6358C4DD-5B0E-4DB5-8FD1-AED403EF1D43','7985C759-8EB9-4B7D-AC65-00541280B46C','沢ϱ',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C1E0471F-568C-4B85-ADED-FCDD27F8C3DA','7985C759-8EB9-4B7D-AC65-00541280B46C','ύ',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('5231B22C-BF0B-478B-92DD-1C1B30BC7270','7985C759-8EB9-4B7D-AC65-00541280B46C','',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('25A11FB5-AB22-42CC-9E94-29FF9221B25B','7985C759-8EB9-4B7D-AC65-00541280B46C','ӡ',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('70DEB27A-D6FF-4D57-879B-0270F2967FA0','Ӧƻ걨','ZHGL/Information/DrillPlanHalfYearReport.aspx',50,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A034BF05-9859-4920-97F0-20190D94E6F4','70DEB27A-D6FF-4D57-879B-0270F2967FA0','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A821D1EC-5E54-4386-80E8-D1718CF00E7D','70DEB27A-D6FF-4D57-879B-0270F2967FA0','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('6345E13D-F311-4839-927E-ADEF36D7CB5E','70DEB27A-D6FF-4D57-879B-0270F2967FA0','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A4115079-DDEC-4B42-836D-4B79B999E011','70DEB27A-D6FF-4D57-879B-0270F2967FA0','',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('DE6CADAC-6981-45F6-BF19-0BFC6F1F2AFE','70DEB27A-D6FF-4D57-879B-0270F2967FA0','沢ϱ',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C495E44F-DF2C-4071-829C-8C06DA30F9FE','70DEB27A-D6FF-4D57-879B-0270F2967FA0','ύ',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('F287B0ED-D725-4CD3-B422-5319112F452B','70DEB27A-D6FF-4D57-879B-0270F2967FA0','',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('30F188D4-84D4-4D3C-8ECE-B499ACB1C3C8','70DEB27A-D6FF-4D57-879B-0270F2967FA0','ӡ',8)
+ GO
+
+
+CREATE TABLE [dbo].[Information_AccidentCauseReport](
+ [AccidentCauseReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [AccidentCauseReportCode] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Month] [int] NULL,
+ [DeathAccident] [int] NULL,
+ [DeathToll] [int] NULL,
+ [InjuredAccident] [int] NULL,
+ [InjuredToll] [int] NULL,
+ [MinorWoundAccident] [int] NULL,
+ [MinorWoundToll] [int] NULL,
+ [AverageTotalHours] [decimal](19, 2) NULL,
+ [AverageManHours] [int] NULL,
+ [TotalLossMan] [int] NULL,
+ [LastMonthLossHoursTotal] [int] NULL,
+ [KnockOffTotal] [int] NULL,
+ [DirectLoss] [int] NULL,
+ [IndirectLosses] [int] NULL,
+ [TotalLoss] [int] NULL,
+ [TotalLossTime] [int] NULL,
+ [FillCompanyPersonCharge] [nvarchar](50) NULL,
+ [TabPeople] [nvarchar](50) NULL,
+ [AuditPerson] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [UpState] [char](1) NULL,
+ [HandleState] [char](1) NULL,
+ [HandleMan] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Information_AccidentCauseReport] PRIMARY KEY CLUSTERED
+(
+ [AccidentCauseReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_AccidentCauseReport] WITH CHECK ADD CONSTRAINT [FK_Information_AccidentCauseReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_AccidentCauseReport] CHECK CONSTRAINT [FK_Information_AccidentCauseReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'AccidentCauseReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'AccidentCauseReportCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'Year'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'Month'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'DeathAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'DeathToll'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'InjuredAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'InjuredToll'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'MinorWoundAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'MinorWoundToll'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ƽʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'AverageTotalHours'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ƽʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'AverageManHours'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'TotalLossMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'LastMonthLossHoursTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ъ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'KnockOffTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֱʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'DirectLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'IndirectLosses'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'TotalLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'TotalLossTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'FillCompanyPersonCharge'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ʊ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'TabPeople'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'AuditPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport', @level2type=N'COLUMN',@level2name=N'FillingDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְ¹ԭ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_AccidentCauseReportItem](
+ [AccidentCauseReportItemId] [nvarchar](50) NOT NULL,
+ [AccidentCauseReportId] [nvarchar](50) NULL,
+ [AccidentType] [nvarchar](20) NULL,
+ [TotalDeath] [int] NULL,
+ [TotalInjuries] [int] NULL,
+ [TotalMinorInjuries] [int] NULL,
+ [Death1] [int] NULL,
+ [Injuries1] [int] NULL,
+ [MinorInjuries1] [int] NULL,
+ [Death2] [int] NULL,
+ [Injuries2] [int] NULL,
+ [MinorInjuries2] [int] NULL,
+ [Death3] [int] NULL,
+ [Injuries3] [int] NULL,
+ [MinorInjuries3] [int] NULL,
+ [Death4] [int] NULL,
+ [Injuries4] [int] NULL,
+ [MinorInjuries4] [int] NULL,
+ [Death5] [int] NULL,
+ [Injuries5] [int] NULL,
+ [MinorInjuries5] [int] NULL,
+ [Death6] [int] NULL,
+ [Injuries6] [int] NULL,
+ [MinorInjuries6] [int] NULL,
+ [Death7] [int] NULL,
+ [Injuries7] [int] NULL,
+ [MinorInjuries7] [int] NULL,
+ [Death8] [int] NULL,
+ [Injuries8] [int] NULL,
+ [MinorInjuries8] [int] NULL,
+ [Death9] [int] NULL,
+ [Injuries9] [int] NULL,
+ [MinorInjuries9] [int] NULL,
+ [Death10] [int] NULL,
+ [Injuries10] [int] NULL,
+ [MinorInjuries10] [int] NULL,
+ [Death11] [int] NULL,
+ [Injuries11] [int] NULL,
+ [MinorInjuries11] [int] NULL,
+ CONSTRAINT [PK_Information_AccidentCauseReportItem] PRIMARY KEY CLUSTERED
+(
+ [AccidentCauseReportItemId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+ALTER TABLE [dbo].[Information_AccidentCauseReportItem] WITH CHECK ADD CONSTRAINT [FK_Information_AccidentCauseReportItem_Information_AccidentCauseReport] FOREIGN KEY([AccidentCauseReportId])
+REFERENCES [dbo].[Information_AccidentCauseReport] ([AccidentCauseReportId])
+GO
+
+ALTER TABLE [dbo].[Information_AccidentCauseReportItem] CHECK CONSTRAINT [FK_Information_AccidentCauseReportItem_Information_AccidentCauseReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'AccidentCauseReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'AccidentCauseReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'AccidentType'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'TotalDeath'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'TotalInjuries'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'TotalMinorInjuries'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'źȱʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death1'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'źȱʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries1'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'źȱʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries1'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death2'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries2'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries2'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˷ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death3'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˷ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries3'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˷ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries3'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'߲' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death4'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'߲' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries4'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'߲' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries4'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ֯' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death5'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ֯' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries5'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ֯' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries5'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֳָ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death6'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֳָ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries6'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֳָ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries6'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death7'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries7'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries7'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death8'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries8'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries8'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Υ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death9'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Υ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries9'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Υ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries9'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ûаȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death10'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ûаȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries10'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ûаȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries10'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Death11'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'Injuries11'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem', @level2type=N'COLUMN',@level2name=N'MinorInjuries11'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְ¹ԭϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_AccidentCauseReportItem'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_DrillConductedQuarterlyReport](
+ [DrillConductedQuarterlyReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Quarter] [int] NULL,
+ [YearId] [int] NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ [HandleState] [char](1) NULL,
+ [HandleMan] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Information_DrillConductedQuarterlyReport] PRIMARY KEY CLUSTERED
+(
+ [DrillConductedQuarterlyReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_DrillConductedQuarterlyReport] WITH CHECK ADD CONSTRAINT [FK_Information_DrillConductedQuarterlyReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_DrillConductedQuarterlyReport] CHECK CONSTRAINT [FK_Information_DrillConductedQuarterlyReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport', @level2type=N'COLUMN',@level2name=N'DrillConductedQuarterlyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ReportDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport', @level2type=N'COLUMN',@level2name=N'Quarter'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport', @level2type=N'COLUMN',@level2name=N'YearId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӧչ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_DrillConductedQuarterlyReportItem](
+ [DrillConductedQuarterlyReportItemId] [nvarchar](50) NOT NULL,
+ [DrillConductedQuarterlyReportId] [nvarchar](50) NOT NULL,
+ [IndustryType] [nvarchar](50) NULL,
+ [TotalConductCount] [int] NULL,
+ [TotalPeopleCount] [int] NULL,
+ [TotalInvestment] [money] NULL,
+ [HQConductCount] [int] NULL,
+ [HQPeopleCount] [int] NULL,
+ [HQInvestment] [money] NULL,
+ [BasicConductCount] [int] NULL,
+ [BasicPeopleCount] [int] NULL,
+ [BasicInvestment] [money] NULL,
+ [ComprehensivePractice] [int] NULL,
+ [CPScene] [int] NULL,
+ [CPDesktop] [int] NULL,
+ [SpecialDrill] [int] NULL,
+ [SDScene] [int] NULL,
+ [SDDesktop] [int] NULL,
+ [SortIndex] [int] NULL,
+ CONSTRAINT [PK_Information_DrillConductedQuarterlyReportItem] PRIMARY KEY CLUSTERED
+(
+ [DrillConductedQuarterlyReportItemId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+ALTER TABLE [dbo].[Information_DrillConductedQuarterlyReportItem] WITH CHECK ADD CONSTRAINT [FK_Information_DrillConductedQuarterlyReportItem_Information_DrillConductedQuarterlyReport] FOREIGN KEY([DrillConductedQuarterlyReportId])
+REFERENCES [dbo].[Information_DrillConductedQuarterlyReport] ([DrillConductedQuarterlyReportId])
+GO
+
+ALTER TABLE [dbo].[Information_DrillConductedQuarterlyReportItem] CHECK CONSTRAINT [FK_Information_DrillConductedQuarterlyReportItem_Information_DrillConductedQuarterlyReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'DrillConductedQuarterlyReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'DrillConductedQuarterlyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'IndustryType'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ٰ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'TotalConductCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'TotalPeopleCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֱͶ룩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'TotalInvestment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵٰܲ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'HQConductCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵܲ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'HQPeopleCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵֱܲͶ룩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'HQInvestment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'㵥λٰ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'BasicConductCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'㵥λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'BasicPeopleCount'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'㵥λֱͶ룩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'BasicInvestment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'ComprehensivePractice'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Уֳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'CPScene'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'У棩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'CPDesktop'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ר' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'SpecialDrill'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Уֳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'SDScene'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'У棩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem', @level2type=N'COLUMN',@level2name=N'SDDesktop'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӧչϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillConductedQuarterlyReportItem'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_DrillPlanHalfYearReport](
+ [DrillPlanHalfYearReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NOT NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [YearId] [int] NULL,
+ [HalfYearId] [int] NULL,
+ [Telephone] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ [HandleState] [char](1) NULL,
+ [HandleMan] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Information_DrillPlanHalfYearReport] PRIMARY KEY CLUSTERED
+(
+ [DrillPlanHalfYearReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_DrillPlanHalfYearReport] WITH CHECK ADD CONSTRAINT [FK_Information_DrillPlanHalfYearReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_DrillPlanHalfYearReport] CHECK CONSTRAINT [FK_Information_DrillPlanHalfYearReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport', @level2type=N'COLUMN',@level2name=N'DrillPlanHalfYearReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport', @level2type=N'COLUMN',@level2name=N'CompileMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ʊʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport', @level2type=N'COLUMN',@level2name=N'CompileDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport', @level2type=N'COLUMN',@level2name=N'YearId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӧƻ걨' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_DrillPlanHalfYearReportItem](
+ [DrillPlanHalfYearReportItemId] [nvarchar](50) NOT NULL,
+ [DrillPlanHalfYearReportId] [nvarchar](50) NOT NULL,
+ [DrillPlanName] [nvarchar](200) NOT NULL,
+ [OrganizationUnit] [nvarchar](100) NULL,
+ [DrillPlanDate] [nvarchar](50) NULL,
+ [AccidentScene] [nvarchar](1000) NULL,
+ [ExerciseWay] [nvarchar](50) NULL,
+ [SortIndex] [int] NULL,
+ CONSTRAINT [PK_Information_DrillPlanHalfYearReportItem] PRIMARY KEY CLUSTERED
+(
+ [DrillPlanHalfYearReportItemId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+ALTER TABLE [dbo].[Information_DrillPlanHalfYearReportItem] WITH CHECK ADD CONSTRAINT [FK_Information_DrillPlanHalfYearReportItem_Information_DrillPlanHalfYearReport] FOREIGN KEY([DrillPlanHalfYearReportId])
+REFERENCES [dbo].[Information_DrillPlanHalfYearReport] ([DrillPlanHalfYearReportId])
+GO
+
+ALTER TABLE [dbo].[Information_DrillPlanHalfYearReportItem] CHECK CONSTRAINT [FK_Information_DrillPlanHalfYearReportItem_Information_DrillPlanHalfYearReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'DrillPlanHalfYearReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'DrillPlanHalfYearReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'DrillPlanName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'OrganizationUnit'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'DrillPlanDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ¹龰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'AccidentScene'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem', @level2type=N'COLUMN',@level2name=N'ExerciseWay'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӧƻ걨ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_DrillPlanHalfYearReportItem'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_MillionsMonthlyReport](
+ [MillionsMonthlyReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Month] [int] NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [DutyPerson] [nvarchar](50) NULL,
+ [RecordableIncidentRate] [decimal](18, 4) NULL,
+ [LostTimeRate] [decimal](18, 4) NULL,
+ [LostTimeInjuryRate] [decimal](18, 4) NULL,
+ [DeathAccidentFrequency] [decimal](18, 4) NULL,
+ [AccidentMortality] [decimal](18, 4) NULL,
+ [UpState] [char](1) NULL,
+ [HandleState] [char](1) NULL,
+ [HandleMan] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Information_MillionsMonthlyReport] PRIMARY KEY CLUSTERED
+(
+ [MillionsMonthlyReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_MillionsMonthlyReport] WITH CHECK ADD CONSTRAINT [FK_Information_MillionsMonthlyReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_MillionsMonthlyReport] CHECK CONSTRAINT [FK_Information_MillionsMonthlyReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'MillionsMonthlyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'Year'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'Month'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'FillingMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'FillingDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'DutyPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱܿɼ¼¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'RecordableIncidentRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'LostTimeRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱʧʱ˺¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'LostTimeInjuryRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ¹Ƶ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'DeathAccidentFrequency'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport', @level2type=N'COLUMN',@level2name=N'AccidentMortality'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱȫͳ±' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_MillionsMonthlyReportItem](
+ [MillionsMonthlyReportItemId] [nvarchar](50) NOT NULL,
+ [MillionsMonthlyReportId] [nvarchar](50) NULL,
+ [SortIndex] [int] NULL,
+ [Affiliation] [nvarchar](500) NULL,
+ [Name] [nvarchar](500) NULL,
+ [PostPersonNum] [int] NULL,
+ [SnapPersonNum] [int] NULL,
+ [ContractorNum] [int] NULL,
+ [SumPersonNum] [int] NULL,
+ [TotalWorkNum] [decimal](18, 4) NULL,
+ [SeriousInjuriesNum] [int] NULL,
+ [SeriousInjuriesPersonNum] [int] NULL,
+ [SeriousInjuriesLossHour] [int] NULL,
+ [MinorAccidentNum] [int] NULL,
+ [MinorAccidentPersonNum] [int] NULL,
+ [MinorAccidentLossHour] [int] NULL,
+ [OtherAccidentNum] [int] NULL,
+ [OtherAccidentPersonNum] [int] NULL,
+ [OtherAccidentLossHour] [int] NULL,
+ [RestrictedWorkPersonNum] [int] NULL,
+ [RestrictedWorkLossHour] [int] NULL,
+ [MedicalTreatmentPersonNum] [int] NULL,
+ [MedicalTreatmentLossHour] [int] NULL,
+ [FireNum] [int] NULL,
+ [ExplosionNum] [int] NULL,
+ [TrafficNum] [int] NULL,
+ [EquipmentNum] [int] NULL,
+ [QualityNum] [int] NULL,
+ [OtherNum] [int] NULL,
+ [FirstAidDressingsNum] [int] NULL,
+ [AttemptedEventNum] [int] NULL,
+ [LossDayNum] [int] NULL,
+ CONSTRAINT [PK_Information_MillionsMonthlyReportItem] PRIMARY KEY CLUSTERED
+(
+ [MillionsMonthlyReportItemId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+ALTER TABLE [dbo].[Information_MillionsMonthlyReportItem] WITH CHECK ADD CONSTRAINT [FK_Information_MillionsMonthlyReportItem_Information_MillionsMonthlyReport] FOREIGN KEY([MillionsMonthlyReportId])
+REFERENCES [dbo].[Information_MillionsMonthlyReport] ([MillionsMonthlyReportId])
+GO
+
+ALTER TABLE [dbo].[Information_MillionsMonthlyReportItem] CHECK CONSTRAINT [FK_Information_MillionsMonthlyReportItem_Information_MillionsMonthlyReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MillionsMonthlyReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MillionsMonthlyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SortIndex'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'Affiliation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'Name'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ڸԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'PostPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SnapPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'а' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'ContractorNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աϼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SumPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܹʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'TotalWorkNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SeriousInjuriesNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SeriousInjuriesPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'SeriousInjuriesLossHour'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MinorAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MinorAccidentPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MinorAccidentLossHour'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'OtherAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'OtherAccidentPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'OtherAccidentLossHour'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'RestrictedWorkPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'RestrictedWorkLossHour'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҽƴ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MedicalTreatmentPersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҽƴʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'MedicalTreatmentLossHour'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'FireNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ը' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'ExplosionNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'TrafficNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'е豸' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'EquipmentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'QualityNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'OtherNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ȱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'FirstAidDressingsNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'δ¼' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'AttemptedEventNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem', @level2type=N'COLUMN',@level2name=N'LossDayNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱȫͳ±ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_MillionsMonthlyReportItem'
+GO
+
+
+
+CREATE TABLE [dbo].[Information_SafetyQuarterlyReport](
+ [SafetyQuarterlyReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [Quarters] [int] NULL,
+ [TotalInWorkHours] [int] NULL,
+ [TotalInWorkHoursRemark] [nvarchar](500) NULL,
+ [TotalOutWorkHours] [int] NULL,
+ [TotalOutWorkHoursRemark] [nvarchar](500) NULL,
+ [WorkHoursLossRate] [decimal](18, 2) NULL,
+ [WorkHoursLossRateRemark] [nvarchar](500) NULL,
+ [WorkHoursAccuracy] [decimal](18, 2) NULL,
+ [WorkHoursAccuracyRemark] [nvarchar](500) NULL,
+ [MainBusinessIncome] [money] NULL,
+ [MainBusinessIncomeRemark] [nvarchar](500) NULL,
+ [ConstructionRevenue] [money] NULL,
+ [ConstructionRevenueRemark] [nvarchar](500) NULL,
+ [UnitTimeIncome] [money] NULL,
+ [UnitTimeIncomeRemark] [nvarchar](500) NULL,
+ [BillionsOutputMortality] [decimal](18, 2) NULL,
+ [BillionsOutputMortalityRemark] [nvarchar](500) NULL,
+ [MajorFireAccident] [int] NULL,
+ [MajorFireAccidentRemark] [nvarchar](500) NULL,
+ [MajorEquipAccident] [int] NULL,
+ [MajorEquipAccidentRemark] [nvarchar](500) NULL,
+ [AccidentFrequency] [decimal](18, 2) NULL,
+ [AccidentFrequencyRemark] [nvarchar](500) NULL,
+ [SeriousInjuryAccident] [int] NULL,
+ [SeriousInjuryAccidentRemark] [nvarchar](500) NULL,
+ [FireAccident] [int] NULL,
+ [FireAccidentRemark] [nvarchar](500) NULL,
+ [EquipmentAccident] [int] NULL,
+ [EquipmentAccidentRemark] [nvarchar](500) NULL,
+ [PoisoningAndInjuries] [int] NULL,
+ [PoisoningAndInjuriesRemark] [nvarchar](500) NULL,
+ [ProductionSafetyInTotal] [int] NULL,
+ [ProductionSafetyInTotalRemark] [nvarchar](500) NULL,
+ [ProtectionInput] [money] NULL,
+ [ProtectionInputRemark] [nvarchar](500) NULL,
+ [LaboAndHealthIn] [money] NULL,
+ [LaborAndHealthInRemark] [nvarchar](500) NULL,
+ [TechnologyProgressIn] [money] NULL,
+ [TechnologyProgressInRemark] [nvarchar](500) NULL,
+ [EducationTrainIn] [money] NULL,
+ [EducationTrainInRemark] [nvarchar](500) NULL,
+ [ProjectCostRate] [decimal](18, 2) NULL,
+ [ProjectCostRateRemark] [nvarchar](500) NULL,
+ [ProductionInput] [money] NULL,
+ [ProductionInputRemark] [nvarchar](500) NULL,
+ [Revenue] [decimal](18, 2) NULL,
+ [RevenueRemark] [nvarchar](500) NULL,
+ [FullTimeMan] [int] NULL,
+ [FullTimeManRemark] [nvarchar](500) NULL,
+ [FullTimeManAttachUrl] [nvarchar](2000) NULL,
+ [PMMan] [int] NULL,
+ [PMManRemark] [nvarchar](500) NULL,
+ [PMManAttachUrl] [nvarchar](2000) NULL,
+ [CorporateDirectorEdu] [int] NULL,
+ [CorporateDirectorEduRemark] [nvarchar](500) NULL,
+ [ProjectLeaderEdu] [int] NULL,
+ [ProjectLeaderEduRemark] [nvarchar](500) NULL,
+ [FullTimeEdu] [int] NULL,
+ [FullTimeEduRemark] [nvarchar](500) NULL,
+ [ThreeKidsEduRate] [decimal](18, 2) NULL,
+ [ThreeKidsEduRateRemark] [nvarchar](500) NULL,
+ [UplinReportRate] [decimal](18, 2) NULL,
+ [UplinReportRateRemark] [nvarchar](500) NULL,
+ [Remarks] [nvarchar](1000) NULL,
+ [FillingDate] [datetime] NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ [HandleState] [char](1) NULL,
+ [HandleMan] [nvarchar](50) NULL,
+ [KeyEquipmentTotal] [int] NULL,
+ [KeyEquipmentTotalRemark] [nvarchar](500) NULL,
+ [KeyEquipmentReportCount] [int] NULL,
+ [KeyEquipmentReportCountRemark] [nvarchar](500) NULL,
+ [ChemicalAreaProjectCount] [int] NULL,
+ [ChemicalAreaProjectCountRemark] [nvarchar](500) NULL,
+ [HarmfulMediumCoverCount] [int] NULL,
+ [HarmfulMediumCoverCountRemark] [nvarchar](500) NULL,
+ [HarmfulMediumCoverRate] [decimal](18, 2) NULL,
+ [HarmfulMediumCoverRateRemark] [nvarchar](500) NULL,
+ CONSTRAINT [PK_Information_SafetyQuarterlyReport] PRIMARY KEY CLUSTERED
+(
+ [SafetyQuarterlyReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_SafetyQuarterlyReport] WITH CHECK ADD CONSTRAINT [FK_Information_SafetyQuarterlyReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_SafetyQuarterlyReport] CHECK CONSTRAINT [FK_Information_SafetyQuarterlyReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'SafetyQuarterlyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λid' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'YearId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'(1-һȣ2-ڶȣ3-ȣ4-ļ)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'Quarters'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ빤ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TotalInWorkHours'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ빤ʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TotalInWorkHoursRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TotalOutWorkHours'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʧʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TotalOutWorkHoursRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱʧ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'WorkHoursLossRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱʧʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'WorkHoursLossRateRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱͳȷ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'WorkHoursAccuracy'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱͳȷʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'WorkHoursAccuracyRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MainBusinessIncome'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MainBusinessIncomeRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ConstructionRevenue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ConstructionRevenueRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λʱ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UnitTimeIncome'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λʱ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UnitTimeIncomeRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ڲֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'BillionsOutputMortality'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ڲֵʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'BillionsOutputMortalityRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ش¹ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MajorFireAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ش¹ʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MajorFireAccidentRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'شе豸¹ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MajorEquipAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'شе豸¹ʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'MajorEquipAccidentRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʷƵʣռ֮ȣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'AccidentFrequency'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʷƵʣռ֮ȣע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'AccidentFrequencyRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'SeriousInjuryAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'SeriousInjuryAccidentRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ͳƱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FireAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ͳƱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FireAccidentRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װ¹ͳƱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'EquipmentAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װ¹ͳƱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'EquipmentAccidentRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'жְҵ˺' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'PoisoningAndInjuries'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'жְҵ˺ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'PoisoningAndInjuriesRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶܶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProductionSafetyInTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶܶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProductionSafetyInTotalRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProtectionInput'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProtectionInputRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͶְҵͶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'LaboAndHealthIn'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͶְҵͶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'LaborAndHealthInRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TechnologyProgressIn'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'TechnologyProgressInRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫѵͶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'EducationTrainIn'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫѵͶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'EducationTrainInRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' ռ(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProjectCostRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' ռ(%)ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProjectCostRateRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱȫͶ/Ԫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProductionInput'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱȫͶ/Ԫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProductionInputRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶռʩ֮' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'Revenue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫͶռʩ֮ȱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'RevenueRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫרְԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FullTimeMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫרְԱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FullTimeManRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫרְԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FullTimeManAttachUrl'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'PMMan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿԱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'PMManRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'PMManAttachUrl'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ˰ȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'CorporateDirectorEdu'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ˰ȫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'CorporateDirectorEduRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀ˰ȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProjectLeaderEdu'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀ˰ȫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ProjectLeaderEduRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫרְԱȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FullTimeEdu'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫרְԱȫע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'FullTimeEduRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫԱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ThreeKidsEduRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫԱʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'ThreeKidsEduRateRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б(ʩֳȫ̬רܽϱ¹ʰʱϱ)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UplinReportRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б(ʩֳȫ̬רܽϱ¹ʰʱϱ)ʱע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'UplinReportRateRemark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport', @level2type=N'COLUMN',@level2name=N'Remarks'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫݼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyQuarterlyReport'
+GO
+
+
+
+/*******ְ¹ԭ*********/
+CREATE VIEW [dbo].[View_Information_AccidentCauseReport]
+AS
+SELECT S.AccidentCauseReportId,
+S.UnitId,
+U.UnitName,
+S.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0009.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0009.ConstText as MonthStr,
+S.AccidentCauseReportCode,
+S.Year,
+S.Month,
+S.DeathAccident,
+S.DeathToll,
+S.InjuredAccident,
+S.InjuredToll,
+S.MinorWoundAccident,
+S.MinorWoundToll,
+S.AverageTotalHours,
+S.AverageManHours,
+S.TotalLossMan,
+S.LastMonthLossHoursTotal,
+S.KnockOffTotal,
+S.DirectLoss,
+S.IndirectLosses,
+S.TotalLoss,
+S.TotalLossTime,
+S.FillCompanyPersonCharge,
+S.TabPeople,
+S.AuditPerson,
+S.UpState,
+S.HandleState,
+US.PersonName as UserName
+FROM dbo.Information_AccidentCauseReport AS S
+LEFT JOIN Base_Unit AS U ON U.UnitId=S.UnitId
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =S.[Year]
+LEFT JOIN Sys_Const AS Group_0009 ON Group_0009.GroupId='0009' AND Group_0009.ConstValue =S.[Month]
+LEFT JOIN Person_Persons AS US ON US.PersonId=S.HandleMan
+
+GO
+
+
+
+CREATE VIEW [dbo].[View_Information_DrillConductedQuarterlyReport] AS
+SELECT
+ Report.DrillConductedQuarterlyReportId,
+ Report.UnitId,
+ Report.ReportDate,
+ Report.YearId,
+ Report.Quarter,
+ Report.UpState,
+ Report.HandleState,
+ (ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0011.ConstText,'-')) AS Quarters,
+ u.UnitName,
+ Report.HandleMan,
+ US.PersonName as UserName
+FROM dbo.Information_DrillConductedQuarterlyReport AS Report
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =Report.YearId
+LEFT JOIN Sys_Const AS Group_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.Quarter
+Left join Base_Unit as u on u.UnitId=Report.UnitId
+LEFT JOIN Person_Persons AS US ON US.PersonId=Report.HandleMan
+
+GO
+
+
+
+/***********Ӧչ*********/
+CREATE VIEW [dbo].[View_Information_DrillConductedQuarterlyReportItem]
+AS
+SELECT ReportItem.DrillConductedQuarterlyReportItemId
+, ReportItem.DrillConductedQuarterlyReportId
+, ReportItem.IndustryType
+, ReportItem.TotalConductCount
+, ReportItem.TotalPeopleCount
+, ReportItem.TotalInvestment
+, ReportItem.HQConductCount
+, ReportItem.HQPeopleCount
+, ReportItem.HQInvestment
+, ReportItem.BasicConductCount
+, ReportItem.BasicPeopleCount
+, ReportItem.BasicInvestment
+, ReportItem.ComprehensivePractice
+, ReportItem.CPScene
+, ReportItem.CPDesktop
+, ReportItem.SpecialDrill
+, ReportItem.SDScene
+, ReportItem.SDDesktop
+, ReportItem.SortIndex
+,Report.UnitId
+,Report.ReportDate
+,Report.Quarter
+,Report.YearId
+,Report.CompileMan
+,Report.UpState
+,Report.HandleState
+,Report.HandleMan
+,U.UnitName
+FROM dbo.Information_DrillConductedQuarterlyReportItem AS ReportItem
+LEFT JOIN dbo.Information_DrillConductedQuarterlyReport AS Report ON Report.DrillConductedQuarterlyReportId=ReportItem.DrillConductedQuarterlyReportId
+LEFT JOIN dbo.Base_Unit AS U ON U.UnitId =Report.UnitId
+
+
+GO
+
+
+
+CREATE VIEW [dbo].[View_Information_DrillPlanHalfYearReport]
+AS
+SELECT
+DrillPlanHalfYearReportId,
+Report.UnitId,
+Report.CompileMan,
+Report.CompileDate,
+Report.Telephone,
+Report.YearId,
+Report.HalfYearId,
+Report.UpState,
+Report.HandleState,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0010.ConstText,'-')) AS Years,
+u.UnitName,
+us.PersonName as UserName,
+Report.HandleMan,
+USR.PersonName AS HandleManName
+FROM dbo.Information_DrillPlanHalfYearReport AS Report
+left join Base_Unit as u on u.UnitId = Report.UnitId
+left join Person_Persons as us on us.PersonId = Report.CompileMan
+LEFT JOIN Person_Persons AS USR ON US.PersonId = Report.HandleMan
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =Report.YearId
+LEFT JOIN Sys_Const AS Group_0010 ON Group_0010.GroupId='0010' AND Group_0010.ConstValue =Report.HalfYearId
+
+
+GO
+
+
+
+/***********Ӧƻ걨ϸ*********/
+CREATE VIEW [dbo].[View_Information_DrillPlanHalfYearReportItem]
+AS
+SELECT ReportItem.DrillPlanHalfYearReportItemId
+, ReportItem.DrillPlanHalfYearReportId
+, ReportItem.DrillPlanName
+, ReportItem.OrganizationUnit
+, ReportItem.DrillPlanDate
+, ReportItem.AccidentScene
+, ReportItem.ExerciseWay
+, ReportItem.SortIndex
+,Report.UnitId
+,Report.CompileMan
+,Report.CompileDate
+,Report.YearId
+,Report.HalfYearId
+,Report.Telephone
+,Report.UpState
+,Report.HandleState
+,Report.HandleMan
+,U.UnitName
+FROM dbo.Information_DrillPlanHalfYearReportItem AS ReportItem
+LEFT JOIN dbo.Information_DrillPlanHalfYearReport AS Report ON Report.DrillPlanHalfYearReportId=ReportItem.DrillPlanHalfYearReportId
+LEFT JOIN dbo.Base_Unit AS U ON U.UnitId =Report.UnitId
+
+
+GO
+
+
+
+/*************ҵʱȫͳ±**************/
+CREATE VIEW [dbo].[View_Information_MillionsMonthlyReport]
+AS
+SELECT
+Report.MillionsMonthlyReportId,
+Report.UnitId,
+Report.FillingDate,
+Report.UpState,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0009.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0009.ConstText as MonthStr,
+U.UnitName,
+Report.Year,
+Report.Month,
+Report.DutyPerson,
+Report.RecordableIncidentRate,
+Report.LostTimeRate,
+Report.LostTimeInjuryRate,
+Report.DeathAccidentFrequency,
+Report.AccidentMortality,
+Report.HandleState,
+Report.HandleMan,
+US.PersonName AS UserName
+FROM dbo.Information_MillionsMonthlyReport AS Report
+LEFT JOIN Base_Unit AS U ON U.UnitId=Report.UnitId
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =Report.[Year]
+LEFT JOIN Sys_Const AS Group_0009 ON Group_0009.GroupId='0009' AND Group_0009.ConstValue =Report.[Month]
+LEFT JOIN Person_Persons AS US ON US.PersonId=Report.HandleMan
+
+
+GO
+
+
+
+/*************ȫݼ**************/
+CREATE VIEW [dbo].[View_Information_SafetyQuarterlyReport]
+AS
+SELECT
+Report.SafetyQuarterlyReportId,
+Report.UnitId,
+Report.YearId,
+Report.Quarters,
+Report.UpState,
+Group_0011.ConstText as QuartersStr,
+U.UnitName,
+Report.TotalInWorkHours,
+Report.TotalInWorkHoursRemark,
+Report.TotalOutWorkHours,
+Report.TotalOutWorkHoursRemark,
+Report.WorkHoursLossRate,
+Report.WorkHoursLossRateRemark,
+Report.WorkHoursAccuracy,
+Report.WorkHoursAccuracyRemark,
+Report.MainBusinessIncome,
+Report.MainBusinessIncomeRemark,
+Report.ConstructionRevenue,
+Report.ConstructionRevenueRemark,
+Report.UnitTimeIncome,
+Report.UnitTimeIncomeRemark,
+Report.BillionsOutputMortality,
+Report.BillionsOutputMortalityRemark,
+Report.MajorFireAccident,
+Report.MajorFireAccidentRemark,
+Report.MajorEquipAccident,
+Report.MajorEquipAccidentRemark,
+Report.AccidentFrequency,
+Report.AccidentFrequencyRemark,
+Report.SeriousInjuryAccident,
+Report.SeriousInjuryAccidentRemark,
+Report.FireAccident,
+Report.FireAccidentRemark,
+Report.EquipmentAccident,
+Report.EquipmentAccidentRemark,
+Report.PoisoningAndInjuries,
+Report.PoisoningAndInjuriesRemark,
+Report.ProductionSafetyInTotal,
+Report.ProductionSafetyInTotalRemark,
+Report.ProtectionInput,
+Report.ProtectionInputRemark,
+Report.LaboAndHealthIn,
+Report.LaborAndHealthInRemark,
+Report.TechnologyProgressIn,
+Report.TechnologyProgressInRemark,
+Report.EducationTrainIn,
+Report.EducationTrainInRemark,
+Report.ProjectCostRate,
+Report.ProjectCostRateRemark,
+Report.ProductionInput,
+Report.ProductionInputRemark,
+Report.Revenue,
+Report.RevenueRemark,
+Report.FullTimeMan,
+Report.FullTimeManRemark,
+Report.FullTimeManAttachUrl,
+Report.PMMan,
+Report.PMManRemark,
+Report.PMManAttachUrl,
+Report.CorporateDirectorEdu,
+Report.CorporateDirectorEduRemark,
+Report.ProjectLeaderEdu,
+Report.ProjectLeaderEduRemark,
+Report.FullTimeEdu,
+Report.FullTimeEduRemark,
+Report.ThreeKidsEduRate,
+Report.ThreeKidsEduRateRemark,
+Report.UplinReportRate,
+Report.UplinReportRateRemark,
+Report.Remarks,
+Report.FillingDate,
+Report.KeyEquipmentTotal,
+Report.KeyEquipmentTotalRemark,
+Report.KeyEquipmentReportCount,
+Report.KeyEquipmentReportCountRemark,
+Report.ChemicalAreaProjectCount,
+Report.ChemicalAreaProjectCountRemark,
+Report.HarmfulMediumCoverCount,
+Report.HarmfulMediumCoverCountRemark,
+Report.HarmfulMediumCoverRate,
+Report.HarmfulMediumCoverRateRemark,
+Report.HandleState,
+Report.HandleMan,
+US.PersonName AS UserName
+FROM dbo.Information_SafetyQuarterlyReport AS Report
+LEFT JOIN Base_Unit AS U ON U.UnitId=Report.UnitId
+LEFT JOIN Sys_Const AS Group_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.Quarters
+LEFT JOIN Person_Persons AS US ON US.PersonId=Report.HandleMan
+
+
+GO
+
+
+
+/*************ְ¹ԭ***************/
+CREATE VIEW [dbo].[View_DataIn_AccidentCauseReport]
+AS
+SELECT AItem.AccidentCauseReportItemId
+, AItem.AccidentCauseReportId
+, AItem.AccidentType
+, AItem.TotalDeath
+, AItem.TotalInjuries
+, AItem.TotalMinorInjuries
+, AItem.Death1
+, AItem.Injuries1
+, AItem.MinorInjuries1
+, AItem.Death2
+, AItem.Injuries2
+, AItem.MinorInjuries2
+, AItem.Death3
+, AItem.Injuries3
+, AItem.MinorInjuries3
+, AItem.Death4
+, AItem.Injuries4
+, AItem.MinorInjuries4
+, AItem.Death5
+, AItem.Injuries5
+, AItem.MinorInjuries5
+, AItem.Death6
+, AItem.Injuries6
+, AItem.MinorInjuries6
+, AItem.Death7
+, AItem.Injuries7
+, AItem.MinorInjuries7
+, AItem.Death8
+, AItem.Injuries8
+, AItem.MinorInjuries8
+, AItem.Death9
+, AItem.Injuries9
+, AItem.MinorInjuries9
+, AItem.Death10
+, AItem.Injuries10
+, AItem.MinorInjuries10
+, AItem.Death11
+, AItem.Injuries11
+, AItem.MinorInjuries11
+, A.UnitId
+, A.AccidentCauseReportCode
+, A.Year
+, A.Month
+, A.DeathAccident
+, A.DeathToll
+, A.InjuredAccident
+, A.InjuredToll
+, A.MinorWoundAccident
+, A.MinorWoundToll
+, A.AverageTotalHours
+, A.AverageManHours
+, A.TotalLossMan
+, A.LastMonthLossHoursTotal
+, A.KnockOffTotal
+, A.DirectLoss
+, A.IndirectLosses
+, A.TotalLoss
+, A.TotalLossTime
+, A.FillCompanyPersonCharge
+, A.TabPeople
+, A.AuditPerson
+, A.FillingDate
+, A.UpState
+, A.HandleState
+, A.HandleMan
+, U.UnitName
+FROM dbo.Information_AccidentCauseReportItem AS AItem
+LEFT JOIN dbo.Information_AccidentCauseReport AS A ON A.AccidentCauseReportId=AItem.AccidentCauseReportId
+LEFT JOIN dbo.Base_Unit AS U ON U.UnitId=A.UnitId
+
+
+GO
+
+
+
+/***********ʱȫͳ±*********/
+CREATE VIEW [dbo].[View_DataIn_MillionsMonthlyReport]
+AS
+SELECT MItem.MillionsMonthlyReportItemId
+, MItem.MillionsMonthlyReportId
+, MItem.SortIndex
+, MItem.Affiliation
+, MItem.Name
+, MItem.PostPersonNum
+, MItem.SnapPersonNum
+, MItem.ContractorNum
+, MItem.SumPersonNum
+, MItem.TotalWorkNum
+, MItem.SeriousInjuriesNum
+, MItem.SeriousInjuriesPersonNum
+, MItem.SeriousInjuriesLossHour
+, MItem.MinorAccidentNum
+, MItem.MinorAccidentPersonNum
+, MItem.MinorAccidentLossHour
+, MItem.OtherAccidentNum
+, MItem.OtherAccidentPersonNum
+, MItem.OtherAccidentLossHour
+, MItem.RestrictedWorkPersonNum
+, MItem.RestrictedWorkLossHour
+, MItem.MedicalTreatmentPersonNum
+, MItem.MedicalTreatmentLossHour
+, MItem.FireNum
+, MItem.ExplosionNum
+, MItem.TrafficNum
+, MItem.EquipmentNum
+, MItem.QualityNum
+, MItem.OtherNum
+, MItem.FirstAidDressingsNum
+, MItem.AttemptedEventNum
+, MItem.LossDayNum
+,M.UnitId
+,M.Year
+,M.Month
+,M.FillingMan
+,M.FillingDate
+,M.DutyPerson
+,M.RecordableIncidentRate
+,M.LostTimeRate
+,M.LostTimeInjuryRate
+,M.DeathAccidentFrequency
+,M.AccidentMortality
+,M.UpState
+,M.HandleState
+,M.HandleMan
+,U.UnitName
+FROM dbo.Information_MillionsMonthlyReportItem AS MItem
+LEFT JOIN dbo.Information_MillionsMonthlyReport AS M ON M.MillionsMonthlyReportId=MItem.MillionsMonthlyReportId
+LEFT JOIN dbo.Base_Unit AS U ON U.UnitId =M.UnitId
+
+
+GO
+
+
+--ʱ
+INSERT INTO SGGLDB_SD.dbo.Information_MillionsMonthlyReport
+SELECT *
+FROM SUBHSSEDB.DBO.Information_MillionsMonthlyReport AS B
+WHERE B.MillionsMonthlyReportId NOT IN (SELECT MillionsMonthlyReportId FROM SGGLDB_SD.dbo.Information_MillionsMonthlyReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.Information_MillionsMonthlyReportItem
+SELECT *
+FROM SUBHSSEDB.DBO.Information_MillionsMonthlyReportItem AS B
+WHERE B.MillionsMonthlyReportItemId NOT IN (SELECT MillionsMonthlyReportItemId FROM SGGLDB_SD.dbo.Information_MillionsMonthlyReportItem)
+AND B.MillionsMonthlyReportId IN (SELECT MillionsMonthlyReportId FROM SGGLDB_SD.dbo.Information_MillionsMonthlyReport )
+GO
+
+INSERT INTO SGGLDB_SD.dbo.ProjectData_FlowOperate
+SELECT *
+FROM SUBHSSEDB.DBO.ProjectData_FlowOperate AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.ProjectData_FlowOperate)
+AND B.DataId IN (SELECT MillionsMonthlyReportId FROM SGGLDB_SD.dbo.Information_MillionsMonthlyReport)
+GO
+
+
+--ְҵ
+INSERT INTO SGGLDB_SD.dbo.Information_AccidentCauseReport
+SELECT *
+FROM SUBHSSEDB.DBO.Information_AccidentCauseReport AS B
+WHERE B.AccidentCauseReportId NOT IN (SELECT AccidentCauseReportId FROM SGGLDB_SD.dbo.Information_AccidentCauseReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.Information_AccidentCauseReportItem
+SELECT *
+FROM SUBHSSEDB.DBO.Information_AccidentCauseReportItem AS B
+WHERE B.AccidentCauseReportItemId NOT IN (SELECT AccidentCauseReportItemId FROM SGGLDB_SD.dbo.Information_AccidentCauseReportItem)
+AND B.AccidentCauseReportId IN (SELECT AccidentCauseReportId FROM SGGLDB_SD.dbo.Information_AccidentCauseReport )
+GO
+
+INSERT INTO SGGLDB_SD.dbo.ProjectData_FlowOperate
+SELECT *
+FROM SUBHSSEDB.DBO.ProjectData_FlowOperate AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.ProjectData_FlowOperate)
+AND B.DataId IN (SELECT AccidentCauseReportId FROM SGGLDB_SD.dbo.Information_AccidentCauseReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.Sys_CodeRecords
+SELECT *
+FROM SUBHSSEDB.DBO.Sys_CodeRecords AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.Sys_CodeRecords)
+AND B.DataId IN (SELECT AccidentCauseReportId FROM SGGLDB_SD.dbo.Information_AccidentCauseReport)
+GO
+--ȫɼ
+INSERT INTO SGGLDB_SD.dbo.Information_SafetyQuarterlyReport
+SELECT *
+FROM SUBHSSEDB.DBO.Information_SafetyQuarterlyReport AS B
+WHERE B.SafetyQuarterlyReportId NOT IN (SELECT SafetyQuarterlyReportId
+ FROM SGGLDB_SD.dbo.Information_SafetyQuarterlyReport)
+GO
+
+
+INSERT INTO SGGLDB_SD.dbo.ProjectData_FlowOperate
+SELECT *
+FROM SUBHSSEDB.DBO.ProjectData_FlowOperate AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.ProjectData_FlowOperate)
+AND B.DataId IN (SELECT SafetyQuarterlyReportId FROM SGGLDB_SD.dbo.Information_SafetyQuarterlyReport)
+GO
+
+--Ӧչ
+INSERT INTO SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReport
+SELECT *
+FROM SUBHSSEDB.DBO.Information_DrillConductedQuarterlyReport AS B
+WHERE B.DrillConductedQuarterlyReportId NOT IN (SELECT DrillConductedQuarterlyReportId FROM SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReportItem
+SELECT *
+FROM SUBHSSEDB.DBO.Information_DrillConductedQuarterlyReportItem AS B
+WHERE B.DrillConductedQuarterlyReportItemId NOT IN (SELECT DrillConductedQuarterlyReportItemId FROM SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReportItem)
+AND B.DrillConductedQuarterlyReportId IN (SELECT DrillConductedQuarterlyReportId FROM SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.ProjectData_FlowOperate
+SELECT *
+FROM SUBHSSEDB.DBO.ProjectData_FlowOperate AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.ProjectData_FlowOperate)
+AND B.DataId IN (SELECT DrillConductedQuarterlyReportId FROM SGGLDB_SD.dbo.Information_DrillConductedQuarterlyReport)
+GO
+
+--Ӧչ걨
+INSERT INTO SGGLDB_SD.dbo.Information_DrillPlanHalfYearReport
+SELECT *
+FROM SUBHSSEDB.DBO.Information_DrillPlanHalfYearReport AS B
+WHERE B.DrillPlanHalfYearReportId NOT IN (SELECT DrillPlanHalfYearReportId FROM SGGLDB_SD.dbo.Information_DrillPlanHalfYearReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.Information_DrillPlanHalfYearReportItem
+SELECT *
+FROM SUBHSSEDB.DBO.Information_DrillPlanHalfYearReportItem AS B
+WHERE B.DrillPlanHalfYearReportItemId NOT IN (SELECT DrillPlanHalfYearReportItemId FROM SGGLDB_SD.dbo.Information_DrillPlanHalfYearReportItem)
+AND B.DrillPlanHalfYearReportId IN (SELECT DrillPlanHalfYearReportId FROM SGGLDB_SD.dbo.Information_DrillPlanHalfYearReport)
+GO
+
+INSERT INTO SGGLDB_SD.dbo.ProjectData_FlowOperate
+SELECT *
+FROM SUBHSSEDB.DBO.ProjectData_FlowOperate AS B
+WHERE B.DataId NOT IN (SELECT DataId FROM SGGLDB_SD.dbo.ProjectData_FlowOperate)
+AND B.DataId IN (SELECT DrillPlanHalfYearReportId FROM SGGLDB_SD.dbo.Information_DrillPlanHalfYearReport)
+GO
+
+
+CREATE TABLE [dbo].[Information_UrgeReport](
+ [UrgeReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [ReprotType] [nvarchar](50) NULL,
+ [YearId] [nvarchar](50) NULL,
+ [MonthId] [nvarchar](50) NULL,
+ [QuarterId] [nvarchar](50) NULL,
+ [HalfYearId] [nvarchar](50) NULL,
+ [UrgeDate] [datetime] NULL,
+ [IsComplete] [bit] NULL,
+ [IsCancel] [bit] NULL,
+ CONSTRAINT [PK_Information_UrgeReport] PRIMARY KEY CLUSTERED
+(
+ [UrgeReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+ALTER TABLE [dbo].[Information_UrgeReport] WITH CHECK ADD CONSTRAINT [FK_Information_UrgeReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_UrgeReport] CHECK CONSTRAINT [FK_Information_UrgeReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'߱id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'UrgeReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λid' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'ReprotType'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿϱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'IsComplete'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫϢ߱' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport'
+GO
+
+
diff --git a/DataBase/版本日志/SGGLDB_V2023-02-13_gaofei.sql b/DataBase/版本日志/SGGLDB_V2023-02-13_gaofei.sql
new file mode 100644
index 00000000..8529dfb5
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2023-02-13_gaofei.sql
@@ -0,0 +1,50 @@
+
+CREATE TABLE [dbo].[Base_CompanyModelKind](
+ [CompanyModelKindId] [nvarchar](50) NOT NULL,
+ [CompanyModelKindCode] [nvarchar](50) NULL,
+ [CompanyModelKindName] [nvarchar](50) NULL,
+ [Remark] [nvarchar](100) NULL,
+ CONSTRAINT [PK_Base_CompanyModelKind] PRIMARY KEY CLUSTERED
+(
+ [CompanyModelKindId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CompanyModelKind', @level2type=N'COLUMN',@level2name=N'CompanyModelKindId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CompanyModelKind', @level2type=N'COLUMN',@level2name=N'CompanyModelKindCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CompanyModelKind', @level2type=N'COLUMN',@level2name=N'CompanyModelKindName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CompanyModelKind', @level2type=N'COLUMN',@level2name=N'Remark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˾' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Base_CompanyModelKind'
+GO
+
+
+alter table [dbo].[Base_CompanyModel] add CompanyModelKindId nvarchar(50) null
+GO
+alter table Base_CompanyModel add constraint FK_Base_CompanyModel_Base_CompanyModelKind
+foreign key (CompanyModelKindId) references Base_CompanyModelKind (CompanyModelKindId)
+GO
+
+
+
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('B9372A07-8A93-4EC0-9374-FDE1ED958DAE','˾','BaseInfo/CompanyModelKind.aspx',69,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('051EC690-DCA2-4296-9698-49BD2875F30A','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('ACB8BFF1-8D4A-4935-89DF-9DBAA1EC3F94','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('4F5FA4EB-E08D-48D6-A9F1-F2E1F4EBE049','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('7504C77A-7D99-4822-8A3C-411ADDF91596','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',4)
+ GO
\ No newline at end of file
diff --git a/DataBase/版本日志/SGGLDB_V2023-02-14.sql b/DataBase/版本日志/SGGLDB_V2023-02-14.sql
new file mode 100644
index 00000000..547a9535
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2023-02-14.sql
@@ -0,0 +1,92 @@
+
+
+/****** Object: Table [dbo].[PHTGL_BidDocumentsStandingBook] Script Date: 2023/2/14 20:07:33 ******/
+SET ANSI_NULLS ON
+GO
+
+SET QUOTED_IDENTIFIER ON
+GO
+
+SET ANSI_PADDING ON
+GO
+
+CREATE TABLE [dbo].[PHTGL_BidDocumentsStandingBook](
+ [BidDocumentsStandingBookId] [varchar](100) NOT NULL,
+ [EPCCode] [varchar](100) NULL,
+ [ProjectShortName] [varchar](100) NULL,
+ [ProjectCode] [varchar](100) NULL,
+ [IsOnLine] [int] NULL,
+ [BidType] [varchar](100) NULL,
+ [ActionPlanCode] [varchar](100) NULL,
+ [BidDocumentsCode] [varchar](100) NULL,
+ [BidProject] [varchar](100) NULL,
+ [ShortListApprovalCode] [varchar](100) NULL,
+ [ProposedInviter] [varchar](100) NULL,
+ [Bidding_SendTime] [datetime] NULL,
+ [Bidding_StartTime] [datetime] NULL,
+ [ApprovePersonFormCode] [varchar](100) NULL,
+ [BidWinner] [varchar](100) NULL,
+ [SetSubReviewCode] [varchar](100) NULL,
+ CONSTRAINT [PK_PHTGL_BidDocumentsStandingBook_BidDocumentsStandingBookId] PRIMARY KEY CLUSTERED
+(
+ [BidDocumentsStandingBookId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidDocumentsStandingBookId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܳаͬ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'EPCCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ProjectShortName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ProjectCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'IsOnLine'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б귽ʽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidType'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʵʩƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ActionPlanCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'бļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidDocumentsCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б깤' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidProject'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ShortListApprovalCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'뵥λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ProposedInviter'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'Bidding_SendTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'Bidding_StartTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ί' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'ApprovePersonFormCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б굥λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'BidWinner'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȷб' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook', @level2type=N'COLUMN',@level2name=N'SetSubReviewCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'б깤̨˱' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'PHTGL_BidDocumentsStandingBook'
+GO
+
+
diff --git a/DataBase/菜单初始化脚本/0-0系统设置(Menu_SysSet).sql b/DataBase/菜单初始化脚本/0-0系统设置(Menu_SysSet).sql
index fe4c96e9..a286b3c4 100644
--- a/DataBase/菜单初始化脚本/0-0系统设置(Menu_SysSet).sql
+++ b/DataBase/菜单初始化脚本/0-0系统设置(Menu_SysSet).sql
@@ -337,6 +337,19 @@ GO
VALUES('AF3594FB-0CC9-419E-9D8D-25ECD888AD47','CCD45D20-EA3F-47E7-8176-AB085778539E','',4)
GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('B9372A07-8A93-4EC0-9374-FDE1ED958DAE','˾','BaseInfo/CompanyModelKind.aspx',69,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('051EC690-DCA2-4296-9698-49BD2875F30A','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('ACB8BFF1-8D4A-4935-89DF-9DBAA1EC3F94','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('4F5FA4EB-E08D-48D6-A9F1-F2E1F4EBE049','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('7504C77A-7D99-4822-8A3C-411ADDF91596','B9372A07-8A93-4EC0-9374-FDE1ED958DAE','',4)
+ GO
+
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('99C99DF8-103F-4CA4-83CB-A6C924B5A698','˾','BaseInfo/CompanyModel.aspx',70,'A93BA810-3511-4BB2-9C10-9663351DF79F','Menu_SysSet',1,1,1)
GO
diff --git a/DataBase/菜单初始化脚本/0-5综合管理(Menu_ZHGL).sql b/DataBase/菜单初始化脚本/0-5综合管理(Menu_ZHGL).sql
index fcf1bb34..90b63f76 100644
--- a/DataBase/菜单初始化脚本/0-5综合管理(Menu_ZHGL).sql
+++ b/DataBase/菜单初始化脚本/0-5综合管理(Menu_ZHGL).sql
@@ -92,6 +92,109 @@ GO
VALUES('04AB7BF7-C527-45D4-B98D-082F10D25CA0','DEE90726-E00D-462B-A4BF-7E36180DD5B8','保存',4)
GO
+--安全报表(集团)
+INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+VALUES('ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','安全信息上报','',32,'0','Menu_ZHGL',1,0,1)
+GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('3156A9F0-276D-4AD4-BF84-45CF6DFC215C','百万工时安全统计月报','ZHGL/Information/MillionsMonthlyReport.aspx',10,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('8C0E3DDA-8883-4A8E-B288-C009B807C39D','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('8C720351-FD57-4C2D-9FCB-C8BB7FE48E65','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9084F09C-AA75-42B4-8357-6CDD0661CE8D','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('00C79282-699E-4CCA-988E-1F36671C2F37','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','保存',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1889FE33-E72D-4E70-B51D-2AE411E08693','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','保存并上报',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('08C103D2-6DB3-435E-A3DC-0C1F99CC51FF','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','提交',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('AE5A454F-578E-4C52-969B-20AB87006A73','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','导入',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('88D736EA-3ADC-4100-B17E-A1A1F16D9D2A','3156A9F0-276D-4AD4-BF84-45CF6DFC215C','打印',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('4BC71D2E-7D94-48C1-A61A-139637825AA5','职工伤亡事故原因分析报','ZHGL/Information/AccidentCauseReport.aspx',20,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9D7EDCF0-32CD-4BB6-AA0F-6914E2B0F2D1','4BC71D2E-7D94-48C1-A61A-139637825AA5','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('FB9C1CDD-3CB8-4AEC-B940-563B3BA59E17','4BC71D2E-7D94-48C1-A61A-139637825AA5','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('FABAAF0B-C618-43B7-907A-217B6A1E5F6E','4BC71D2E-7D94-48C1-A61A-139637825AA5','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('385833BA-BD03-4DB2-9380-C76395368782','4BC71D2E-7D94-48C1-A61A-139637825AA5','保存',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('34472641-62F3-4E40-BEB3-770C3D833D03','4BC71D2E-7D94-48C1-A61A-139637825AA5','保存并上报',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1CBB8571-E8D1-4EE0-AB08-4C3305BE27C6','4BC71D2E-7D94-48C1-A61A-139637825AA5','提交',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A71F1236-204F-4B34-B887-19B31CE56F63','4BC71D2E-7D94-48C1-A61A-139637825AA5','导入',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C90343CD-4DBE-4C3B-BEDD-888C9B514F8B','4BC71D2E-7D94-48C1-A61A-139637825AA5','打印',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','安全生产数据季报','ZHGL/Information/SafetyQuarterlyReport.aspx',30,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('AD2043D6-871F-47FE-B6CC-0CA5CD50C0BA','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('19657A9D-6AEB-47BA-BC3F-B916C68B515B','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('07E601FD-AE73-4F2B-A9D2-613B34ED654A','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('D3BBA6C4-4D71-4533-9A47-9459AA30C2D2','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','保存',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('90ED2D85-1184-4E46-8832-8C1215B6C59D','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','保存并上报',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('BED22C29-BA30-4BD2-A244-8588F2A0635B','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','导入',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C4922011-37CD-4B79-820A-D8CAAE39144D','A3894BAD-3F4A-4BB4-98CF-A76C588AE53F','打印',7)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('7985C759-8EB9-4B7D-AC65-00541280B46C','应急演练开展情况季报','ZHGL/Information/DrillConductedQuarterlyReport.aspx',40,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('3D866C54-0A39-4A56-B771-7F3C63CF6A32','7985C759-8EB9-4B7D-AC65-00541280B46C','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('F65F199A-5D28-42D0-B08F-390376CAAC31','7985C759-8EB9-4B7D-AC65-00541280B46C','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('7FA97C99-A026-4934-95AC-50FF173B889D','7985C759-8EB9-4B7D-AC65-00541280B46C','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('1689FECD-6F18-4B1E-8190-706F2124B4C6','7985C759-8EB9-4B7D-AC65-00541280B46C','保存',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('6358C4DD-5B0E-4DB5-8FD1-AED403EF1D43','7985C759-8EB9-4B7D-AC65-00541280B46C','保存并上报',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C1E0471F-568C-4B85-ADED-FCDD27F8C3DA','7985C759-8EB9-4B7D-AC65-00541280B46C','提交',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('5231B22C-BF0B-478B-92DD-1C1B30BC7270','7985C759-8EB9-4B7D-AC65-00541280B46C','导入',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('25A11FB5-AB22-42CC-9E94-29FF9221B25B','7985C759-8EB9-4B7D-AC65-00541280B46C','打印',8)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('70DEB27A-D6FF-4D57-879B-0270F2967FA0','应急演练工作计划半年报','ZHGL/Information/DrillPlanHalfYearReport.aspx',50,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A034BF05-9859-4920-97F0-20190D94E6F4','70DEB27A-D6FF-4D57-879B-0270F2967FA0','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A821D1EC-5E54-4386-80E8-D1718CF00E7D','70DEB27A-D6FF-4D57-879B-0270F2967FA0','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('6345E13D-F311-4839-927E-ADEF36D7CB5E','70DEB27A-D6FF-4D57-879B-0270F2967FA0','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('A4115079-DDEC-4B42-836D-4B79B999E011','70DEB27A-D6FF-4D57-879B-0270F2967FA0','保存',4)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('DE6CADAC-6981-45F6-BF19-0BFC6F1F2AFE','70DEB27A-D6FF-4D57-879B-0270F2967FA0','保存并上报',5)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('C495E44F-DF2C-4071-829C-8C06DA30F9FE','70DEB27A-D6FF-4D57-879B-0270F2967FA0','提交',6)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('F287B0ED-D725-4CD3-B422-5319112F452B','70DEB27A-D6FF-4D57-879B-0270F2967FA0','导入',7)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('30F188D4-84D4-4D3C-8ECE-B499ACB1C3C8','70DEB27A-D6FF-4D57-879B-0270F2967FA0','打印',8)
+ GO
+
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('B9ADD006-BA46-4191-BCD1-CCB56767C82B','总包施工质量计划','ZHGL/Plan/MainPlan.aspx',35,'0','Menu_ZHGL',0,1,1)
GO
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index 728892c4..d0267b34 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -212,6 +212,7 @@
+
@@ -641,6 +642,8 @@
+
+
@@ -654,6 +657,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/BLL/BaseInfo/CompanyModelKindService.cs b/SGGL/BLL/BaseInfo/CompanyModelKindService.cs
new file mode 100644
index 00000000..27f9abc4
--- /dev/null
+++ b/SGGL/BLL/BaseInfo/CompanyModelKindService.cs
@@ -0,0 +1,87 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ public class CompanyModelKindService
+ {
+ ///
+ /// 根据主键获取公司质量样板类别
+ ///
+ ///
+ ///
+ public static Model.Base_CompanyModelKind GetCompanyModelKindById(string CompanyModelKindId)
+ {
+ return Funs.DB.Base_CompanyModelKind.FirstOrDefault(e => e.CompanyModelKindId == CompanyModelKindId);
+ }
+
+ ///
+ /// 添加公司质量样板类别
+ ///
+ ///
+ public static void AddCompanyModelKind(Model.Base_CompanyModelKind CompanyModelKind)
+ {
+ Model.Base_CompanyModelKind newCompanyModelKind = new Model.Base_CompanyModelKind
+ {
+ CompanyModelKindId = CompanyModelKind.CompanyModelKindId,
+ CompanyModelKindCode = CompanyModelKind.CompanyModelKindCode,
+ CompanyModelKindName = CompanyModelKind.CompanyModelKindName,
+ Remark = CompanyModelKind.Remark,
+ };
+ Funs.DB.Base_CompanyModelKind.InsertOnSubmit(newCompanyModelKind);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改公司质量样板类别
+ ///
+ ///
+ public static void UpdateCompanyModelKind(Model.Base_CompanyModelKind CompanyModelKind)
+ {
+ Model.Base_CompanyModelKind newCompanyModelKind = Funs.DB.Base_CompanyModelKind.FirstOrDefault(e => e.CompanyModelKindId == CompanyModelKind.CompanyModelKindId);
+ if (newCompanyModelKind != null)
+ {
+ newCompanyModelKind.CompanyModelKindCode = CompanyModelKind.CompanyModelKindCode;
+ newCompanyModelKind.CompanyModelKindName = CompanyModelKind.CompanyModelKindName;
+ newCompanyModelKind.Remark = CompanyModelKind.Remark;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除公司质量样板类别
+ ///
+ ///
+ public static void DeleteCompanyModelKindById(string CompanyModelKindId)
+ {
+ Model.Base_CompanyModelKind CompanyModelKind = Funs.DB.Base_CompanyModelKind.FirstOrDefault(e => e.CompanyModelKindId == CompanyModelKindId);
+ if (CompanyModelKind != null)
+ {
+ CommonService.DeleteAttachFileById(CompanyModelKindId);
+ Funs.DB.Base_CompanyModelKind.DeleteOnSubmit(CompanyModelKind);
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 样板类型下拉框
+ ///
+ ///
+ ///
+ ///
+ public static void InitCompanyModelKindDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
+ {
+ dropName.DataValueField = "CompanyModelKindId";
+ dropName.DataTextField = "CompanyModelKindName";
+ dropName.DataSource = from x in Funs.DB.Base_CompanyModelKind orderby x.CompanyModelKindCode select x;
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName);
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/BaseInfo/CompanyModelService.cs b/SGGL/BLL/BaseInfo/CompanyModelService.cs
index 6752a708..77195260 100644
--- a/SGGL/BLL/BaseInfo/CompanyModelService.cs
+++ b/SGGL/BLL/BaseInfo/CompanyModelService.cs
@@ -30,6 +30,7 @@ namespace BLL
Model.Base_CompanyModel newCompanyModel = new Model.Base_CompanyModel
{
CompanyModelId = CompanyModel.CompanyModelId,
+ CompanyModelKindId = CompanyModel.CompanyModelKindId,
ModelType = CompanyModel.ModelType,
Remark = CompanyModel.Remark,
};
@@ -46,6 +47,7 @@ namespace BLL
Model.Base_CompanyModel newCompanyModel = Funs.DB.Base_CompanyModel.FirstOrDefault(e => e.CompanyModelId == CompanyModel.CompanyModelId);
if (newCompanyModel != null)
{
+ newCompanyModel.CompanyModelKindId = CompanyModel.CompanyModelKindId;
newCompanyModel.ModelType = CompanyModel.ModelType;
newCompanyModel.Remark = CompanyModel.Remark;
Funs.DB.SubmitChanges();
@@ -73,11 +75,11 @@ namespace BLL
///
///
///
- public static void InitModelTypeDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
+ public static void InitModelTypeDownList(FineUIPro.DropDownList dropName, string companyModelKindId, bool isShowPlease)
{
dropName.DataValueField = "CompanyModelId";
dropName.DataTextField = "ModelType";
- dropName.DataSource = from x in Funs.DB.Base_CompanyModel orderby x.ModelType select x;
+ dropName.DataSource = from x in Funs.DB.Base_CompanyModel where x.CompanyModelKindId == companyModelKindId orderby x.ModelType select x;
dropName.DataBind();
if (isShowPlease)
{
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index 16dd7609..6c00c05f 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -1005,6 +1005,11 @@
///
public const string NoticeAndSupervisionTypeMenuId = "CCD45D20-EA3F-47E7-8176-AB085778539E";
+ ///
+ /// 公司质量样板类别
+ ///
+ public const string CompanyModelKindMenuId = "B9372A07-8A93-4EC0-9374-FDE1ED958DAE";
+
///
/// 公司质量样板
///
@@ -4475,5 +4480,24 @@
///
public const string Project_SYHSEData_SYHSEMenuId = "";
#endregion
+
+ #region 上报资源状态
+ ///
+ /// 本单位
+ ///
+ public const string UpState_1 = "1";
+ ///
+ /// 待上报
+ ///
+ public const string UpState_2 = "2";
+ ///
+ /// 已上报
+ ///
+ public const string UpState_3 = "3";
+ ///
+ /// 上报失败
+ ///
+ public const string UpState_4 = "4";
+ #endregion
}
}
\ No newline at end of file
diff --git a/SGGL/BLL/Common/ProjectDataFlowSetService.cs b/SGGL/BLL/Common/ProjectDataFlowSetService.cs
index 3a162891..0fa8dcba 100644
--- a/SGGL/BLL/Common/ProjectDataFlowSetService.cs
+++ b/SGGL/BLL/Common/ProjectDataFlowSetService.cs
@@ -1,5 +1,6 @@
namespace BLL
{
+ using System;
using System.Collections;
using System.Linq;
@@ -304,5 +305,20 @@
where x.MenuId == menuId && x.DataId == dataId && (x.IsClosed == false || !x.IsClosed.HasValue)
select x).FirstOrDefault();
}
+
+ ///
+ ///
+ ///
+ public static void CloseFlowOperate(string menuId, string dataId, string opinion)
+ {
+ var updateUnFlowOperate = db.ProjectData_FlowOperate.FirstOrDefault(x => x.MenuId == menuId && x.DataId == dataId && (x.IsClosed == false || !x.IsClosed.HasValue));
+ if (updateUnFlowOperate != null)
+ {
+ updateUnFlowOperate.OperaterTime = DateTime.Now;
+ updateUnFlowOperate.IsClosed = true;
+ updateUnFlowOperate.Opinion = opinion;
+ BLL.ProjectDataFlowSetService.UpdateFlowOperateOpinion(updateUnFlowOperate);
+ }
+ }
}
}
diff --git a/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs b/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs
index 79ec6c3c..244728b8 100644
--- a/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs
+++ b/SGGL/BLL/HSSE/SitePerson/SitePerson_PersonService.cs
@@ -160,6 +160,7 @@ namespace BLL
select new
{
x.PersonId,
+ x.SitePersonId,
x.CardNo,
x.PersonName,
x.UnitId,
diff --git a/SGGL/BLL/Person/Person_PersonsService.cs b/SGGL/BLL/Person/Person_PersonsService.cs
index 4c2334bf..db55b90a 100644
--- a/SGGL/BLL/Person/Person_PersonsService.cs
+++ b/SGGL/BLL/Person/Person_PersonsService.cs
@@ -550,7 +550,7 @@ namespace BLL
{
var getPersons = from x in db.Person_Persons
where x.PersonId != Const.hfnbdId && x.PersonId != Const.sedinId
- && (x.IsPost == true || !x.IsPost.HasValue) && x.Account != null
+ && (x.IsPost == true || !x.IsPost.HasValue) && x.Account != null
select x;
if (listUnitIds.Count() > 0)
{
@@ -1262,6 +1262,7 @@ namespace BLL
/// 是否显示请选择
public static void InitUserProjectIdUnitIdRoleIdDropDownList(FineUIPro.DropDownList dropName, string projectId, string unitId, string roleIds, bool isShowPlease)
{
+ dropName.Items.Clear();
dropName.DataValueField = "PersonId";
dropName.DataTextField = "PersonName";
dropName.DataSource = Person_PersonsService.GetUserListByProjectIdUnitIdRoleId(projectId, unitId, roleIds);
diff --git a/SGGL/BLL/ProjectData/ProjectService.cs b/SGGL/BLL/ProjectData/ProjectService.cs
index dd9afc14..166ecb02 100644
--- a/SGGL/BLL/ProjectData/ProjectService.cs
+++ b/SGGL/BLL/ProjectData/ProjectService.cs
@@ -163,12 +163,36 @@
///
public static void DeleteProject(string projectId)
{
- SGGLDB db = Funs.DB;
- Base_Project project = db.Base_Project.FirstOrDefault(e => e.ProjectId == projectId);
- if (project != null)
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
- db.Base_Project.DeleteOnSubmit(project);
- db.SubmitChanges();
+ Base_Project project = db.Base_Project.FirstOrDefault(e => e.ProjectId == projectId);
+ if (project != null)
+ {
+ var getSitePerson_PersonItem = from x in db.SitePerson_PersonItem where x.ProjectId == projectId select x;
+ if (getSitePerson_PersonItem.Count() > 0)
+ {
+ db.SitePerson_PersonItem.DeleteAllOnSubmit(getSitePerson_PersonItem);
+ db.SubmitChanges();
+ }
+ var getSitePerson_Person = from x in db.SitePerson_Person where x.ProjectId == projectId select x;
+ if (getSitePerson_Person.Count() > 0)
+ {
+ db.SitePerson_Person.DeleteAllOnSubmit(getSitePerson_Person);
+ db.SubmitChanges();
+ }
+ var getPerson_Persons = from x in db.Person_Persons where x.CurrentProjectId == projectId select x;
+ if (getPerson_Persons.Count() > 0)
+ {
+ foreach (var item in getPerson_Persons)
+ {
+ item.CurrentProjectId = null;
+ db.SubmitChanges();
+ }
+ }
+ ProjectUnitService.DeleteProjectUnitByProjectId(project.ProjectId);
+ db.Base_Project.DeleteOnSubmit(project);
+ db.SubmitChanges();
+ }
}
}
diff --git a/SGGL/BLL/WebService/CNCECHSSEWebService.cs b/SGGL/BLL/WebService/CNCECHSSEWebService.cs
new file mode 100644
index 00000000..08afa9f7
--- /dev/null
+++ b/SGGL/BLL/WebService/CNCECHSSEWebService.cs
@@ -0,0 +1,5594 @@
+namespace BLL
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Data;
+ using Newtonsoft.Json;
+ using System.Linq;
+ using RestSharp;
+ using System.IO;
+
+ public static class CNCECHSSEWebService
+ {
+ public static string UploadFile(string file)
+ {
+ string result = string.Empty;
+ try
+ {
+ string CNCECPath = SysConstSetService.CNCECPath;
+ string baseurl = CNCECPath + "/api/FileUpload/Post";
+ var client = new RestClient(baseurl);
+ client.Timeout = -1;
+ var request = new RestRequest(Method.POST);
+ request.AddHeader("Content-Type", "multipart/form-data");//注意头部必须是form-data
+ // client.UserAgent = "apifox/1.0.0 (https://www.apifox.cn)";
+ //request.AddFile("file", @"E:\微信\WeChat\WeChat Files\wxid_9140361403112\FileStorage\File\2022-08\焊接管理尾项20220809.docx");
+ var filelist = file.Split(',');
+ foreach (var item in filelist)
+ {
+
+ if (File.Exists(item))
+ {
+ request.AddFile("file", item);
+ }
+ }
+
+ request.AddParameter("typeName", "SafetyQuarterlyReport");
+ var tokenItem = BLL.ServerService.GetToken();
+ request.AddHeader("token", tokenItem.Token);
+ IRestResponse response = client.Execute(request);
+ var contentPost = response.Content.Replace('"', ' ');
+ result = contentPost;
+ }
+ catch (System.Exception)
+ {
+ result = "";
+
+
+ }
+ return result;
+
+ }
+
+ #region 上报数据到集团
+ #region 百万工时上报
+ ///
+ /// 百万工时上报
+ ///
+ public static string UpMillionsMonthlyReport(string millionsMonthlyReportId, Model.Person_Persons CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ var upReport = from x in db.Information_MillionsMonthlyReport
+ where x.MillionsMonthlyReportId == millionsMonthlyReportId
+ select new Information_MillionsMonthlyReport
+ {
+ MillionsMonthlyReportId = x.MillionsMonthlyReportId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Month = x.Month,
+ FillingMan = x.FillingMan,
+ FillingDate = x.FillingDate,
+ DutyPerson = x.DutyPerson,
+ RecordableIncidentRate = x.RecordableIncidentRate,
+ LostTimeRate = x.LostTimeRate,
+ LostTimeInjuryRate = x.LostTimeInjuryRate,
+ DeathAccidentFrequency = x.DeathAccidentFrequency,
+ AccidentMortality = x.AccidentMortality,
+ };
+
+ var upReportItem = from x in db.Information_MillionsMonthlyReportItem
+ where x.MillionsMonthlyReportId == millionsMonthlyReportId
+ select new Information_MillionsMonthlyReportItem
+ {
+ MillionsMonthlyReportItemId = x.MillionsMonthlyReportItemId,
+ MillionsMonthlyReportId = x.MillionsMonthlyReportId,
+ SortIndex = x.SortIndex,
+ Affiliation = x.Affiliation,
+ Name = x.Name,
+ PostPersonNum = x.PostPersonNum,
+ SnapPersonNum = x.SnapPersonNum,
+ ContractorNum = x.ContractorNum,
+ SumPersonNum = x.SumPersonNum,
+ TotalWorkNum = x.TotalWorkNum,
+ SeriousInjuriesNum = x.SeriousInjuriesNum,
+ SeriousInjuriesPersonNum = x.SeriousInjuriesPersonNum,
+ SeriousInjuriesLossHour = x.SeriousInjuriesLossHour,
+ MinorAccidentNum = x.MinorAccidentNum,
+ MinorAccidentPersonNum = x.MinorAccidentPersonNum,
+ MinorAccidentLossHour = x.MinorAccidentLossHour,
+ OtherAccidentNum = x.OtherAccidentNum,
+ OtherAccidentPersonNum = x.OtherAccidentPersonNum,
+ OtherAccidentLossHour = x.OtherAccidentLossHour,
+ RestrictedWorkPersonNum = x.RestrictedWorkPersonNum,
+ RestrictedWorkLossHour = x.RestrictedWorkLossHour,
+ MedicalTreatmentPersonNum = x.MedicalTreatmentPersonNum,
+ MedicalTreatmentLossHour = x.MedicalTreatmentLossHour,
+ FireNum = x.FireNum,
+ ExplosionNum = x.ExplosionNum,
+ TrafficNum = x.TrafficNum,
+ EquipmentNum = x.EquipmentNum,
+ QualityNum = x.QualityNum,
+ OtherNum = x.OtherNum,
+ FirstAidDressingsNum = x.FirstAidDressingsNum,
+ AttemptedEventNum = x.AttemptedEventNum,
+ LossDayNum = x.LossDayNum,
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_MillionsMonthlyReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiMillionsMonthlyReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.MillionsMonthlyReportId))
+ {
+ var report = db.Information_MillionsMonthlyReport.FirstOrDefault(e => e.MillionsMonthlyReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.MillionsMonthlyReportMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_1, report.Year.ToString(), report.Month.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【百万工时安全统计月报表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【百万工时安全统计月报表】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【百万工时安全统计月报表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【百万工时安全统计月报表】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiMillionsMonthlyReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiMillionsMonthlyReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveMillionsMonthlyReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJsonReportItem = JsonConvert.SerializeObject(new { MillionsMonthlyReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + (resultJsonReport + resultJsonReportItem).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 职工伤亡事故原因分析报表上报
+ ///
+ /// 职工伤亡事故原因分析报表上报
+ ///
+ public static string UpAccidentCauseReport(string accidentCauseReportId, Model.Person_Persons CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ var upReport = from x in db.Information_AccidentCauseReport
+ where x.AccidentCauseReportId == accidentCauseReportId
+ select new Information_AccidentCauseReport
+ {
+ AccidentCauseReportId = x.AccidentCauseReportId,
+ UnitId = x.UnitId,
+ AccidentCauseReportCode = x.AccidentCauseReportCode,
+ Year = x.Year,
+ Month = x.Month,
+ DeathAccident = x.DeathAccident,
+ DeathToll = x.DeathToll,
+ InjuredAccident = x.InjuredAccident,
+ InjuredToll = x.InjuredToll,
+ MinorWoundAccident = x.MinorWoundAccident,
+ MinorWoundToll = x.MinorWoundToll,
+ AverageTotalHours = x.AverageTotalHours,
+ AverageManHours = x.AverageManHours,
+ TotalLossMan = x.TotalLossMan,
+ LastMonthLossHoursTotal = x.LastMonthLossHoursTotal,
+ KnockOffTotal = x.KnockOffTotal,
+ DirectLoss = x.DirectLoss,
+ IndirectLosses = x.IndirectLosses,
+ TotalLoss = x.TotalLoss,
+ TotalLossTime = x.TotalLossTime,
+ FillCompanyPersonCharge = x.FillCompanyPersonCharge,
+ TabPeople = x.TabPeople,
+ AuditPerson = x.AuditPerson,
+ FillingDate = x.FillingDate,
+ };
+
+ var upReportItem = from x in db.Information_AccidentCauseReportItem
+ where x.AccidentCauseReportId == accidentCauseReportId
+ select new Information_AccidentCauseReportItem
+ {
+ AccidentCauseReportItemId = x.AccidentCauseReportItemId,
+ AccidentCauseReportId = x.AccidentCauseReportId,
+ AccidentType = x.AccidentType,
+ TotalDeath = x.TotalDeath,
+ TotalInjuries = x.TotalInjuries,
+ TotalMinorInjuries = x.TotalMinorInjuries,
+ Death1 = x.Death1,
+ Injuries1 = x.Injuries1,
+ MinorInjuries1 = x.MinorInjuries1,
+ Death2 = x.Death2,
+ Injuries2 = x.Injuries2,
+ MinorInjuries2 = x.MinorInjuries2,
+ Death3 = x.Death3,
+ Injuries3 = x.Injuries3,
+ MinorInjuries3 = x.MinorInjuries3,
+ Death4 = x.Death4,
+ Injuries4 = x.Injuries4,
+ MinorInjuries4 = x.MinorInjuries4,
+ Death5 = x.Death5,
+ Injuries5 = x.Injuries5,
+ MinorInjuries5 = x.MinorInjuries5,
+ Death6 = x.Death6,
+ Injuries6 = x.Injuries6,
+ MinorInjuries6 = x.MinorInjuries6,
+ Death7 = x.Death7,
+ Injuries7 = x.Injuries7,
+ MinorInjuries7 = x.MinorInjuries7,
+ Death8 = x.Death8,
+ Injuries8 = x.Injuries8,
+ MinorInjuries8 = x.MinorInjuries8,
+ Death9 = x.Death9,
+ Injuries9 = x.Injuries9,
+ MinorInjuries9 = x.MinorInjuries9,
+ Death10 = x.Death10,
+ Injuries10 = x.Injuries10,
+ MinorInjuries10 = x.MinorInjuries10,
+ Death11 = x.Death11,
+ Injuries11 = x.Injuries11,
+ MinorInjuries11 = x.MinorInjuries11,
+ };
+ //老接口Serveice
+ // var getR = hsseC.DataInsertInformation_AccidentCauseReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiAccidentCauseReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.AccidentCauseReportId))
+ {
+ var report = db.Information_AccidentCauseReport.FirstOrDefault(e => e.AccidentCauseReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.MillionsMonthlyReportMenuId, item, string.Empty);
+ ////更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_2, report.Year.ToString(), report.Month.ToString());
+ }
+ }
+
+ LogService.AddSys_Log(CurrUser, "【职工伤亡事故原因分析报表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【职工伤亡事故原因分析报表】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【职工伤亡事故原因分析报表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【职工伤亡事故原因分析报表】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+
+ return code;
+ }
+ }
+ ///
+ /// AccidentCauseReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiAccidentCauseReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveAccidentCauseReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJson = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJson1 = JsonConvert.SerializeObject(new { AccidentCauseReportItem = upReportItem });
+ resultJson = "{\"InformationDataItems\":[" + (resultJson + resultJson1).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJson, baseurl);
+
+ return responeData.code;
+ }
+ #endregion
+
+ #region 安全生产数据季报上报
+ ///
+ /// 安全生产数据季报上报
+ ///
+ public static string UpSafetyQuarterlyReport(string safetyQuarterlyReportId, Model.Person_Persons CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ // CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
+ var upReport = from x in db.Information_SafetyQuarterlyReport
+ where x.SafetyQuarterlyReportId == safetyQuarterlyReportId
+ select new Information_SafetyQuarterlyReport
+ {
+ SafetyQuarterlyReportId = x.SafetyQuarterlyReportId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ Quarters = x.Quarters,
+ TotalInWorkHours = x.TotalInWorkHours,
+ TotalInWorkHoursRemark = x.TotalInWorkHoursRemark,
+ TotalOutWorkHours = x.TotalOutWorkHours,
+ TotalOutWorkHoursRemark = x.TotalOutWorkHoursRemark,
+ WorkHoursLossRate = x.WorkHoursLossRate,
+ WorkHoursLossRateRemark = x.WorkHoursLossRateRemark,
+ WorkHoursAccuracy = x.WorkHoursAccuracy,
+ WorkHoursAccuracyRemark = x.WorkHoursAccuracyRemark,
+ MainBusinessIncome = x.MainBusinessIncome,
+ MainBusinessIncomeRemark = x.MainBusinessIncomeRemark,
+ FillingDate = x.FillingDate,
+ ConstructionRevenue = x.ConstructionRevenue,
+ ConstructionRevenueRemark = x.ConstructionRevenueRemark,
+ UnitTimeIncome = x.UnitTimeIncome,
+ UnitTimeIncomeRemark = x.UnitTimeIncomeRemark,
+ BillionsOutputMortality = x.BillionsOutputMortality,
+ BillionsOutputMortalityRemark = x.BillionsOutputMortalityRemark,
+ MajorFireAccident = x.MajorFireAccident,
+ MajorFireAccidentRemark = x.MajorFireAccidentRemark,
+ MajorEquipAccident = x.MajorEquipAccident,
+ MajorEquipAccidentRemark = x.MajorEquipAccidentRemark,
+ AccidentFrequency = x.AccidentFrequency,
+ AccidentFrequencyRemark = x.AccidentFrequencyRemark,
+ SeriousInjuryAccident = x.SeriousInjuryAccident,
+ SeriousInjuryAccidentRemark = x.SeriousInjuryAccidentRemark,
+ FireAccident = x.FireAccident,
+ FireAccidentRemark = x.FireAccidentRemark,
+ EquipmentAccident = x.EquipmentAccident,
+ EquipmentAccidentRemark = x.EquipmentAccidentRemark,
+ PoisoningAndInjuries = x.PoisoningAndInjuries,
+ PoisoningAndInjuriesRemark = x.PoisoningAndInjuriesRemark,
+ ProductionSafetyInTotal = x.ProductionSafetyInTotal,
+ ProductionSafetyInTotalRemark = x.ProductionSafetyInTotalRemark,
+ ProtectionInput = x.ProtectionInput,
+ ProtectionInputRemark = x.ProtectionInputRemark,
+ LaboAndHealthIn = x.LaboAndHealthIn,
+ LaborAndHealthInRemark = x.LaborAndHealthInRemark,
+ TechnologyProgressIn = x.TechnologyProgressIn,
+ TechnologyProgressInRemark = x.TechnologyProgressInRemark,
+ EducationTrainIn = x.EducationTrainIn,
+ EducationTrainInRemark = x.EducationTrainInRemark,
+ ProjectCostRate = x.ProjectCostRate,
+ ProjectCostRateRemark = x.ProjectCostRateRemark,
+ ProductionInput = x.ProductionInput,
+ ProductionInputRemark = x.ProductionInputRemark,
+ Revenue = x.Revenue,
+ RevenueRemark = x.RevenueRemark,
+ FullTimeMan = x.FullTimeMan,
+ FullTimeManRemark = x.FullTimeManRemark,
+ FullTimeManAttachUrl = x.FullTimeManAttachUrl,
+ PMMan = x.PMMan,
+ PMManRemark = x.PMManRemark,
+ PMManAttachUrl = x.PMManAttachUrl,
+ CorporateDirectorEdu = x.CorporateDirectorEdu,
+ CorporateDirectorEduRemark = x.CorporateDirectorEduRemark,
+ ProjectLeaderEdu = x.ProjectLeaderEdu,
+ ProjectLeaderEduRemark = x.ProjectLeaderEduRemark,
+ FullTimeEdu = x.FullTimeEdu,
+ FullTimeEduRemark = x.FullTimeEduRemark,
+ ThreeKidsEduRate = x.ThreeKidsEduRate,
+ ThreeKidsEduRateRemark = x.ThreeKidsEduRateRemark,
+ UplinReportRate = x.UplinReportRate,
+ UplinReportRateRemark = x.UplinReportRateRemark,
+ Remarks = x.Remarks,
+ CompileMan = x.CompileMan,
+ ////附件转为字节传送
+ //FullTimeManAttachUrlFileContext = FileStructService.GetFileStructByAttachUrl(x.FullTimeManAttachUrl),
+ // PMManAttachUrlFileContext = FileStructService.GetFileStructByAttachUrl(x.PMManAttachUrl),
+ KeyEquipmentTotal = x.KeyEquipmentTotal,
+ KeyEquipmentTotalRemark = x.KeyEquipmentTotalRemark,
+ KeyEquipmentReportCount = x.KeyEquipmentReportCount,
+ KeyEquipmentReportCountRemark = x.KeyEquipmentReportCountRemark,
+ ChemicalAreaProjectCount = x.ChemicalAreaProjectCount,
+ ChemicalAreaProjectCountRemark = x.ChemicalAreaProjectCountRemark,
+ HarmfulMediumCoverCount = x.HarmfulMediumCoverCount,
+ HarmfulMediumCoverCountRemark = x.HarmfulMediumCoverCountRemark,
+ HarmfulMediumCoverRate = x.HarmfulMediumCoverRate,
+ HarmfulMediumCoverRateRemark = x.HarmfulMediumCoverRateRemark
+ };
+ //老接口Serveice
+ // var getR = hsseC.DataInsertInformation_SafetyQuarterlyReportTable(upReport.ToList());
+ //新接口Api
+ string FullTimeManAttachUrl = string.Empty;
+ string PMManAttachUrl = string.Empty;
+ string physicalpath = Funs.RootPath;
+ FullTimeManAttachUrl = physicalpath + upReport.FirstOrDefault().FullTimeManAttachUrl;
+ PMManAttachUrl = physicalpath + upReport.FirstOrDefault().PMManAttachUrl;
+ FullTimeManAttachUrl = UploadFile(FullTimeManAttachUrl);
+ PMManAttachUrl = UploadFile(PMManAttachUrl);
+ upReport = from x in upReport
+ select new Information_SafetyQuarterlyReport
+ {
+ SafetyQuarterlyReportId = x.SafetyQuarterlyReportId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ Quarters = x.Quarters,
+ TotalInWorkHours = x.TotalInWorkHours,
+ TotalInWorkHoursRemark = x.TotalInWorkHoursRemark,
+ TotalOutWorkHours = x.TotalOutWorkHours,
+ TotalOutWorkHoursRemark = x.TotalOutWorkHoursRemark,
+ WorkHoursLossRate = x.WorkHoursLossRate,
+ WorkHoursLossRateRemark = x.WorkHoursLossRateRemark,
+ WorkHoursAccuracy = x.WorkHoursAccuracy,
+ WorkHoursAccuracyRemark = x.WorkHoursAccuracyRemark,
+ MainBusinessIncome = x.MainBusinessIncome,
+ MainBusinessIncomeRemark = x.MainBusinessIncomeRemark,
+ FillingDate = x.FillingDate,
+ ConstructionRevenue = x.ConstructionRevenue,
+ ConstructionRevenueRemark = x.ConstructionRevenueRemark,
+ UnitTimeIncome = x.UnitTimeIncome,
+ UnitTimeIncomeRemark = x.UnitTimeIncomeRemark,
+ BillionsOutputMortality = x.BillionsOutputMortality,
+ BillionsOutputMortalityRemark = x.BillionsOutputMortalityRemark,
+ MajorFireAccident = x.MajorFireAccident,
+ MajorFireAccidentRemark = x.MajorFireAccidentRemark,
+ MajorEquipAccident = x.MajorEquipAccident,
+ MajorEquipAccidentRemark = x.MajorEquipAccidentRemark,
+ AccidentFrequency = x.AccidentFrequency,
+ AccidentFrequencyRemark = x.AccidentFrequencyRemark,
+ SeriousInjuryAccident = x.SeriousInjuryAccident,
+ SeriousInjuryAccidentRemark = x.SeriousInjuryAccidentRemark,
+ FireAccident = x.FireAccident,
+ FireAccidentRemark = x.FireAccidentRemark,
+ EquipmentAccident = x.EquipmentAccident,
+ EquipmentAccidentRemark = x.EquipmentAccidentRemark,
+ PoisoningAndInjuries = x.PoisoningAndInjuries,
+ PoisoningAndInjuriesRemark = x.PoisoningAndInjuriesRemark,
+ ProductionSafetyInTotal = x.ProductionSafetyInTotal,
+ ProductionSafetyInTotalRemark = x.ProductionSafetyInTotalRemark,
+ ProtectionInput = x.ProtectionInput,
+ ProtectionInputRemark = x.ProtectionInputRemark,
+ LaboAndHealthIn = x.LaboAndHealthIn,
+ LaborAndHealthInRemark = x.LaborAndHealthInRemark,
+ TechnologyProgressIn = x.TechnologyProgressIn,
+ TechnologyProgressInRemark = x.TechnologyProgressInRemark,
+ EducationTrainIn = x.EducationTrainIn,
+ EducationTrainInRemark = x.EducationTrainInRemark,
+ ProjectCostRate = x.ProjectCostRate,
+ ProjectCostRateRemark = x.ProjectCostRateRemark,
+ ProductionInput = x.ProductionInput,
+ ProductionInputRemark = x.ProductionInputRemark,
+ Revenue = x.Revenue,
+ RevenueRemark = x.RevenueRemark,
+ FullTimeMan = x.FullTimeMan,
+ FullTimeManRemark = x.FullTimeManRemark,
+ FullTimeManAttachUrl = FullTimeManAttachUrl,
+ PMMan = x.PMMan,
+ PMManRemark = x.PMManRemark,
+ PMManAttachUrl = PMManAttachUrl,
+ CorporateDirectorEdu = x.CorporateDirectorEdu,
+ CorporateDirectorEduRemark = x.CorporateDirectorEduRemark,
+ ProjectLeaderEdu = x.ProjectLeaderEdu,
+ ProjectLeaderEduRemark = x.ProjectLeaderEduRemark,
+ FullTimeEdu = x.FullTimeEdu,
+ FullTimeEduRemark = x.FullTimeEduRemark,
+ ThreeKidsEduRate = x.ThreeKidsEduRate,
+ ThreeKidsEduRateRemark = x.ThreeKidsEduRateRemark,
+ UplinReportRate = x.UplinReportRate,
+ UplinReportRateRemark = x.UplinReportRateRemark,
+ Remarks = x.Remarks,
+ CompileMan = x.CompileMan,
+ KeyEquipmentTotal = x.KeyEquipmentTotal,
+ KeyEquipmentTotalRemark = x.KeyEquipmentTotalRemark,
+ KeyEquipmentReportCount = x.KeyEquipmentReportCount,
+ KeyEquipmentReportCountRemark = x.KeyEquipmentReportCountRemark,
+ ChemicalAreaProjectCount = x.ChemicalAreaProjectCount,
+ ChemicalAreaProjectCountRemark = x.ChemicalAreaProjectCountRemark,
+ HarmfulMediumCoverCount = x.HarmfulMediumCoverCount,
+ HarmfulMediumCoverCountRemark = x.HarmfulMediumCoverCountRemark,
+ HarmfulMediumCoverRate = x.HarmfulMediumCoverRate,
+ HarmfulMediumCoverRateRemark = x.HarmfulMediumCoverRateRemark
+ };
+ code = UpApiSaveSafetyQuarterlyReport(upReport).ToString();
+
+
+ ; LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传", code, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.SafetyQuarterlyReportId))
+ {
+ var report = db.Information_SafetyQuarterlyReport.FirstOrDefault(e => e.SafetyQuarterlyReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.MillionsMonthlyReportMenuId, item, string.Empty);
+ ////更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_3, report.YearId.ToString(), report.Quarters.ToString());
+ }
+ };
+ LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【安全生产数据季报上报】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传到服务器失败err;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// DrillConductedQuarterlyReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiSaveSafetyQuarterlyReport(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveSafetyQuarterlyReport";
+ var resultJson = JsonConvert.SerializeObject(new { InformationDataItems = upReport });
+ APICommonService.SaveSysHttpLog("api_In", baseurl, resultJson);
+ var responeData = BLL.ServerService.PushCNCEC(resultJson, baseurl);
+
+ return responeData.code;
+ }
+ #endregion
+
+ #region 应急演练开展情况季报表上报
+ ///
+ /// 应急演练开展情况季报表上报
+ ///
+ public static string UpDrillConductedQuarterlyReport(string drillConductedQuarterlyReportId, Model.Person_Persons CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ var upReport = from x in db.Information_DrillConductedQuarterlyReport
+ where x.DrillConductedQuarterlyReportId == drillConductedQuarterlyReportId
+ select new Information_DrillConductedQuarterlyReport
+ {
+ DrillConductedQuarterlyReportId = x.DrillConductedQuarterlyReportId,
+ UnitId = x.UnitId,
+ ReportDate = x.ReportDate,
+ Quarter = x.Quarter,
+ YearId = x.YearId,
+ CompileMan = x.CompileMan,
+ };
+
+ var upReportItem = from x in db.Information_DrillConductedQuarterlyReportItem
+ where x.DrillConductedQuarterlyReportId == drillConductedQuarterlyReportId
+ select new Information_DrillConductedQuarterlyReportItem
+ {
+ DrillConductedQuarterlyReportItemId = x.DrillConductedQuarterlyReportItemId,
+ DrillConductedQuarterlyReportId = x.DrillConductedQuarterlyReportId,
+ IndustryType = x.IndustryType,
+ TotalConductCount = x.TotalConductCount,
+ TotalPeopleCount = x.TotalPeopleCount,
+ TotalInvestment = x.TotalInvestment,
+ HQConductCount = x.HQConductCount,
+ HQPeopleCount = x.HQPeopleCount,
+ HQInvestment = x.HQInvestment,
+ BasicConductCount = x.BasicConductCount,
+ BasicPeopleCount = x.BasicPeopleCount,
+ BasicInvestment = x.BasicInvestment,
+ ComprehensivePractice = x.ComprehensivePractice,
+ CPScene = x.CPScene,
+ CPDesktop = x.CPDesktop,
+ SpecialDrill = x.SpecialDrill,
+ SDScene = x.SDScene,
+ SDDesktop = x.SDDesktop,
+ SortIndex = x.SortIndex,
+ };
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_DrillConductedQuarterlyReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiSaveDrillConductedQuarterlyReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.DrillConductedQuarterlyReportId))
+ {
+ var report = db.Information_DrillConductedQuarterlyReport.FirstOrDefault(e => e.DrillConductedQuarterlyReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.MillionsMonthlyReportMenuId, item, string.Empty);
+ ////更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_4, report.YearId.ToString(), report.Quarter.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【应急演练开展情况季报表上报】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【应急演练开展情况季报表上报】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【应急演练开展情况季报表上报】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【应急演练开展情况季报表上报】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+
+ return code;
+ }
+ }
+ ///
+ /// DrillConductedQuarterlyReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiSaveDrillConductedQuarterlyReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveDrillConductedQuarterlyReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJson = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJson1 = JsonConvert.SerializeObject(new { drillConductedQuarterlyReportItem = upReportItem });
+ resultJson = "{\"InformationDataItems\":[" + (resultJson + resultJson1).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJson, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 应急演练工作计划半年报表
+ ///
+ /// 应急演练工作计划半年报表
+ ///
+ public static string UpDrillPlanHalfYearReport(string drillPlanHalfYearReportId, Model.Person_Persons CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ var upReport = from x in db.Information_DrillPlanHalfYearReport
+ where x.DrillPlanHalfYearReportId == drillPlanHalfYearReportId
+ select new Information_DrillPlanHalfYearReport
+ {
+ DrillPlanHalfYearReportId = x.DrillPlanHalfYearReportId,
+ UnitId = x.UnitId,
+ CompileMan = x.CompileMan,
+ CompileDate = x.CompileDate,
+ YearId = x.YearId,
+ HalfYearId = x.HalfYearId,
+ Telephone = x.Telephone,
+ };
+
+ var upReportItem = from x in db.Information_DrillPlanHalfYearReportItem
+ where x.DrillPlanHalfYearReportId == drillPlanHalfYearReportId
+ select new Information_DrillPlanHalfYearReportItem
+ {
+ DrillPlanHalfYearReportItemId = x.DrillPlanHalfYearReportItemId,
+ DrillPlanHalfYearReportId = x.DrillPlanHalfYearReportId,
+ DrillPlanName = x.DrillPlanName,
+ OrganizationUnit = x.OrganizationUnit,
+ DrillPlanDate = x.DrillPlanDate,
+ AccidentScene = x.AccidentScene,
+ ExerciseWay = x.ExerciseWay,
+ SortIndex = x.SortIndex,
+ };
+ //老接口Serveice
+ // var getR = hsseC.DataInsertInformation_DrillPlanHalfYearReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiDrillPlanHalfYearReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.DrillPlanHalfYearReportId))
+ {
+ var report = db.Information_DrillPlanHalfYearReport.FirstOrDefault(e => e.DrillPlanHalfYearReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.DrillPlanHalfYearReportMenuId, item, string.Empty);
+ ////更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_5, report.YearId.ToString(), report.HalfYearId.ToString());
+ }
+ }
+
+ LogService.AddSys_Log(CurrUser, "【应急演练工作计划半年报表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.DrillPlanHalfYearReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【应急演练工作计划半年报表】上传到服务器失败;", null, BLL.Const.DrillPlanHalfYearReportMenuId, BLL.Const.BtnUploadResources);
+ }
+
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【应急演练工作计划半年报表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【应急演练工作计划半年报表】上传到服务器失败;", null, BLL.Const.DrillPlanHalfYearReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// DrillPlanHalfYearReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiDrillPlanHalfYearReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveDrillPlanHalfYearReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJson = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJson1 = JsonConvert.SerializeObject(new { drillPlanHalfYearReportItem = upReportItem });
+ resultJson = "{\"InformationDataItems\":[" + (resultJson + resultJson1).Replace("}{", ",") + "]}";
+
+ var responeData = BLL.ServerService.PushCNCEC(resultJson, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #endregion
+
+ public partial class Information_MillionsMonthlyReport : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
+ {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable AccidentMortalityField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable DeathAccidentFrequencyField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string DutyPersonField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FillingDateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FillingManField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LostTimeInjuryRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LostTimeRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MillionsMonthlyReportIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MonthField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable RecordableIncidentRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UnitIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable YearField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData
+ {
+ get
+ {
+ return this.extensionDataField;
+ }
+ set
+ {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable AccidentMortality
+ {
+ get
+ {
+ return this.AccidentMortalityField;
+ }
+ set
+ {
+ if ((this.AccidentMortalityField.Equals(value) != true))
+ {
+ this.AccidentMortalityField = value;
+ this.RaisePropertyChanged("AccidentMortality");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable DeathAccidentFrequency
+ {
+ get
+ {
+ return this.DeathAccidentFrequencyField;
+ }
+ set
+ {
+ if ((this.DeathAccidentFrequencyField.Equals(value) != true))
+ {
+ this.DeathAccidentFrequencyField = value;
+ this.RaisePropertyChanged("DeathAccidentFrequency");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string DutyPerson
+ {
+ get
+ {
+ return this.DutyPersonField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.DutyPersonField, value) != true))
+ {
+ this.DutyPersonField = value;
+ this.RaisePropertyChanged("DutyPerson");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FillingDate
+ {
+ get
+ {
+ return this.FillingDateField;
+ }
+ set
+ {
+ if ((this.FillingDateField.Equals(value) != true))
+ {
+ this.FillingDateField = value;
+ this.RaisePropertyChanged("FillingDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FillingMan
+ {
+ get
+ {
+ return this.FillingManField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FillingManField, value) != true))
+ {
+ this.FillingManField = value;
+ this.RaisePropertyChanged("FillingMan");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LostTimeInjuryRate
+ {
+ get
+ {
+ return this.LostTimeInjuryRateField;
+ }
+ set
+ {
+ if ((this.LostTimeInjuryRateField.Equals(value) != true))
+ {
+ this.LostTimeInjuryRateField = value;
+ this.RaisePropertyChanged("LostTimeInjuryRate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LostTimeRate
+ {
+ get
+ {
+ return this.LostTimeRateField;
+ }
+ set
+ {
+ if ((this.LostTimeRateField.Equals(value) != true))
+ {
+ this.LostTimeRateField = value;
+ this.RaisePropertyChanged("LostTimeRate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MillionsMonthlyReportId
+ {
+ get
+ {
+ return this.MillionsMonthlyReportIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MillionsMonthlyReportIdField, value) != true))
+ {
+ this.MillionsMonthlyReportIdField = value;
+ this.RaisePropertyChanged("MillionsMonthlyReportId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Month
+ {
+ get
+ {
+ return this.MonthField;
+ }
+ set
+ {
+ if ((this.MonthField.Equals(value) != true))
+ {
+ this.MonthField = value;
+ this.RaisePropertyChanged("Month");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable RecordableIncidentRate
+ {
+ get
+ {
+ return this.RecordableIncidentRateField;
+ }
+ set
+ {
+ if ((this.RecordableIncidentRateField.Equals(value) != true))
+ {
+ this.RecordableIncidentRateField = value;
+ this.RaisePropertyChanged("RecordableIncidentRate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string UnitId
+ {
+ get
+ {
+ return this.UnitIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.UnitIdField, value) != true))
+ {
+ this.UnitIdField = value;
+ this.RaisePropertyChanged("UnitId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Year
+ {
+ get
+ {
+ return this.YearField;
+ }
+ set
+ {
+ if ((this.YearField.Equals(value) != true))
+ {
+ this.YearField = value;
+ this.RaisePropertyChanged("Year");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName)
+ {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null))
+ {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ public partial class Information_MillionsMonthlyReportItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
+ {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AffiliationField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable AttemptedEventNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ContractorNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable EquipmentNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ExplosionNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FireNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FirstAidDressingsNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LossDayNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MedicalTreatmentLossHourField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MedicalTreatmentPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MillionsMonthlyReportIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MillionsMonthlyReportItemIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorAccidentLossHourField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorAccidentNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorAccidentPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string NameField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable OtherAccidentLossHourField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable OtherAccidentNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable OtherAccidentPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable OtherNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable PostPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable QualityNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable RestrictedWorkLossHourField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable RestrictedWorkPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SeriousInjuriesLossHourField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SeriousInjuriesNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SeriousInjuriesPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SnapPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SortIndexField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SumPersonNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalWorkNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TrafficNumField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData
+ {
+ get
+ {
+ return this.extensionDataField;
+ }
+ set
+ {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string Affiliation
+ {
+ get
+ {
+ return this.AffiliationField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AffiliationField, value) != true))
+ {
+ this.AffiliationField = value;
+ this.RaisePropertyChanged("Affiliation");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable AttemptedEventNum
+ {
+ get
+ {
+ return this.AttemptedEventNumField;
+ }
+ set
+ {
+ if ((this.AttemptedEventNumField.Equals(value) != true))
+ {
+ this.AttemptedEventNumField = value;
+ this.RaisePropertyChanged("AttemptedEventNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ContractorNum
+ {
+ get
+ {
+ return this.ContractorNumField;
+ }
+ set
+ {
+ if ((this.ContractorNumField.Equals(value) != true))
+ {
+ this.ContractorNumField = value;
+ this.RaisePropertyChanged("ContractorNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable EquipmentNum
+ {
+ get
+ {
+ return this.EquipmentNumField;
+ }
+ set
+ {
+ if ((this.EquipmentNumField.Equals(value) != true))
+ {
+ this.EquipmentNumField = value;
+ this.RaisePropertyChanged("EquipmentNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ExplosionNum
+ {
+ get
+ {
+ return this.ExplosionNumField;
+ }
+ set
+ {
+ if ((this.ExplosionNumField.Equals(value) != true))
+ {
+ this.ExplosionNumField = value;
+ this.RaisePropertyChanged("ExplosionNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FireNum
+ {
+ get
+ {
+ return this.FireNumField;
+ }
+ set
+ {
+ if ((this.FireNumField.Equals(value) != true))
+ {
+ this.FireNumField = value;
+ this.RaisePropertyChanged("FireNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FirstAidDressingsNum
+ {
+ get
+ {
+ return this.FirstAidDressingsNumField;
+ }
+ set
+ {
+ if ((this.FirstAidDressingsNumField.Equals(value) != true))
+ {
+ this.FirstAidDressingsNumField = value;
+ this.RaisePropertyChanged("FirstAidDressingsNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LossDayNum
+ {
+ get
+ {
+ return this.LossDayNumField;
+ }
+ set
+ {
+ if ((this.LossDayNumField.Equals(value) != true))
+ {
+ this.LossDayNumField = value;
+ this.RaisePropertyChanged("LossDayNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MedicalTreatmentLossHour
+ {
+ get
+ {
+ return this.MedicalTreatmentLossHourField;
+ }
+ set
+ {
+ if ((this.MedicalTreatmentLossHourField.Equals(value) != true))
+ {
+ this.MedicalTreatmentLossHourField = value;
+ this.RaisePropertyChanged("MedicalTreatmentLossHour");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MedicalTreatmentPersonNum
+ {
+ get
+ {
+ return this.MedicalTreatmentPersonNumField;
+ }
+ set
+ {
+ if ((this.MedicalTreatmentPersonNumField.Equals(value) != true))
+ {
+ this.MedicalTreatmentPersonNumField = value;
+ this.RaisePropertyChanged("MedicalTreatmentPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MillionsMonthlyReportId
+ {
+ get
+ {
+ return this.MillionsMonthlyReportIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MillionsMonthlyReportIdField, value) != true))
+ {
+ this.MillionsMonthlyReportIdField = value;
+ this.RaisePropertyChanged("MillionsMonthlyReportId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MillionsMonthlyReportItemId
+ {
+ get
+ {
+ return this.MillionsMonthlyReportItemIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MillionsMonthlyReportItemIdField, value) != true))
+ {
+ this.MillionsMonthlyReportItemIdField = value;
+ this.RaisePropertyChanged("MillionsMonthlyReportItemId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorAccidentLossHour
+ {
+ get
+ {
+ return this.MinorAccidentLossHourField;
+ }
+ set
+ {
+ if ((this.MinorAccidentLossHourField.Equals(value) != true))
+ {
+ this.MinorAccidentLossHourField = value;
+ this.RaisePropertyChanged("MinorAccidentLossHour");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorAccidentNum
+ {
+ get
+ {
+ return this.MinorAccidentNumField;
+ }
+ set
+ {
+ if ((this.MinorAccidentNumField.Equals(value) != true))
+ {
+ this.MinorAccidentNumField = value;
+ this.RaisePropertyChanged("MinorAccidentNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorAccidentPersonNum
+ {
+ get
+ {
+ return this.MinorAccidentPersonNumField;
+ }
+ set
+ {
+ if ((this.MinorAccidentPersonNumField.Equals(value) != true))
+ {
+ this.MinorAccidentPersonNumField = value;
+ this.RaisePropertyChanged("MinorAccidentPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string Name
+ {
+ get
+ {
+ return this.NameField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.NameField, value) != true))
+ {
+ this.NameField = value;
+ this.RaisePropertyChanged("Name");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable OtherAccidentLossHour
+ {
+ get
+ {
+ return this.OtherAccidentLossHourField;
+ }
+ set
+ {
+ if ((this.OtherAccidentLossHourField.Equals(value) != true))
+ {
+ this.OtherAccidentLossHourField = value;
+ this.RaisePropertyChanged("OtherAccidentLossHour");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable OtherAccidentNum
+ {
+ get
+ {
+ return this.OtherAccidentNumField;
+ }
+ set
+ {
+ if ((this.OtherAccidentNumField.Equals(value) != true))
+ {
+ this.OtherAccidentNumField = value;
+ this.RaisePropertyChanged("OtherAccidentNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable OtherAccidentPersonNum
+ {
+ get
+ {
+ return this.OtherAccidentPersonNumField;
+ }
+ set
+ {
+ if ((this.OtherAccidentPersonNumField.Equals(value) != true))
+ {
+ this.OtherAccidentPersonNumField = value;
+ this.RaisePropertyChanged("OtherAccidentPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable OtherNum
+ {
+ get
+ {
+ return this.OtherNumField;
+ }
+ set
+ {
+ if ((this.OtherNumField.Equals(value) != true))
+ {
+ this.OtherNumField = value;
+ this.RaisePropertyChanged("OtherNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable PostPersonNum
+ {
+ get
+ {
+ return this.PostPersonNumField;
+ }
+ set
+ {
+ if ((this.PostPersonNumField.Equals(value) != true))
+ {
+ this.PostPersonNumField = value;
+ this.RaisePropertyChanged("PostPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable QualityNum
+ {
+ get
+ {
+ return this.QualityNumField;
+ }
+ set
+ {
+ if ((this.QualityNumField.Equals(value) != true))
+ {
+ this.QualityNumField = value;
+ this.RaisePropertyChanged("QualityNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable RestrictedWorkLossHour
+ {
+ get
+ {
+ return this.RestrictedWorkLossHourField;
+ }
+ set
+ {
+ if ((this.RestrictedWorkLossHourField.Equals(value) != true))
+ {
+ this.RestrictedWorkLossHourField = value;
+ this.RaisePropertyChanged("RestrictedWorkLossHour");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable RestrictedWorkPersonNum
+ {
+ get
+ {
+ return this.RestrictedWorkPersonNumField;
+ }
+ set
+ {
+ if ((this.RestrictedWorkPersonNumField.Equals(value) != true))
+ {
+ this.RestrictedWorkPersonNumField = value;
+ this.RaisePropertyChanged("RestrictedWorkPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SeriousInjuriesLossHour
+ {
+ get
+ {
+ return this.SeriousInjuriesLossHourField;
+ }
+ set
+ {
+ if ((this.SeriousInjuriesLossHourField.Equals(value) != true))
+ {
+ this.SeriousInjuriesLossHourField = value;
+ this.RaisePropertyChanged("SeriousInjuriesLossHour");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SeriousInjuriesNum
+ {
+ get
+ {
+ return this.SeriousInjuriesNumField;
+ }
+ set
+ {
+ if ((this.SeriousInjuriesNumField.Equals(value) != true))
+ {
+ this.SeriousInjuriesNumField = value;
+ this.RaisePropertyChanged("SeriousInjuriesNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SeriousInjuriesPersonNum
+ {
+ get
+ {
+ return this.SeriousInjuriesPersonNumField;
+ }
+ set
+ {
+ if ((this.SeriousInjuriesPersonNumField.Equals(value) != true))
+ {
+ this.SeriousInjuriesPersonNumField = value;
+ this.RaisePropertyChanged("SeriousInjuriesPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SnapPersonNum
+ {
+ get
+ {
+ return this.SnapPersonNumField;
+ }
+ set
+ {
+ if ((this.SnapPersonNumField.Equals(value) != true))
+ {
+ this.SnapPersonNumField = value;
+ this.RaisePropertyChanged("SnapPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SortIndex
+ {
+ get
+ {
+ return this.SortIndexField;
+ }
+ set
+ {
+ if ((this.SortIndexField.Equals(value) != true))
+ {
+ this.SortIndexField = value;
+ this.RaisePropertyChanged("SortIndex");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SumPersonNum
+ {
+ get
+ {
+ return this.SumPersonNumField;
+ }
+ set
+ {
+ if ((this.SumPersonNumField.Equals(value) != true))
+ {
+ this.SumPersonNumField = value;
+ this.RaisePropertyChanged("SumPersonNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalWorkNum
+ {
+ get
+ {
+ return this.TotalWorkNumField;
+ }
+ set
+ {
+ if ((this.TotalWorkNumField.Equals(value) != true))
+ {
+ this.TotalWorkNumField = value;
+ this.RaisePropertyChanged("TotalWorkNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TrafficNum
+ {
+ get
+ {
+ return this.TrafficNumField;
+ }
+ set
+ {
+ if ((this.TrafficNumField.Equals(value) != true))
+ {
+ this.TrafficNumField = value;
+ this.RaisePropertyChanged("TrafficNum");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName)
+ {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null))
+ {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ public partial class Information_AccidentCauseReport : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
+ {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentCauseReportCodeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentCauseReportIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AuditPersonField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable AverageManHoursField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable AverageTotalHoursField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable DeathAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable DeathTollField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable DirectLossField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FillCompanyPersonChargeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FillingDateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable IndirectLossesField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable InjuredAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable InjuredTollField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable KnockOffTotalField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LastMonthLossHoursTotalField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorWoundAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorWoundTollField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MonthField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TabPeopleField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalLossField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalLossManField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalLossTimeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UnitIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable YearField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData
+ {
+ get
+ {
+ return this.extensionDataField;
+ }
+ set
+ {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentCauseReportCode
+ {
+ get
+ {
+ return this.AccidentCauseReportCodeField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentCauseReportCodeField, value) != true))
+ {
+ this.AccidentCauseReportCodeField = value;
+ this.RaisePropertyChanged("AccidentCauseReportCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentCauseReportId
+ {
+ get
+ {
+ return this.AccidentCauseReportIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentCauseReportIdField, value) != true))
+ {
+ this.AccidentCauseReportIdField = value;
+ this.RaisePropertyChanged("AccidentCauseReportId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AuditPerson
+ {
+ get
+ {
+ return this.AuditPersonField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AuditPersonField, value) != true))
+ {
+ this.AuditPersonField = value;
+ this.RaisePropertyChanged("AuditPerson");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable AverageManHours
+ {
+ get
+ {
+ return this.AverageManHoursField;
+ }
+ set
+ {
+ if ((this.AverageManHoursField.Equals(value) != true))
+ {
+ this.AverageManHoursField = value;
+ this.RaisePropertyChanged("AverageManHours");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable AverageTotalHours
+ {
+ get
+ {
+ return this.AverageTotalHoursField;
+ }
+ set
+ {
+ if ((this.AverageTotalHoursField.Equals(value) != true))
+ {
+ this.AverageTotalHoursField = value;
+ this.RaisePropertyChanged("AverageTotalHours");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable DeathAccident
+ {
+ get
+ {
+ return this.DeathAccidentField;
+ }
+ set
+ {
+ if ((this.DeathAccidentField.Equals(value) != true))
+ {
+ this.DeathAccidentField = value;
+ this.RaisePropertyChanged("DeathAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable DeathToll
+ {
+ get
+ {
+ return this.DeathTollField;
+ }
+ set
+ {
+ if ((this.DeathTollField.Equals(value) != true))
+ {
+ this.DeathTollField = value;
+ this.RaisePropertyChanged("DeathToll");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable DirectLoss
+ {
+ get
+ {
+ return this.DirectLossField;
+ }
+ set
+ {
+ if ((this.DirectLossField.Equals(value) != true))
+ {
+ this.DirectLossField = value;
+ this.RaisePropertyChanged("DirectLoss");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FillCompanyPersonCharge
+ {
+ get
+ {
+ return this.FillCompanyPersonChargeField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FillCompanyPersonChargeField, value) != true))
+ {
+ this.FillCompanyPersonChargeField = value;
+ this.RaisePropertyChanged("FillCompanyPersonCharge");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FillingDate
+ {
+ get
+ {
+ return this.FillingDateField;
+ }
+ set
+ {
+ if ((this.FillingDateField.Equals(value) != true))
+ {
+ this.FillingDateField = value;
+ this.RaisePropertyChanged("FillingDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable IndirectLosses
+ {
+ get
+ {
+ return this.IndirectLossesField;
+ }
+ set
+ {
+ if ((this.IndirectLossesField.Equals(value) != true))
+ {
+ this.IndirectLossesField = value;
+ this.RaisePropertyChanged("IndirectLosses");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable InjuredAccident
+ {
+ get
+ {
+ return this.InjuredAccidentField;
+ }
+ set
+ {
+ if ((this.InjuredAccidentField.Equals(value) != true))
+ {
+ this.InjuredAccidentField = value;
+ this.RaisePropertyChanged("InjuredAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable InjuredToll
+ {
+ get
+ {
+ return this.InjuredTollField;
+ }
+ set
+ {
+ if ((this.InjuredTollField.Equals(value) != true))
+ {
+ this.InjuredTollField = value;
+ this.RaisePropertyChanged("InjuredToll");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable KnockOffTotal
+ {
+ get
+ {
+ return this.KnockOffTotalField;
+ }
+ set
+ {
+ if ((this.KnockOffTotalField.Equals(value) != true))
+ {
+ this.KnockOffTotalField = value;
+ this.RaisePropertyChanged("KnockOffTotal");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LastMonthLossHoursTotal
+ {
+ get
+ {
+ return this.LastMonthLossHoursTotalField;
+ }
+ set
+ {
+ if ((this.LastMonthLossHoursTotalField.Equals(value) != true))
+ {
+ this.LastMonthLossHoursTotalField = value;
+ this.RaisePropertyChanged("LastMonthLossHoursTotal");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorWoundAccident
+ {
+ get
+ {
+ return this.MinorWoundAccidentField;
+ }
+ set
+ {
+ if ((this.MinorWoundAccidentField.Equals(value) != true))
+ {
+ this.MinorWoundAccidentField = value;
+ this.RaisePropertyChanged("MinorWoundAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorWoundToll
+ {
+ get
+ {
+ return this.MinorWoundTollField;
+ }
+ set
+ {
+ if ((this.MinorWoundTollField.Equals(value) != true))
+ {
+ this.MinorWoundTollField = value;
+ this.RaisePropertyChanged("MinorWoundToll");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Month
+ {
+ get
+ {
+ return this.MonthField;
+ }
+ set
+ {
+ if ((this.MonthField.Equals(value) != true))
+ {
+ this.MonthField = value;
+ this.RaisePropertyChanged("Month");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string TabPeople
+ {
+ get
+ {
+ return this.TabPeopleField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.TabPeopleField, value) != true))
+ {
+ this.TabPeopleField = value;
+ this.RaisePropertyChanged("TabPeople");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalLoss
+ {
+ get
+ {
+ return this.TotalLossField;
+ }
+ set
+ {
+ if ((this.TotalLossField.Equals(value) != true))
+ {
+ this.TotalLossField = value;
+ this.RaisePropertyChanged("TotalLoss");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalLossMan
+ {
+ get
+ {
+ return this.TotalLossManField;
+ }
+ set
+ {
+ if ((this.TotalLossManField.Equals(value) != true))
+ {
+ this.TotalLossManField = value;
+ this.RaisePropertyChanged("TotalLossMan");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalLossTime
+ {
+ get
+ {
+ return this.TotalLossTimeField;
+ }
+ set
+ {
+ if ((this.TotalLossTimeField.Equals(value) != true))
+ {
+ this.TotalLossTimeField = value;
+ this.RaisePropertyChanged("TotalLossTime");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string UnitId
+ {
+ get
+ {
+ return this.UnitIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.UnitIdField, value) != true))
+ {
+ this.UnitIdField = value;
+ this.RaisePropertyChanged("UnitId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Year
+ {
+ get
+ {
+ return this.YearField;
+ }
+ set
+ {
+ if ((this.YearField.Equals(value) != true))
+ {
+ this.YearField = value;
+ this.RaisePropertyChanged("Year");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName)
+ {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null))
+ {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ public partial class Information_AccidentCauseReportItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
+ {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentCauseReportIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentCauseReportItemIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentTypeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death1Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death10Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death11Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death2Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death4Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death5Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death6Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death7Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death8Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Death9Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries1Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries10Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries11Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries2Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries4Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries5Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries6Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries7Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries8Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable Injuries9Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries1Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries10Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries11Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries2Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries4Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries5Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries6Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries7Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries8Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MinorInjuries9Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalDeathField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalInjuriesField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalMinorInjuriesField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData
+ {
+ get
+ {
+ return this.extensionDataField;
+ }
+ set
+ {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentCauseReportId
+ {
+ get
+ {
+ return this.AccidentCauseReportIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentCauseReportIdField, value) != true))
+ {
+ this.AccidentCauseReportIdField = value;
+ this.RaisePropertyChanged("AccidentCauseReportId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentCauseReportItemId
+ {
+ get
+ {
+ return this.AccidentCauseReportItemIdField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentCauseReportItemIdField, value) != true))
+ {
+ this.AccidentCauseReportItemIdField = value;
+ this.RaisePropertyChanged("AccidentCauseReportItemId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentType
+ {
+ get
+ {
+ return this.AccidentTypeField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentTypeField, value) != true))
+ {
+ this.AccidentTypeField = value;
+ this.RaisePropertyChanged("AccidentType");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death1
+ {
+ get
+ {
+ return this.Death1Field;
+ }
+ set
+ {
+ if ((this.Death1Field.Equals(value) != true))
+ {
+ this.Death1Field = value;
+ this.RaisePropertyChanged("Death1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death10
+ {
+ get
+ {
+ return this.Death10Field;
+ }
+ set
+ {
+ if ((this.Death10Field.Equals(value) != true))
+ {
+ this.Death10Field = value;
+ this.RaisePropertyChanged("Death10");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death11
+ {
+ get
+ {
+ return this.Death11Field;
+ }
+ set
+ {
+ if ((this.Death11Field.Equals(value) != true))
+ {
+ this.Death11Field = value;
+ this.RaisePropertyChanged("Death11");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death2
+ {
+ get
+ {
+ return this.Death2Field;
+ }
+ set
+ {
+ if ((this.Death2Field.Equals(value) != true))
+ {
+ this.Death2Field = value;
+ this.RaisePropertyChanged("Death2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death3
+ {
+ get
+ {
+ return this.Death3Field;
+ }
+ set
+ {
+ if ((this.Death3Field.Equals(value) != true))
+ {
+ this.Death3Field = value;
+ this.RaisePropertyChanged("Death3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death4
+ {
+ get
+ {
+ return this.Death4Field;
+ }
+ set
+ {
+ if ((this.Death4Field.Equals(value) != true))
+ {
+ this.Death4Field = value;
+ this.RaisePropertyChanged("Death4");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death5
+ {
+ get
+ {
+ return this.Death5Field;
+ }
+ set
+ {
+ if ((this.Death5Field.Equals(value) != true))
+ {
+ this.Death5Field = value;
+ this.RaisePropertyChanged("Death5");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death6
+ {
+ get
+ {
+ return this.Death6Field;
+ }
+ set
+ {
+ if ((this.Death6Field.Equals(value) != true))
+ {
+ this.Death6Field = value;
+ this.RaisePropertyChanged("Death6");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death7
+ {
+ get
+ {
+ return this.Death7Field;
+ }
+ set
+ {
+ if ((this.Death7Field.Equals(value) != true))
+ {
+ this.Death7Field = value;
+ this.RaisePropertyChanged("Death7");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death8
+ {
+ get
+ {
+ return this.Death8Field;
+ }
+ set
+ {
+ if ((this.Death8Field.Equals(value) != true))
+ {
+ this.Death8Field = value;
+ this.RaisePropertyChanged("Death8");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Death9
+ {
+ get
+ {
+ return this.Death9Field;
+ }
+ set
+ {
+ if ((this.Death9Field.Equals(value) != true))
+ {
+ this.Death9Field = value;
+ this.RaisePropertyChanged("Death9");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries1
+ {
+ get
+ {
+ return this.Injuries1Field;
+ }
+ set
+ {
+ if ((this.Injuries1Field.Equals(value) != true))
+ {
+ this.Injuries1Field = value;
+ this.RaisePropertyChanged("Injuries1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries10
+ {
+ get
+ {
+ return this.Injuries10Field;
+ }
+ set
+ {
+ if ((this.Injuries10Field.Equals(value) != true))
+ {
+ this.Injuries10Field = value;
+ this.RaisePropertyChanged("Injuries10");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries11
+ {
+ get
+ {
+ return this.Injuries11Field;
+ }
+ set
+ {
+ if ((this.Injuries11Field.Equals(value) != true))
+ {
+ this.Injuries11Field = value;
+ this.RaisePropertyChanged("Injuries11");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries2
+ {
+ get
+ {
+ return this.Injuries2Field;
+ }
+ set
+ {
+ if ((this.Injuries2Field.Equals(value) != true))
+ {
+ this.Injuries2Field = value;
+ this.RaisePropertyChanged("Injuries2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries3
+ {
+ get
+ {
+ return this.Injuries3Field;
+ }
+ set
+ {
+ if ((this.Injuries3Field.Equals(value) != true))
+ {
+ this.Injuries3Field = value;
+ this.RaisePropertyChanged("Injuries3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries4
+ {
+ get
+ {
+ return this.Injuries4Field;
+ }
+ set
+ {
+ if ((this.Injuries4Field.Equals(value) != true))
+ {
+ this.Injuries4Field = value;
+ this.RaisePropertyChanged("Injuries4");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries5
+ {
+ get
+ {
+ return this.Injuries5Field;
+ }
+ set
+ {
+ if ((this.Injuries5Field.Equals(value) != true))
+ {
+ this.Injuries5Field = value;
+ this.RaisePropertyChanged("Injuries5");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries6
+ {
+ get
+ {
+ return this.Injuries6Field;
+ }
+ set
+ {
+ if ((this.Injuries6Field.Equals(value) != true))
+ {
+ this.Injuries6Field = value;
+ this.RaisePropertyChanged("Injuries6");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries7
+ {
+ get
+ {
+ return this.Injuries7Field;
+ }
+ set
+ {
+ if ((this.Injuries7Field.Equals(value) != true))
+ {
+ this.Injuries7Field = value;
+ this.RaisePropertyChanged("Injuries7");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries8
+ {
+ get
+ {
+ return this.Injuries8Field;
+ }
+ set
+ {
+ if ((this.Injuries8Field.Equals(value) != true))
+ {
+ this.Injuries8Field = value;
+ this.RaisePropertyChanged("Injuries8");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable Injuries9
+ {
+ get
+ {
+ return this.Injuries9Field;
+ }
+ set
+ {
+ if ((this.Injuries9Field.Equals(value) != true))
+ {
+ this.Injuries9Field = value;
+ this.RaisePropertyChanged("Injuries9");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries1
+ {
+ get
+ {
+ return this.MinorInjuries1Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries1Field.Equals(value) != true))
+ {
+ this.MinorInjuries1Field = value;
+ this.RaisePropertyChanged("MinorInjuries1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries10
+ {
+ get
+ {
+ return this.MinorInjuries10Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries10Field.Equals(value) != true))
+ {
+ this.MinorInjuries10Field = value;
+ this.RaisePropertyChanged("MinorInjuries10");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries11
+ {
+ get
+ {
+ return this.MinorInjuries11Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries11Field.Equals(value) != true))
+ {
+ this.MinorInjuries11Field = value;
+ this.RaisePropertyChanged("MinorInjuries11");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries2
+ {
+ get
+ {
+ return this.MinorInjuries2Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries2Field.Equals(value) != true))
+ {
+ this.MinorInjuries2Field = value;
+ this.RaisePropertyChanged("MinorInjuries2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries3
+ {
+ get
+ {
+ return this.MinorInjuries3Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries3Field.Equals(value) != true))
+ {
+ this.MinorInjuries3Field = value;
+ this.RaisePropertyChanged("MinorInjuries3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries4
+ {
+ get
+ {
+ return this.MinorInjuries4Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries4Field.Equals(value) != true))
+ {
+ this.MinorInjuries4Field = value;
+ this.RaisePropertyChanged("MinorInjuries4");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries5
+ {
+ get
+ {
+ return this.MinorInjuries5Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries5Field.Equals(value) != true))
+ {
+ this.MinorInjuries5Field = value;
+ this.RaisePropertyChanged("MinorInjuries5");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries6
+ {
+ get
+ {
+ return this.MinorInjuries6Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries6Field.Equals(value) != true))
+ {
+ this.MinorInjuries6Field = value;
+ this.RaisePropertyChanged("MinorInjuries6");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries7
+ {
+ get
+ {
+ return this.MinorInjuries7Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries7Field.Equals(value) != true))
+ {
+ this.MinorInjuries7Field = value;
+ this.RaisePropertyChanged("MinorInjuries7");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries8
+ {
+ get
+ {
+ return this.MinorInjuries8Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries8Field.Equals(value) != true))
+ {
+ this.MinorInjuries8Field = value;
+ this.RaisePropertyChanged("MinorInjuries8");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MinorInjuries9
+ {
+ get
+ {
+ return this.MinorInjuries9Field;
+ }
+ set
+ {
+ if ((this.MinorInjuries9Field.Equals(value) != true))
+ {
+ this.MinorInjuries9Field = value;
+ this.RaisePropertyChanged("MinorInjuries9");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalDeath
+ {
+ get
+ {
+ return this.TotalDeathField;
+ }
+ set
+ {
+ if ((this.TotalDeathField.Equals(value) != true))
+ {
+ this.TotalDeathField = value;
+ this.RaisePropertyChanged("TotalDeath");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalInjuries
+ {
+ get
+ {
+ return this.TotalInjuriesField;
+ }
+ set
+ {
+ if ((this.TotalInjuriesField.Equals(value) != true))
+ {
+ this.TotalInjuriesField = value;
+ this.RaisePropertyChanged("TotalInjuries");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TotalMinorInjuries
+ {
+ get
+ {
+ return this.TotalMinorInjuriesField;
+ }
+ set
+ {
+ if ((this.TotalMinorInjuriesField.Equals(value) != true))
+ {
+ this.TotalMinorInjuriesField = value;
+ this.RaisePropertyChanged("TotalMinorInjuries");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName)
+ {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null))
+ {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ public partial class Information_SafetyQuarterlyReport : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
+ {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable AccidentFrequencyField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccidentFrequencyRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable BillionsOutputMortalityField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string BillionsOutputMortalityRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ChemicalAreaProjectCountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ChemicalAreaProjectCountRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CompileManField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ConstructionRevenueField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ConstructionRevenueRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable CorporateDirectorEduField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CorporateDirectorEduRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable EducationTrainInField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string EducationTrainInRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable EquipmentAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string EquipmentAccidentRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FillingDateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FireAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FireAccidentRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FullTimeEduField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FullTimeEduRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FullTimeManField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FullTimeManAttachUrlField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Collections.Generic.List FullTimeManAttachUrlFileContextField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FullTimeManRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable HarmfulMediumCoverCountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string HarmfulMediumCoverCountRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable HarmfulMediumCoverRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string HarmfulMediumCoverRateRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable KeyEquipmentReportCountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string KeyEquipmentReportCountRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable KeyEquipmentTotalField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string KeyEquipmentTotalRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LaboAndHealthInField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string LaborAndHealthInRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MainBusinessIncomeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MainBusinessIncomeRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MajorEquipAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MajorEquipAccidentRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MajorFireAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string MajorFireAccidentRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable PMManField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PMManAttachUrlField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Collections.Generic.List PMManAttachUrlFileContextField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PMManRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable PoisoningAndInjuriesField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PoisoningAndInjuriesRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProductionInputField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProductionInputRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProductionSafetyInTotalField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProductionSafetyInTotalRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProjectCostRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProjectCostRateRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProjectLeaderEduField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProjectLeaderEduRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProtectionInputField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProtectionInputRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable QuartersField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string RemarksField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable RevenueField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string RevenueRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string SafetyQuarterlyReportIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SeriousInjuryAccidentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string SeriousInjuryAccidentRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TechnologyProgressInField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TechnologyProgressInRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ThreeKidsEduRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ThreeKidsEduRateRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalInWorkHoursField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TotalInWorkHoursRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TotalOutWorkHoursField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TotalOutWorkHoursRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UnitIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable UnitTimeIncomeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UnitTimeIncomeRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable UplinReportRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UplinReportRateRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable WorkHoursAccuracyField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string WorkHoursAccuracyRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable WorkHoursLossRateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string WorkHoursLossRateRemarkField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable YearIdField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData
+ {
+ get
+ {
+ return this.extensionDataField;
+ }
+ set
+ {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable AccidentFrequency
+ {
+ get
+ {
+ return this.AccidentFrequencyField;
+ }
+ set
+ {
+ if ((this.AccidentFrequencyField.Equals(value) != true))
+ {
+ this.AccidentFrequencyField = value;
+ this.RaisePropertyChanged("AccidentFrequency");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string AccidentFrequencyRemark
+ {
+ get
+ {
+ return this.AccidentFrequencyRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.AccidentFrequencyRemarkField, value) != true))
+ {
+ this.AccidentFrequencyRemarkField = value;
+ this.RaisePropertyChanged("AccidentFrequencyRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable BillionsOutputMortality
+ {
+ get
+ {
+ return this.BillionsOutputMortalityField;
+ }
+ set
+ {
+ if ((this.BillionsOutputMortalityField.Equals(value) != true))
+ {
+ this.BillionsOutputMortalityField = value;
+ this.RaisePropertyChanged("BillionsOutputMortality");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string BillionsOutputMortalityRemark
+ {
+ get
+ {
+ return this.BillionsOutputMortalityRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.BillionsOutputMortalityRemarkField, value) != true))
+ {
+ this.BillionsOutputMortalityRemarkField = value;
+ this.RaisePropertyChanged("BillionsOutputMortalityRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ChemicalAreaProjectCount
+ {
+ get
+ {
+ return this.ChemicalAreaProjectCountField;
+ }
+ set
+ {
+ if ((this.ChemicalAreaProjectCountField.Equals(value) != true))
+ {
+ this.ChemicalAreaProjectCountField = value;
+ this.RaisePropertyChanged("ChemicalAreaProjectCount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string ChemicalAreaProjectCountRemark
+ {
+ get
+ {
+ return this.ChemicalAreaProjectCountRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.ChemicalAreaProjectCountRemarkField, value) != true))
+ {
+ this.ChemicalAreaProjectCountRemarkField = value;
+ this.RaisePropertyChanged("ChemicalAreaProjectCountRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string CompileMan
+ {
+ get
+ {
+ return this.CompileManField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.CompileManField, value) != true))
+ {
+ this.CompileManField = value;
+ this.RaisePropertyChanged("CompileMan");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ConstructionRevenue
+ {
+ get
+ {
+ return this.ConstructionRevenueField;
+ }
+ set
+ {
+ if ((this.ConstructionRevenueField.Equals(value) != true))
+ {
+ this.ConstructionRevenueField = value;
+ this.RaisePropertyChanged("ConstructionRevenue");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string ConstructionRevenueRemark
+ {
+ get
+ {
+ return this.ConstructionRevenueRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.ConstructionRevenueRemarkField, value) != true))
+ {
+ this.ConstructionRevenueRemarkField = value;
+ this.RaisePropertyChanged("ConstructionRevenueRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable CorporateDirectorEdu
+ {
+ get
+ {
+ return this.CorporateDirectorEduField;
+ }
+ set
+ {
+ if ((this.CorporateDirectorEduField.Equals(value) != true))
+ {
+ this.CorporateDirectorEduField = value;
+ this.RaisePropertyChanged("CorporateDirectorEdu");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string CorporateDirectorEduRemark
+ {
+ get
+ {
+ return this.CorporateDirectorEduRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.CorporateDirectorEduRemarkField, value) != true))
+ {
+ this.CorporateDirectorEduRemarkField = value;
+ this.RaisePropertyChanged("CorporateDirectorEduRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable EducationTrainIn
+ {
+ get
+ {
+ return this.EducationTrainInField;
+ }
+ set
+ {
+ if ((this.EducationTrainInField.Equals(value) != true))
+ {
+ this.EducationTrainInField = value;
+ this.RaisePropertyChanged("EducationTrainIn");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string EducationTrainInRemark
+ {
+ get
+ {
+ return this.EducationTrainInRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.EducationTrainInRemarkField, value) != true))
+ {
+ this.EducationTrainInRemarkField = value;
+ this.RaisePropertyChanged("EducationTrainInRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable EquipmentAccident
+ {
+ get
+ {
+ return this.EquipmentAccidentField;
+ }
+ set
+ {
+ if ((this.EquipmentAccidentField.Equals(value) != true))
+ {
+ this.EquipmentAccidentField = value;
+ this.RaisePropertyChanged("EquipmentAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string EquipmentAccidentRemark
+ {
+ get
+ {
+ return this.EquipmentAccidentRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.EquipmentAccidentRemarkField, value) != true))
+ {
+ this.EquipmentAccidentRemarkField = value;
+ this.RaisePropertyChanged("EquipmentAccidentRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FillingDate
+ {
+ get
+ {
+ return this.FillingDateField;
+ }
+ set
+ {
+ if ((this.FillingDateField.Equals(value) != true))
+ {
+ this.FillingDateField = value;
+ this.RaisePropertyChanged("FillingDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FireAccident
+ {
+ get
+ {
+ return this.FireAccidentField;
+ }
+ set
+ {
+ if ((this.FireAccidentField.Equals(value) != true))
+ {
+ this.FireAccidentField = value;
+ this.RaisePropertyChanged("FireAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FireAccidentRemark
+ {
+ get
+ {
+ return this.FireAccidentRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FireAccidentRemarkField, value) != true))
+ {
+ this.FireAccidentRemarkField = value;
+ this.RaisePropertyChanged("FireAccidentRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FullTimeEdu
+ {
+ get
+ {
+ return this.FullTimeEduField;
+ }
+ set
+ {
+ if ((this.FullTimeEduField.Equals(value) != true))
+ {
+ this.FullTimeEduField = value;
+ this.RaisePropertyChanged("FullTimeEdu");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FullTimeEduRemark
+ {
+ get
+ {
+ return this.FullTimeEduRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FullTimeEduRemarkField, value) != true))
+ {
+ this.FullTimeEduRemarkField = value;
+ this.RaisePropertyChanged("FullTimeEduRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FullTimeMan
+ {
+ get
+ {
+ return this.FullTimeManField;
+ }
+ set
+ {
+ if ((this.FullTimeManField.Equals(value) != true))
+ {
+ this.FullTimeManField = value;
+ this.RaisePropertyChanged("FullTimeMan");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FullTimeManAttachUrl
+ {
+ get
+ {
+ return this.FullTimeManAttachUrlField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FullTimeManAttachUrlField, value) != true))
+ {
+ this.FullTimeManAttachUrlField = value;
+ this.RaisePropertyChanged("FullTimeManAttachUrl");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Collections.Generic.List FullTimeManAttachUrlFileContext
+ {
+ get
+ {
+ return this.FullTimeManAttachUrlFileContextField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FullTimeManAttachUrlFileContextField, value) != true))
+ {
+ this.FullTimeManAttachUrlFileContextField = value;
+ this.RaisePropertyChanged("FullTimeManAttachUrlFileContext");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string FullTimeManRemark
+ {
+ get
+ {
+ return this.FullTimeManRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.FullTimeManRemarkField, value) != true))
+ {
+ this.FullTimeManRemarkField = value;
+ this.RaisePropertyChanged("FullTimeManRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable HarmfulMediumCoverCount
+ {
+ get
+ {
+ return this.HarmfulMediumCoverCountField;
+ }
+ set
+ {
+ if ((this.HarmfulMediumCoverCountField.Equals(value) != true))
+ {
+ this.HarmfulMediumCoverCountField = value;
+ this.RaisePropertyChanged("HarmfulMediumCoverCount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string HarmfulMediumCoverCountRemark
+ {
+ get
+ {
+ return this.HarmfulMediumCoverCountRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.HarmfulMediumCoverCountRemarkField, value) != true))
+ {
+ this.HarmfulMediumCoverCountRemarkField = value;
+ this.RaisePropertyChanged("HarmfulMediumCoverCountRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable HarmfulMediumCoverRate
+ {
+ get
+ {
+ return this.HarmfulMediumCoverRateField;
+ }
+ set
+ {
+ if ((this.HarmfulMediumCoverRateField.Equals(value) != true))
+ {
+ this.HarmfulMediumCoverRateField = value;
+ this.RaisePropertyChanged("HarmfulMediumCoverRate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string HarmfulMediumCoverRateRemark
+ {
+ get
+ {
+ return this.HarmfulMediumCoverRateRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.HarmfulMediumCoverRateRemarkField, value) != true))
+ {
+ this.HarmfulMediumCoverRateRemarkField = value;
+ this.RaisePropertyChanged("HarmfulMediumCoverRateRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable KeyEquipmentReportCount
+ {
+ get
+ {
+ return this.KeyEquipmentReportCountField;
+ }
+ set
+ {
+ if ((this.KeyEquipmentReportCountField.Equals(value) != true))
+ {
+ this.KeyEquipmentReportCountField = value;
+ this.RaisePropertyChanged("KeyEquipmentReportCount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string KeyEquipmentReportCountRemark
+ {
+ get
+ {
+ return this.KeyEquipmentReportCountRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.KeyEquipmentReportCountRemarkField, value) != true))
+ {
+ this.KeyEquipmentReportCountRemarkField = value;
+ this.RaisePropertyChanged("KeyEquipmentReportCountRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable KeyEquipmentTotal
+ {
+ get
+ {
+ return this.KeyEquipmentTotalField;
+ }
+ set
+ {
+ if ((this.KeyEquipmentTotalField.Equals(value) != true))
+ {
+ this.KeyEquipmentTotalField = value;
+ this.RaisePropertyChanged("KeyEquipmentTotal");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string KeyEquipmentTotalRemark
+ {
+ get
+ {
+ return this.KeyEquipmentTotalRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.KeyEquipmentTotalRemarkField, value) != true))
+ {
+ this.KeyEquipmentTotalRemarkField = value;
+ this.RaisePropertyChanged("KeyEquipmentTotalRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LaboAndHealthIn
+ {
+ get
+ {
+ return this.LaboAndHealthInField;
+ }
+ set
+ {
+ if ((this.LaboAndHealthInField.Equals(value) != true))
+ {
+ this.LaboAndHealthInField = value;
+ this.RaisePropertyChanged("LaboAndHealthIn");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string LaborAndHealthInRemark
+ {
+ get
+ {
+ return this.LaborAndHealthInRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.LaborAndHealthInRemarkField, value) != true))
+ {
+ this.LaborAndHealthInRemarkField = value;
+ this.RaisePropertyChanged("LaborAndHealthInRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MainBusinessIncome
+ {
+ get
+ {
+ return this.MainBusinessIncomeField;
+ }
+ set
+ {
+ if ((this.MainBusinessIncomeField.Equals(value) != true))
+ {
+ this.MainBusinessIncomeField = value;
+ this.RaisePropertyChanged("MainBusinessIncome");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MainBusinessIncomeRemark
+ {
+ get
+ {
+ return this.MainBusinessIncomeRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MainBusinessIncomeRemarkField, value) != true))
+ {
+ this.MainBusinessIncomeRemarkField = value;
+ this.RaisePropertyChanged("MainBusinessIncomeRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MajorEquipAccident
+ {
+ get
+ {
+ return this.MajorEquipAccidentField;
+ }
+ set
+ {
+ if ((this.MajorEquipAccidentField.Equals(value) != true))
+ {
+ this.MajorEquipAccidentField = value;
+ this.RaisePropertyChanged("MajorEquipAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MajorEquipAccidentRemark
+ {
+ get
+ {
+ return this.MajorEquipAccidentRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MajorEquipAccidentRemarkField, value) != true))
+ {
+ this.MajorEquipAccidentRemarkField = value;
+ this.RaisePropertyChanged("MajorEquipAccidentRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MajorFireAccident
+ {
+ get
+ {
+ return this.MajorFireAccidentField;
+ }
+ set
+ {
+ if ((this.MajorFireAccidentField.Equals(value) != true))
+ {
+ this.MajorFireAccidentField = value;
+ this.RaisePropertyChanged("MajorFireAccident");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string MajorFireAccidentRemark
+ {
+ get
+ {
+ return this.MajorFireAccidentRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.MajorFireAccidentRemarkField, value) != true))
+ {
+ this.MajorFireAccidentRemarkField = value;
+ this.RaisePropertyChanged("MajorFireAccidentRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable PMMan
+ {
+ get
+ {
+ return this.PMManField;
+ }
+ set
+ {
+ if ((this.PMManField.Equals(value) != true))
+ {
+ this.PMManField = value;
+ this.RaisePropertyChanged("PMMan");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string PMManAttachUrl
+ {
+ get
+ {
+ return this.PMManAttachUrlField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.PMManAttachUrlField, value) != true))
+ {
+ this.PMManAttachUrlField = value;
+ this.RaisePropertyChanged("PMManAttachUrl");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Collections.Generic.List PMManAttachUrlFileContext
+ {
+ get
+ {
+ return this.PMManAttachUrlFileContextField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.PMManAttachUrlFileContextField, value) != true))
+ {
+ this.PMManAttachUrlFileContextField = value;
+ this.RaisePropertyChanged("PMManAttachUrlFileContext");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string PMManRemark
+ {
+ get
+ {
+ return this.PMManRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.PMManRemarkField, value) != true))
+ {
+ this.PMManRemarkField = value;
+ this.RaisePropertyChanged("PMManRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable PoisoningAndInjuries
+ {
+ get
+ {
+ return this.PoisoningAndInjuriesField;
+ }
+ set
+ {
+ if ((this.PoisoningAndInjuriesField.Equals(value) != true))
+ {
+ this.PoisoningAndInjuriesField = value;
+ this.RaisePropertyChanged("PoisoningAndInjuries");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string PoisoningAndInjuriesRemark
+ {
+ get
+ {
+ return this.PoisoningAndInjuriesRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.PoisoningAndInjuriesRemarkField, value) != true))
+ {
+ this.PoisoningAndInjuriesRemarkField = value;
+ this.RaisePropertyChanged("PoisoningAndInjuriesRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ProductionInput
+ {
+ get
+ {
+ return this.ProductionInputField;
+ }
+ set
+ {
+ if ((this.ProductionInputField.Equals(value) != true))
+ {
+ this.ProductionInputField = value;
+ this.RaisePropertyChanged("ProductionInput");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string ProductionInputRemark
+ {
+ get
+ {
+ return this.ProductionInputRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.ProductionInputRemarkField, value) != true))
+ {
+ this.ProductionInputRemarkField = value;
+ this.RaisePropertyChanged("ProductionInputRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ProductionSafetyInTotal
+ {
+ get
+ {
+ return this.ProductionSafetyInTotalField;
+ }
+ set
+ {
+ if ((this.ProductionSafetyInTotalField.Equals(value) != true))
+ {
+ this.ProductionSafetyInTotalField = value;
+ this.RaisePropertyChanged("ProductionSafetyInTotal");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public string ProductionSafetyInTotalRemark
+ {
+ get
+ {
+ return this.ProductionSafetyInTotalRemarkField;
+ }
+ set
+ {
+ if ((object.ReferenceEquals(this.ProductionSafetyInTotalRemarkField, value) != true))
+ {
+ this.ProductionSafetyInTotalRemarkField = value;
+ this.RaisePropertyChanged("ProductionSafetyInTotalRemark");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable