diff --git a/DataBase/版本日志/SGGLDB_V2023-03-30_gaofei.sql b/DataBase/版本日志/SGGLDB_V2023-03-30_gaofei.sql
new file mode 100644
index 00000000..dc2d10bd
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_V2023-03-30_gaofei.sql
@@ -0,0 +1,3000 @@
+ drop table [Environmental_ArchitectureReportItem]
+drop view [View_Environmental_ArchitectureReport]
+drop table Environmental_ArchitectureReport
+
+ INSERT sys_menu (MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES ( N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'ҵԴԼ̬ܱ',N'ZHGL/Environmental/ChemicalReport.aspx',120,N'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001',N'Menu_ZHGL',1,1,1)
+ go
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'46920D17-DBED-49FC-AE0C-7FB67ECEB489',N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'',1)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'55E6ABFD-302A-4069-BFB3-0CA4A8A2378B',N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'',2)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'D00DEFA7-5B40-4DBF-8B9E-A9EAAE45A32B',N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'ɾ',3)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'848805D2-91A1-4D20-9D04-108D44B08860',N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'',4)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'D0B18467-8D51-4D4A-A446-3BB140FF29A7',N'ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14',N'沢ϱ',5)
+ go
+
+CREATE TABLE [dbo].[Environmental_ChemicalReport](
+ [ChemicalReportId] [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,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_ChemicalReport] PRIMARY KEY CLUSTERED
+(
+ [ChemicalReportId] 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].[Environmental_ChemicalReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ChemicalReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ChemicalReport] CHECK CONSTRAINT [FK_Environmental_ChemicalReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReport', @level2type=N'COLUMN',@level2name=N'ChemicalReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReport', @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'Environmental_ChemicalReport', @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'Environmental_ChemicalReport', @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'Environmental_ChemicalReport', @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'Environmental_ChemicalReport', @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'Environmental_ChemicalReport', @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'Environmental_ChemicalReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Environmental_ChemicalReportItem](
+ [ChemicalReportItemId] [nvarchar](50) NOT NULL,
+ [ChemicalReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [LastYearValue] [nvarchar](50) NULL,
+ [ThisYearValue] [nvarchar](50) NULL,
+ [Rate] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_ChemicalReportItem] PRIMARY KEY CLUSTERED
+(
+ [ChemicalReportItemId] 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].[Environmental_ChemicalReportItem] WITH CHECK ADD CONSTRAINT [FK_Environmental_ChemicalReportItem_Environmental_ChemicalReport] FOREIGN KEY([ChemicalReportId])
+REFERENCES [dbo].[Environmental_ChemicalReport] ([ChemicalReportId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ChemicalReportItem] CHECK CONSTRAINT [FK_Environmental_ChemicalReportItem_Environmental_ChemicalReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ChemicalReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ChemicalReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem', @level2type=N'COLUMN',@level2name=N'LastYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ThisYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͬڱȽ(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem', @level2type=N'COLUMN',@level2name=N'Rate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵԴԼ̬ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ChemicalReportItem'
+GO
+
+
+
+/*************ҵԴԼ̬ܱ**************/
+CREATE VIEW [dbo].[View_Environmental_ChemicalReport]
+AS
+SELECT
+Report.ChemicalReportId,
+Report.UnitId,
+Report.FillingDate,
+(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.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ChemicalReport 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]
+
+
+
+
+
+
+GO
+
+ INSERT sys_menu (MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES ( N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'ҵԴԼ̬ܱ',N'ZHGL/Environmental/ArchitectureReport.aspx',110,N'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001',N'Menu_ZHGL',1,1,1)
+ go
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'18E91EB6-C21B-46ED-9F98-438C8EABD1BE',N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'',1)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'B42F1CA0-A07C-4B02-98B5-602820C550D5',N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'',2)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'8B675F10-97BC-4D6D-B675-2C1DCD91C691',N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'ɾ',3)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'1B762DE4-5B26-42B2-AAFD-4ED2F6505A26',N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'',4)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'EF3CB7FF-3B65-485C-8414-D2955B7C7BFB',N'7C47F078-D4C9-40D9-BEEF-E657EAFEC650',N'沢ϱ',5)
+ go
+
+CREATE TABLE [dbo].[Environmental_ArchitectureReport](
+ [ArchitectureReportId] [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,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_ArchitectureReport] PRIMARY KEY CLUSTERED
+(
+ [ArchitectureReportId] 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].[Environmental_ArchitectureReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ArchitectureReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ArchitectureReport] CHECK CONSTRAINT [FK_Environmental_ArchitectureReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReport', @level2type=N'COLUMN',@level2name=N'ArchitectureReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport', @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'Environmental_ArchitectureReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Environmental_ArchitectureReportItem](
+ [ArchitectureReportItemId] [nvarchar](50) NOT NULL,
+ [ArchitectureReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [LastYearValue] [nvarchar](50) NULL,
+ [ThisYearValue] [nvarchar](50) NULL,
+ [Rate] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_ArchitectureReportItem] PRIMARY KEY CLUSTERED
+(
+ [ArchitectureReportItemId] 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].[Environmental_ArchitectureReportItem] WITH CHECK ADD CONSTRAINT [FK_Environmental_ArchitectureReportItem_Environmental_ArchitectureReport] FOREIGN KEY([ArchitectureReportId])
+REFERENCES [dbo].[Environmental_ArchitectureReport] ([ArchitectureReportId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ArchitectureReportItem] CHECK CONSTRAINT [FK_Environmental_ArchitectureReportItem_Environmental_ArchitectureReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ArchitectureReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ArchitectureReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'LastYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ThisYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͬڱȽ(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'Rate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵԴԼ̬ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ArchitectureReportItem'
+GO
+
+
+
+
+/*************ҵԴԼ̬ܱ**************/
+CREATE VIEW [dbo].[View_Environmental_ArchitectureReport]
+AS
+SELECT
+Report.ArchitectureReportId,
+Report.UnitId,
+Report.FillingDate,
+(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.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ArchitectureReport 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]
+
+
+
+
+
+
+GO
+
+
+
+
+
+ insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('07FEEC9D-09C1-4C19-9269-62F69532086C','ȫܽᱨ','ZHGL/Information/WorkSummaryReport.aspx',90,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('FD088090-FD25-4548-9B7F-49247A8F601B','07FEEC9D-09C1-4C19-9269-62F69532086C','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('8ADC4E94-8182-4AE7-8D69-CEF3004B6AAE','07FEEC9D-09C1-4C19-9269-62F69532086C','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('7A3C8A43-9585-4E27-BDE2-F66FEE9435BD','07FEEC9D-09C1-4C19-9269-62F69532086C','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('AD4FB77C-2B53-4970-87F3-3DF8B675C9A8','07FEEC9D-09C1-4C19-9269-62F69532086C','',4)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('2F222D01-838E-4BE6-9212-4C6AE0B0BC6A','07FEEC9D-09C1-4C19-9269-62F69532086C','沢ϱ',5)
+ go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('12941594-2171-411A-8CC8-32E3BD9FCDDF','ܽᱨ','ZHGL/Information/QualityWorkSummaryReport.aspx',100,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('EC9D2B2F-E61B-4E87-8F38-26ED0D7F3F10','12941594-2171-411A-8CC8-32E3BD9FCDDF','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('A1F10A53-693D-4AA8-A28D-A60151828325','12941594-2171-411A-8CC8-32E3BD9FCDDF','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('0948549B-7CAC-4810-8113-66843F4C4969','12941594-2171-411A-8CC8-32E3BD9FCDDF','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('254F6A15-4A4B-4BF3-929B-FBC9174B4FC5','12941594-2171-411A-8CC8-32E3BD9FCDDF','',4)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('817CF1AA-4F75-41A4-A8F6-E30448D62FFC','12941594-2171-411A-8CC8-32E3BD9FCDDF','沢ϱ',5)
+ go
+
+
+
+CREATE TABLE [dbo].[Information_WorkSummaryReport](
+ [WorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [SafeLaborTime] [decimal](18, 2) NULL,
+ [SafetyObjectives] [nvarchar](max) NULL,
+ [AccidentSituation] [nvarchar](max) NULL,
+ [Awards] [nvarchar](max) NULL,
+ [WorkDevelopment] [nvarchar](max) NULL,
+ [PersonnelTraining] [nvarchar](max) NULL,
+ [GovernanceSituation] [nvarchar](max) NULL,
+ [ManagementActivity] [nvarchar](max) NULL,
+ [WorkExperience] [nvarchar](max) NULL,
+ [Countermeasures] [nvarchar](max) NULL,
+ [NextYearWorkPlan] [nvarchar](max) NULL,
+ [JobSuggestion] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Information_WorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [WorkSummaryReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_WorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_Information_WorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_WorkSummaryReport] CHECK CONSTRAINT [FK_Information_WorkSummaryReport_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_WorkSummaryReport', @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_WorkSummaryReport', @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_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @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_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafeLaborTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫĿ꼰Ӧݽܽᣩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafetyObjectives'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չȫල顢Ų' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'GovernanceSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¡ְҵܵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫܽᱨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport'
+GO
+
+
+
+
+
+CREATE TABLE [dbo].[Information_QualityWorkSummaryReport](
+ [QualityWorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Performance] [nvarchar](max) NULL,
+ [AccidentSituation] [nvarchar](max) NULL,
+ [Awards] [nvarchar](max) NULL,
+ [WorkDevelopment] [nvarchar](max) NULL,
+ [PersonnelTraining] [nvarchar](max) NULL,
+ [CheckSituation] [nvarchar](max) NULL,
+ [ManagementActivity] [nvarchar](max) NULL,
+ [WorkExperience] [nvarchar](max) NULL,
+ [Countermeasures] [nvarchar](max) NULL,
+ [NextYearWorkPlan] [nvarchar](max) NULL,
+ [JobSuggestion] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Information_QualityWorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [QualityWorkSummaryReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_QualityWorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_Information_QualityWorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_QualityWorkSummaryReport] CHECK CONSTRAINT [FK_Information_QualityWorkSummaryReport_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_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Performance'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'жص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չල' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'CheckSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'µ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܽᱨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport'
+GO
+
+
+
+
+alter table [dbo].[Environmental_ChemicalReportItem] add BaseNumber nvarchar(50) null
+GO
+alter table [dbo].[Environmental_ArchitectureReportItem] add BaseNumber nvarchar(50) null
+GO
+
+
+CREATE TABLE [dbo].[Environmental_ProjectChemicalReport](
+ [ChemicalReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Month] [int] NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [DutyPerson] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_ProjectChemicalReport] PRIMARY KEY CLUSTERED
+(
+ [ChemicalReportId] 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].[Environmental_ProjectChemicalReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectChemicalReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectChemicalReport] CHECK CONSTRAINT [FK_Environmental_ProjectChemicalReport_Base_Project]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReport', @level2type=N'COLUMN',@level2name=N'ChemicalReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReport', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReport', @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'Environmental_ProjectChemicalReport', @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'Environmental_ProjectChemicalReport', @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'Environmental_ProjectChemicalReport', @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'Environmental_ProjectChemicalReport', @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'Environmental_ProjectChemicalReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Environmental_ProjectChemicalReportItem](
+ [ChemicalReportItemId] [nvarchar](50) NOT NULL,
+ [ChemicalReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [LastYearValue] [nvarchar](50) NULL,
+ [ThisYearValue] [nvarchar](50) NULL,
+ [Rate] [nvarchar](50) NULL,
+ [BaseNumber] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_ProjectChemicalReportItem] PRIMARY KEY CLUSTERED
+(
+ [ChemicalReportItemId] 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].[Environmental_ProjectChemicalReportItem] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectChemicalReportItem_Environmental_ProjectChemicalReport] FOREIGN KEY([ChemicalReportId])
+REFERENCES [dbo].[Environmental_ProjectChemicalReport] ([ChemicalReportId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectChemicalReportItem] CHECK CONSTRAINT [FK_Environmental_ProjectChemicalReportItem_Environmental_ProjectChemicalReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ChemicalReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ChemicalReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem', @level2type=N'COLUMN',@level2name=N'LastYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem', @level2type=N'COLUMN',@level2name=N'ThisYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͬڱȽ(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem', @level2type=N'COLUMN',@level2name=N'Rate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵԴԼ̬ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectChemicalReportItem'
+GO
+
+
+/*************ҵԴԼ̬ܱ**************/
+CREATE VIEW [dbo].[View_Environmental_ProjectChemicalReport]
+AS
+SELECT
+Report.ChemicalReportId,
+Report.ProjectId,
+Report.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0009.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0009.ConstText as MonthStr,
+U.ProjectName,
+Report.Year,
+Report.Month,
+Report.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ProjectChemicalReport AS Report
+LEFT JOIN Base_Project AS U ON U.ProjectId=Report.ProjectId
+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]
+
+
+
+
+
+
+
+GO
+
+
+
+
+
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('A44E98F6-E9FE-43F8-8349-C166263BF608','ҵԴԼ̬ܱ','ZHGL/Environmental/ProjectChemicalReport.aspx',60,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('61C72BD2-4B76-4595-BFBF-0E9FEB6A7B80','A44E98F6-E9FE-43F8-8349-C166263BF608','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('504F9B5D-88F7-4ED7-B5F4-48AC089AABBF','A44E98F6-E9FE-43F8-8349-C166263BF608','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('5208AF92-6632-4226-BC28-2392D3BF43FD','A44E98F6-E9FE-43F8-8349-C166263BF608','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('58B8415B-61C8-4D23-9AEE-1290E7FF8F2B','A44E98F6-E9FE-43F8-8349-C166263BF608','',4)
+ GO
+
+
+CREATE TABLE [dbo].[Environmental_ProjectArchitectureReport](
+ [ArchitectureReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarters] [int] NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [DutyPerson] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_ProjectArchitectureReport] PRIMARY KEY CLUSTERED
+(
+ [ArchitectureReportId] 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].[Environmental_ProjectArchitectureReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectArchitectureReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectArchitectureReport] CHECK CONSTRAINT [FK_Environmental_ProjectArchitectureReport_Base_Project]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReport', @level2type=N'COLUMN',@level2name=N'ArchitectureReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReport', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReport', @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'Environmental_ProjectArchitectureReport', @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'Environmental_ProjectArchitectureReport', @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'Environmental_ProjectArchitectureReport', @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'Environmental_ProjectArchitectureReport', @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'Environmental_ProjectArchitectureReport'
+GO
+
+
+
+CREATE TABLE [dbo].[Environmental_ProjectArchitectureReportItem](
+ [ArchitectureReportItemId] [nvarchar](50) NOT NULL,
+ [ArchitectureReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [LastYearValue] [nvarchar](50) NULL,
+ [ThisYearValue] [nvarchar](50) NULL,
+ [Rate] [nvarchar](50) NULL,
+ [BaseNumber] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_ProjectArchitectureReportItem] PRIMARY KEY CLUSTERED
+(
+ [ArchitectureReportItemId] 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].[Environmental_ProjectArchitectureReportItem] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectArchitectureReportItem_Environmental_ProjectArchitectureReport] FOREIGN KEY([ArchitectureReportId])
+REFERENCES [dbo].[Environmental_ProjectArchitectureReport] ([ArchitectureReportId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectArchitectureReportItem] CHECK CONSTRAINT [FK_Environmental_ProjectArchitectureReportItem_Environmental_ProjectArchitectureReport]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ArchitectureReportItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ArchitectureReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'LastYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'ThisYearValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͬڱȽ(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem', @level2type=N'COLUMN',@level2name=N'Rate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵԴԼ̬ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectArchitectureReportItem'
+GO
+
+
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('25CE6894-2840-4DC4-AD2E-D72292849CEE','ҵԴԼ̬ܱ','ZHGL/Environmental/ProjectArchitectureReport.aspx',70,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('5CDC4DA8-D6CE-49F8-962B-5A24A7A2CE66','25CE6894-2840-4DC4-AD2E-D72292849CEE','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('3066BA22-F86B-4B98-8FA1-914DDB95FB52','25CE6894-2840-4DC4-AD2E-D72292849CEE','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('0B96AAC4-4E76-484F-932A-806BF910791D','25CE6894-2840-4DC4-AD2E-D72292849CEE','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('11C043C8-B557-4DDD-9E0A-64BC44BD3D7B','25CE6894-2840-4DC4-AD2E-D72292849CEE','',4)
+ GO
+
+
+/*************ҵԴԼ̬ܱ**************/
+CREATE VIEW [dbo].[View_Environmental_ProjectArchitectureReport]
+AS
+SELECT
+Report.ArchitectureReportId,
+Report.ProjectId,
+Report.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0011.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0011.ConstText as QuartersStr,
+U.ProjectName,
+Report.Year,
+Report.Quarters,
+Report.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ProjectArchitectureReport AS Report
+LEFT JOIN Base_Project AS U ON U.ProjectId=Report.ProjectId
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =Report.[Year]
+LEFT JOIN Sys_Const AS Group_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.[Quarters]
+
+
+
+
+
+
+
+GO
+
+
+alter table [dbo].[Information_MillionsMonthlyReportItem] add DeathAccidentNum int null
+GO
+alter table [dbo].[Information_MillionsMonthlyReportItem] add DeathAccidentPersonNum int null
+GO
+alter table [dbo].[Information_MillionsMonthlyReportItem] add DeathAccidentLossHour int null
+GO
+alter table [dbo].[Information_MillionsMonthlyReportItem] add EnvironmenNum int null
+GO
+
+alter table [dbo].[InformationProject_MillionsMonthlyReport] add DeathAccidentNum int null
+GO
+alter table [dbo].[InformationProject_MillionsMonthlyReport] add DeathAccidentPersonNum int null
+GO
+alter table [dbo].[InformationProject_MillionsMonthlyReport] add DeathAccidentLossHour int null
+GO
+alter table [dbo].[InformationProject_MillionsMonthlyReport] add EnvironmenNum int null
+GO
+
+alter table Information_MillionsMonthlyReport add InputCosts decimal(18,4) null
+alter table Information_MillionsMonthlyReport add TrainNum int null
+alter table Information_MillionsMonthlyReport add GeneralHazardNum int null
+alter table Information_MillionsMonthlyReport add MajorHazardNum int null
+alter table Information_MillionsMonthlyReport add NotProofLargeProjectNum int null
+alter table Information_MillionsMonthlyReport add ProofLargeProjectNum int null
+alter table Information_MillionsMonthlyReport add FireLicenseNum int null
+alter table Information_MillionsMonthlyReport add LimitLicenseNum int null
+alter table Information_MillionsMonthlyReport add HighLicenseNum int null
+alter table Information_MillionsMonthlyReport add HoistingLicenseNum int null
+alter table Information_MillionsMonthlyReport add BreakGroundLicenseNum int null
+alter table Information_MillionsMonthlyReport add ElectricityLicenseNum int null
+alter table Information_MillionsMonthlyReport add RTLicenseNum int null
+alter table Information_MillionsMonthlyReport add NightLicenseNum int null
+alter table Information_MillionsMonthlyReport add CommissionerNum int null
+alter table Information_MillionsMonthlyReport add SoleDutyNum int null
+GO
+
+alter table InformationProject_MillionsMonthlyReport add InputCosts decimal(18,4) null
+alter table InformationProject_MillionsMonthlyReport add TrainNum int null
+alter table InformationProject_MillionsMonthlyReport add GeneralHazardNum int null
+alter table InformationProject_MillionsMonthlyReport add MajorHazardNum int null
+alter table InformationProject_MillionsMonthlyReport add NotProofLargeProjectNum int null
+alter table InformationProject_MillionsMonthlyReport add ProofLargeProjectNum int null
+alter table InformationProject_MillionsMonthlyReport add FireLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add LimitLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add HighLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add HoistingLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add BreakGroundLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add ElectricityLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add RTLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add NightLicenseNum int null
+alter table InformationProject_MillionsMonthlyReport add CommissionerNum int null
+alter table InformationProject_MillionsMonthlyReport add SoleDutyNum int null
+GO
+
+update [Sys_Menu] set [MenuName]='ҵȫͳ±' where MenuId='3156A9F0-276D-4AD4-BF84-45CF6DFC215C'
+update [Sys_Menu] set [MenuName]='ҵȫͳ±' where MenuId='6E7DC075-A7AF-4E42-8F8B-0174EFDD54A1'
+GO
+
+delete from Sys_ButtonToMenu where MenuId='8B17DC64-A4B9-4283-B7A1-D2E944205FA5'
+delete from [Sys_Menu] where MenuId='8B17DC64-A4B9-4283-B7A1-D2E944205FA5'
+delete from Sys_ButtonToMenu where MenuId='A3894BAD-3F4A-4BB4-98CF-A76C588AE53F'
+delete from [Sys_Menu] where MenuId='A3894BAD-3F4A-4BB4-98CF-A76C588AE53F'
+GO
+
+ INSERT sys_menu (MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES ( N'7652D239-1897-4886-8DF2-B71E3B060D21',N'ҵܻҵҵ;Ӫ',N'ZHGL/Environmental/OperationReport.aspx',200,N'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001',N'Menu_ZHGL',1,1,1)
+ go
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'6FF2A6A9-797D-4581-B3A6-4B0F55E40DA0',N'7652D239-1897-4886-8DF2-B71E3B060D21',N'',1)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'20C8D28A-51FC-4AE4-9545-A8D2C9C61CBB',N'7652D239-1897-4886-8DF2-B71E3B060D21',N'',2)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'0E3A8AA4-0E0E-4A47-9B70-74503ACAB056',N'7652D239-1897-4886-8DF2-B71E3B060D21',N'ɾ',3)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'84A185EC-13CD-4C09-A415-F666138877AC',N'7652D239-1897-4886-8DF2-B71E3B060D21',N'',4)
+ INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES ( N'87F2FE97-0CCA-4F42-B297-43DC026334FF',N'7652D239-1897-4886-8DF2-B71E3B060D21',N'沢ϱ',5)
+ go
+
+
+
+
+CREATE TABLE [dbo].[Environmental_OperationReport](
+ [BusinessReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarters] [int] NULL,
+ [Code] [nvarchar](50) NULL,
+ [UnitLevel] [nvarchar](50) NULL,
+ [CreateDate] [datetime] NULL,
+ [Place] [nvarchar](200) NULL,
+ [PersonNum] [int] NULL,
+ [TotalAssets] [decimal](18, 4) NULL,
+ [TotalValue] [decimal](18, 4) NULL,
+ [NewInvestment] [decimal](18, 4) NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [StatisticsDutyPerson] [nvarchar](50) NULL,
+ [UnitDutyPerson] [nvarchar](50) NULL,
+ [Remark] [nvarchar](500) NULL,
+ CONSTRAINT [PK_Environmental_OperationReport] PRIMARY KEY CLUSTERED
+(
+ [BusinessReportId] 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].[Environmental_OperationReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_OperationReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Environmental_OperationReport] CHECK CONSTRAINT [FK_Environmental_OperationReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'BusinessReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @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'Environmental_OperationReport', @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'Environmental_OperationReport', @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'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'Code'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ㼶' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'UnitLevel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'CreateDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ڵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'Place'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'PersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʲܶ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'TotalAssets'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵܲ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'TotalValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'NewInvestment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @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'Environmental_OperationReport', @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'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'StatisticsDutyPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @level2type=N'COLUMN',@level2name=N'UnitDutyPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_OperationReport', @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'Environmental_OperationReport'
+GO
+
+
+
+
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('EFA6E45F-1267-4804-BEE7-41E0C5461204','ҵܻҵҵ;Ӫ','ZHGL/Environmental/ProjectOperationReport.aspx',170,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('D8F40684-8EE9-4E79-B18E-FFA339E3B441','EFA6E45F-1267-4804-BEE7-41E0C5461204','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9BF9DDC9-66C5-4FB2-8AA6-B0B748F41F56','EFA6E45F-1267-4804-BEE7-41E0C5461204','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('DD2E36DE-C736-4D96-9972-D686C8A1ED23','EFA6E45F-1267-4804-BEE7-41E0C5461204','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('220E0F3B-1254-46DA-AF9A-9C21CA3EFEF8','EFA6E45F-1267-4804-BEE7-41E0C5461204','',4)
+ GO
+
+
+
+CREATE TABLE [dbo].[Environmental_ProjectOperationReport](
+ [BusinessReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarters] [int] NULL,
+ [Code] [nvarchar](50) NULL,
+ [PersonNum] [int] NULL,
+ [TotalAssets] [decimal](18, 4) NULL,
+ [TotalValue] [decimal](18, 4) NULL,
+ [NewInvestment] [decimal](18, 4) NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [StatisticsDutyPerson] [nvarchar](50) NULL,
+ [Remark] [nvarchar](500) NULL,
+ CONSTRAINT [PK_Environmental_ProjectOperationReport] PRIMARY KEY CLUSTERED
+(
+ [BusinessReportId] 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].[Environmental_ProjectOperationReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectOperationReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectOperationReport] CHECK CONSTRAINT [FK_Environmental_ProjectOperationReport_Base_Project]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'BusinessReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @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'Environmental_ProjectOperationReport', @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'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'Code'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'PersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʲܶ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'TotalAssets'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵܲ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'TotalValue'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ͷ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'NewInvestment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @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'Environmental_ProjectOperationReport', @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'Environmental_ProjectOperationReport', @level2type=N'COLUMN',@level2name=N'StatisticsDutyPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectOperationReport', @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'Environmental_ProjectOperationReport'
+GO
+
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('FB174DD6-CBAE-43AF-9356-B098A17B719D','ȫܽᱨ','HSSE/InformationProject/WorkSummaryReport.aspx',60,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('22B517A8-7267-483D-8D25-DC46DA4781A2','FB174DD6-CBAE-43AF-9356-B098A17B719D','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('0118B4F5-C954-4FD7-9D63-6BF46BD63555','FB174DD6-CBAE-43AF-9356-B098A17B719D','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('2A952B21-96B8-4647-BBFD-5C9F8A71FF96','FB174DD6-CBAE-43AF-9356-B098A17B719D','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('A3D4C846-E1AE-4EBC-A13E-6565EBCD8921','FB174DD6-CBAE-43AF-9356-B098A17B719D','',4)
+ go
+ insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ values('7ecf0229-8a0b-40ce-8b04-e556f7bd3394','','',130,'0','Menu_CQMS',0,0,1)
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('1443C901-A9C3-4CCC-B858-55512DE8C5CA','ܽᱨ','CQMS/ManageReport/QualityWorkSummaryReport.aspx',20,'7ecf0229-8a0b-40ce-8b04-e556f7bd3394','Menu_CQMS',0,1,1)
+ go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('7A6247ED-5953-4A97-8C9A-25D592B19D9E','1443C901-A9C3-4CCC-B858-55512DE8C5CA','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('C87345B5-882C-4F02-86F1-65B53CBEAA79','1443C901-A9C3-4CCC-B858-55512DE8C5CA','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('95349CD9-4EC8-47BA-8B6D-2A5AD8D48234','1443C901-A9C3-4CCC-B858-55512DE8C5CA','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('DF651BA5-4F8E-469F-ADF2-0538C37445EC','1443C901-A9C3-4CCC-B858-55512DE8C5CA','',4)
+ go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('267064F1-88F7-4468-998A-49A1A2F25BB8','ȹĿϢ','CQMS/ManageReport/QuarterlyProjectQuality.aspx',30,'7ecf0229-8a0b-40ce-8b04-e556f7bd3394','Menu_CQMS',0,1,1)
+ go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('E826DFE2-76B9-4C39-82E4-5E8541F1A603','267064F1-88F7-4468-998A-49A1A2F25BB8','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('47653071-D7D5-4BC7-8351-479FB7C49840','267064F1-88F7-4468-998A-49A1A2F25BB8','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('F4CE6F86-AB36-4AED-B449-2E8DA69B5278','267064F1-88F7-4468-998A-49A1A2F25BB8','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('8E5ABEC0-1D1B-4479-99F0-FB778BBE43E4','267064F1-88F7-4468-998A-49A1A2F25BB8','',4)
+ go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('86F71934-7149-470E-BEAB-FFDC5BF3C0F2','ʵҵȫ','SHIYE/InformationProject/SafetyBriefing.aspx',10,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('90297D4C-047D-4E24-8FCB-3B216846B94E','86F71934-7149-470E-BEAB-FFDC5BF3C0F2','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('A7F2EF10-6EE2-468F-93E4-BAE3051920C0','86F71934-7149-470E-BEAB-FFDC5BF3C0F2','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('08156CE2-51A2-42A7-BDCF-5840D514445B','86F71934-7149-470E-BEAB-FFDC5BF3C0F2','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('1AED7984-B050-4EAF-9CD5-D25CF500B61F','86F71934-7149-470E-BEAB-FFDC5BF3C0F2','',4)
+ go
+
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','ʵҵȫ','ZHGL/Information/SafetyBriefing.aspx',110,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('135DC125-8594-4AEF-AF99-F98890ACCA28','AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('6EC0B8E7-4612-4D41-8274-8CAA884A23C5','AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('C610B07D-5AC7-4135-97C8-F926AD8AD6D1','AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('FBA6A803-B81B-4415-BAF3-B998BE113AA6','AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','',4)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('C4ACDB39-C54D-48FF-8612-1E805E023B3D','AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1','沢ϱ',5)
+ go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('CF9C1F00-34B8-42E5-B2D1-704094169CA3','ȹĿϢ','ZHGL/Information/QuarterlyProjectQuality.aspx',120,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('FA8D2BB9-0C94-420A-BD04-96A6CE473552','CF9C1F00-34B8-42E5-B2D1-704094169CA3','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('8D88009F-F4DB-4D91-82DD-936FC68690F1','CF9C1F00-34B8-42E5-B2D1-704094169CA3','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('E9DE1C73-803B-45DC-8F76-517521183EEA','CF9C1F00-34B8-42E5-B2D1-704094169CA3','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('DA437AA6-0728-444E-9A42-D48443606475','CF9C1F00-34B8-42E5-B2D1-704094169CA3','',4)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('A5156A57-B748-4F59-955B-1B37444694CF','CF9C1F00-34B8-42E5-B2D1-704094169CA3','沢ϱ',5)
+ go
+
+
+CREATE TABLE [dbo].[InformationProject_WorkSummaryReport](
+ [WorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [SafeLaborTime] [decimal](18, 2) NULL,
+ [SafetyObjectives] [nvarchar](500) NULL,
+ [AccidentSituation] [nvarchar](500) NULL,
+ [Awards] [nvarchar](500) NULL,
+ [WorkDevelopment] [nvarchar](500) NULL,
+ [PersonnelTraining] [nvarchar](500) NULL,
+ [GovernanceSituation] [nvarchar](500) NULL,
+ [ManagementActivity] [nvarchar](500) NULL,
+ [WorkExperience] [nvarchar](500) NULL,
+ [Countermeasures] [nvarchar](500) NULL,
+ [NextYearWorkPlan] [nvarchar](500) NULL,
+ [JobSuggestion] [nvarchar](500) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_InformationProject_WorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [WorkSummaryReportId] 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].[InformationProject_WorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_WorkSummaryReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_WorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_WorkSummaryReport_Base_Project]
+GO
+
+ALTER TABLE [dbo].[InformationProject_WorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_WorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_WorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_WorkSummaryReport_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[InformationProject_WorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_WorkSummaryReport_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_WorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_WorkSummaryReport_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @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'InformationProject_WorkSummaryReport', @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'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @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'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafeLaborTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫĿ꼰Ӧݽܽᣩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafetyObjectives'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չȫල顢Ų' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'GovernanceSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¡ְҵܵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_WorkSummaryReport', @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'InformationProject_WorkSummaryReport', @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'InformationProject_WorkSummaryReport'
+GO
+
+
+CREATE TABLE [dbo].[InformationProject_QualityWorkSummaryReport](
+ [QualityWorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Performance] [nvarchar](500) NULL,
+ [AccidentSituation] [nvarchar](500) NULL,
+ [Awards] [nvarchar](500) NULL,
+ [WorkDevelopment] [nvarchar](500) NULL,
+ [PersonnelTraining] [nvarchar](500) NULL,
+ [CheckSituation] [nvarchar](500) NULL,
+ [ManagementActivity] [nvarchar](500) NULL,
+ [WorkExperience] [nvarchar](500) NULL,
+ [Countermeasures] [nvarchar](500) NULL,
+ [NextYearWorkPlan] [nvarchar](500) NULL,
+ [JobSuggestion] [nvarchar](500) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_InformationProject_QualityWorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [QualityWorkSummaryReportId] 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].[InformationProject_QualityWorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QualityWorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Base_Project]
+GO
+
+ALTER TABLE [dbo].[InformationProject_QualityWorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QualityWorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[InformationProject_QualityWorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QualityWorkSummaryReport] CHECK CONSTRAINT [FK_InformationProject_QualityWorkSummaryReport_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @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'InformationProject_QualityWorkSummaryReport', @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'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @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'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Performance'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'жص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չල' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'CheckSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'µ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QualityWorkSummaryReport', @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'InformationProject_QualityWorkSummaryReport', @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'InformationProject_QualityWorkSummaryReport'
+GO
+
+
+CREATE TABLE [dbo].[InformationProject_SafetyBriefing](
+ [SafetyBriefingId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [Month] [int] NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [Auditor] [nvarchar](50) NULL,
+ [Approver] [nvarchar](50) NULL,
+ [MainWork] [nvarchar](500) NULL,
+ [HazardRecording] [nvarchar](500) NULL,
+ [SafetyAccident] [nvarchar](50) NULL,
+ [EPAccident] [nvarchar](50) NULL,
+ [OHAccident] [nvarchar](50) NULL,
+ [WorkPermitNum] [nvarchar](500) NULL,
+ [HiddenDangerDetection] [nvarchar](500) NULL,
+ [RectificationSituation] [nvarchar](500) NULL,
+ [CheckProblemsRectification] [nvarchar](500) NULL,
+ [PendingProject] [nvarchar](500) NULL,
+ [ContractorManagement] [nvarchar](500) NULL,
+ [EnvironmentalEmissions] [nvarchar](500) NULL,
+ [NextMonthWorkPlan] [nvarchar](500) NULL,
+ CONSTRAINT [PK_InfomationProject_SafetyBriefing] PRIMARY KEY CLUSTERED
+(
+ [SafetyBriefingId] 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].[InformationProject_SafetyBriefing] WITH CHECK ADD CONSTRAINT [FK_InfomationProject_SafetyBriefing_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_SafetyBriefing] CHECK CONSTRAINT [FK_InfomationProject_SafetyBriefing_Base_Project]
+GO
+
+ALTER TABLE [dbo].[InformationProject_SafetyBriefing] WITH CHECK ADD CONSTRAINT [FK_InfomationProject_SafetyBriefing_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_SafetyBriefing] CHECK CONSTRAINT [FK_InfomationProject_SafetyBriefing_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[InformationProject_SafetyBriefing] WITH CHECK ADD CONSTRAINT [FK_InfomationProject_SafetyBriefing_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_SafetyBriefing] CHECK CONSTRAINT [FK_InfomationProject_SafetyBriefing_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'SafetyBriefingId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @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'InformationProject_SafetyBriefing', @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'InformationProject_SafetyBriefing', @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'InformationProject_SafetyBriefing', @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'InformationProject_SafetyBriefing', @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'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'Auditor'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'Approver'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'MainWork'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'شΣԴ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'HazardRecording'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'SafetyAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'EPAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְҵ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'OHAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ֤ͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'WorkPermitNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ŲĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'HiddenDangerDetection'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'RectificationSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ż' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'CheckProblemsRectification'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ɵĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'PendingProject'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'а̹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'ContractorManagement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ŷ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'EnvironmentalEmissions'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'°ȫƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'NextMonthWorkPlan'
+GO
+
+
+CREATE TABLE [dbo].[Information_SafetyBriefing](
+ [SafetyBriefingId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [Month] [int] NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [Auditor] [nvarchar](50) NULL,
+ [Approver] [nvarchar](50) NULL,
+ [MainWork] [nvarchar](max) NULL,
+ [HazardRecording] [nvarchar](max) NULL,
+ [SafetyAccident] [nvarchar](max) NULL,
+ [EPAccident] [nvarchar](max) NULL,
+ [OHAccident] [nvarchar](max) NULL,
+ [WorkPermitNum] [nvarchar](max) NULL,
+ [HiddenDangerDetection] [nvarchar](max) NULL,
+ [RectificationSituation] [nvarchar](max) NULL,
+ [CheckProblemsRectification] [nvarchar](max) NULL,
+ [PendingProject] [nvarchar](max) NULL,
+ [ContractorManagement] [nvarchar](max) NULL,
+ [EnvironmentalEmissions] [nvarchar](max) NULL,
+ [NextMonthWorkPlan] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Infomation_SafetyBriefing] PRIMARY KEY CLUSTERED
+(
+ [SafetyBriefingId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_SafetyBriefing] WITH CHECK ADD CONSTRAINT [FK_Information_SafetyBriefing_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_SafetyBriefing] CHECK CONSTRAINT [FK_Information_SafetyBriefing_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[Information_SafetyBriefing] WITH CHECK ADD CONSTRAINT [FK_Information_SafetyBriefing_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[Information_SafetyBriefing] CHECK CONSTRAINT [FK_Information_SafetyBriefing_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'SafetyBriefingId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @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_SafetyBriefing', @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_SafetyBriefing', @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_SafetyBriefing', @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_SafetyBriefing', @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_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'Auditor'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'Approver'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'MainWork'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'شΣԴ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'HazardRecording'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'SafetyAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'EPAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ְҵ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'OHAccident'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵ֤ͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'WorkPermitNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ŲĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'HiddenDangerDetection'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'RectificationSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ż' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'CheckProblemsRectification'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ɵĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'PendingProject'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'а̹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'ContractorManagement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ŷ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'EnvironmentalEmissions'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'°ȫƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_SafetyBriefing', @level2type=N'COLUMN',@level2name=N'NextMonthWorkPlan'
+GO
+
+
+
+CREATE TABLE [dbo].[InformationProject_QuarterlyProjectQuality](
+ [QuarterlyProjectQualityId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarter] [int] NULL,
+ [QualityManagePersonNum] [int] NULL,
+ [AdvancedTitlePersonNum] [int] NULL,
+ [IntermediateTitlePersonNum] [int] NULL,
+ [BeImplementedProjectNum] [int] NULL,
+ [StartImplementedProjectNum] [int] NULL,
+ [AccumulativeStartImplemented] [int] NULL,
+ [CompleteProjectNum] [int] NULL,
+ [YearCompleteProjectNum] [int] NULL,
+ [QuarterTotal] [int] NULL,
+ [QuarterFirstPassNum] [int] NULL,
+ [QuarterFirstPassRate] [decimal](18, 2) NULL,
+ [YearTotal] [int] NULL,
+ [YearFirstPassNum] [int] NULL,
+ [YearFirstPassRate] [decimal](18, 2) NULL,
+ [QuaterCheckSuperviseNum] [int] NULL,
+ [QuaterCorrectiveNoticeNum] [int] NULL,
+ [QuaterQualityProblemNum] [int] NULL,
+ [QuaterClosedQualityProblemNum] [int] NULL,
+ [YearCheckSuperviseNum] [int] NULL,
+ [YearCorrectiveNoticeNum] [int] NULL,
+ [YearQualityProblemNum] [int] NULL,
+ [YearClosedQualityProblemNum] [int] NULL,
+ [QuaterQualityAccidentNum] [int] NULL,
+ [QuaterDirectEconomicLoss] [decimal](18, 2) NULL,
+ [YearQualityAccidentNum] [int] NULL,
+ [YearDirectEconomicLoss] [decimal](18, 2) NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [Tel] [nvarchar](50) NULL,
+ CONSTRAINT [PK_InformationProject_QuarterlyProjectQuality] PRIMARY KEY CLUSTERED
+(
+ [QuarterlyProjectQualityId] 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].[InformationProject_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Base_Project]
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Sys_User]
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Sys_User1] FOREIGN KEY([ResponsiblePerson])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_InformationProject_QuarterlyProjectQuality_Sys_User1]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterlyProjectQualityId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'ProjectId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @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'InformationProject_QuarterlyProjectQuality', @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'InformationProject_QuarterlyProjectQuality', @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'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QualityManagePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'оиְˣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'AdvancedTitlePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'омְˣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'IntermediateTitlePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'BeImplementedProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȿʼʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'StartImplementedProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼƿʼʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'AccumulativeStartImplemented'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ɣĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'CompleteProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɣĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCompleteProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterFirstPassNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterFirstPassRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼһκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearFirstPassNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼһκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearFirstPassRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȿչලΣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterCheckSuperviseNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȷ֪ͨݣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterCorrectiveNoticeNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'漰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѹر' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterClosedQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɿչලΣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCheckSuperviseNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɷ֪ͨݣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCorrectiveNoticeNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼ漰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼѹر' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearClosedQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterQualityAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--ֱӾʧԪ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterDirectEconomicLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearQualityAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--ֱӾʧԪ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearDirectEconomicLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality', @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'InformationProject_QuarterlyProjectQuality', @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'InformationProject_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'Tel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȹĿϢ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InformationProject_QuarterlyProjectQuality'
+GO
+
+--drop table Information_QuarterlyProjectQuality
+
+CREATE TABLE [dbo].[Information_QuarterlyProjectQuality](
+ [QuarterlyProjectQualityId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarter] [int] NULL,
+ [QualityManagePersonNum] [int] NULL,
+ [AdvancedTitlePersonNum] [int] NULL,
+ [IntermediateTitlePersonNum] [int] NULL,
+ [BeImplementedProjectNum] [int] NULL,
+ [StartImplementedProjectNum] [int] NULL,
+ [AccumulativeStartImplemented] [int] NULL,
+ [CompleteProjectNum] [int] NULL,
+ [YearCompleteProjectNum] [int] NULL,
+ [QuarterTotal] [int] NULL,
+ [QuarterFirstPassNum] [int] NULL,
+ [QuarterFirstPassRate] [decimal](18, 2) NULL,
+ [YearTotal] [int] NULL,
+ [YearFirstPassNum] [int] NULL,
+ [YearFirstPassRate] [decimal](18, 2) NULL,
+ [QuaterCheckSuperviseNum] [int] NULL,
+ [QuaterCorrectiveNoticeNum] [int] NULL,
+ [QuaterQualityProblemNum] [int] NULL,
+ [QuaterClosedQualityProblemNum] [int] NULL,
+ [YearCheckSuperviseNum] [int] NULL,
+ [YearCorrectiveNoticeNum] [int] NULL,
+ [YearQualityProblemNum] [int] NULL,
+ [YearClosedQualityProblemNum] [int] NULL,
+ [QuaterQualityAccidentNum] [int] NULL,
+ [QuaterDirectEconomicLoss] [decimal](18, 2) NULL,
+ [YearQualityAccidentNum] [int] NULL,
+ [YearDirectEconomicLoss] [decimal](18, 2) NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [Tel] [nvarchar](50) NULL,
+ [UpState] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Information_QuarterlyProjectQuality] PRIMARY KEY CLUSTERED
+(
+ [QuarterlyProjectQualityId] 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_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_Information_QuarterlyProjectQuality_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_Information_QuarterlyProjectQuality_Base_Unit]
+GO
+
+ALTER TABLE [dbo].[Information_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_Information_QuarterlyProjectQuality_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[Information_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_Information_QuarterlyProjectQuality_Sys_User]
+GO
+
+ALTER TABLE [dbo].[Information_QuarterlyProjectQuality] WITH CHECK ADD CONSTRAINT [FK_Information_QuarterlyProjectQuality_Sys_User1] FOREIGN KEY([ResponsiblePerson])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[Information_QuarterlyProjectQuality] CHECK CONSTRAINT [FK_Information_QuarterlyProjectQuality_Sys_User1]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterlyProjectQualityId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @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_QuarterlyProjectQuality', @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_QuarterlyProjectQuality', @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_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QualityManagePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'оиְˣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'AdvancedTitlePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'омְˣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'IntermediateTitlePersonNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'BeImplementedProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȿʼʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'StartImplementedProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼƿʼʵʩĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'AccumulativeStartImplemented'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ɣĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'CompleteProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɣĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCompleteProjectNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterFirstPassNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuarterFirstPassRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearTotal'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼһκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearFirstPassNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼһκϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearFirstPassRate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȿչලΣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterCheckSuperviseNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȷ֪ͨݣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterCorrectiveNoticeNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'漰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѹر' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterClosedQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɿչලΣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCheckSuperviseNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼɷ֪ͨݣ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearCorrectiveNoticeNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼ漰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ۼѹر' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearClosedQualityProblemNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterQualityAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--ֱӾʧԪ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'QuaterDirectEconomicLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearQualityAccidentNum'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ¹--ֱӾʧԪ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'YearDirectEconomicLoss'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality', @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_QuarterlyProjectQuality', @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_QuarterlyProjectQuality', @level2type=N'COLUMN',@level2name=N'Tel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȹĿϢ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QuarterlyProjectQuality'
+GO
+
+
+
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'GovernanceSituation'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafetyObjectives'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafeLaborTime'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ReportDate'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'YearId'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+
+GO
+
+ALTER TABLE [dbo].[Information_WorkSummaryReport] DROP CONSTRAINT [FK_Information_WorkSummaryReport_Base_Unit]
+GO
+
+/****** Object: Table [dbo].[Information_WorkSummaryReport] Script Date: 2023/3/25 22:34:19 ******/
+DROP TABLE [dbo].[Information_WorkSummaryReport]
+GO
+
+/****** Object: Table [dbo].[Information_WorkSummaryReport] Script Date: 2023/3/25 22:34:19 ******/
+SET ANSI_NULLS ON
+GO
+
+SET QUOTED_IDENTIFIER ON
+GO
+
+SET ANSI_PADDING ON
+GO
+
+CREATE TABLE [dbo].[Information_WorkSummaryReport](
+ [WorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [SafeLaborTime] [decimal](18, 2) NULL,
+ [SafetyObjectives] [nvarchar](max) NULL,
+ [AccidentSituation] [nvarchar](max) NULL,
+ [Awards] [nvarchar](max) NULL,
+ [WorkDevelopment] [nvarchar](max) NULL,
+ [PersonnelTraining] [nvarchar](max) NULL,
+ [GovernanceSituation] [nvarchar](max) NULL,
+ [ManagementActivity] [nvarchar](max) NULL,
+ [WorkExperience] [nvarchar](max) NULL,
+ [Countermeasures] [nvarchar](max) NULL,
+ [NextYearWorkPlan] [nvarchar](max) NULL,
+ [JobSuggestion] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Information_WorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [WorkSummaryReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_WorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_Information_WorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_WorkSummaryReport] CHECK CONSTRAINT [FK_Information_WorkSummaryReport_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_WorkSummaryReport', @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_WorkSummaryReport', @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_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @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_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafeLaborTime'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫĿ꼰Ӧݽܽᣩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'SafetyObjectives'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չȫල顢Ų' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'GovernanceSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ¡ְҵܵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫܽᱨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_WorkSummaryReport'
+GO
+
+
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'CheckSituation'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Performance'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ReportDate'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'YearId'
+
+GO
+
+EXEC sys.sp_dropextendedproperty @name=N'MS_Description' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'UnitId'
+
+GO
+
+ALTER TABLE [dbo].[Information_QualityWorkSummaryReport] DROP CONSTRAINT [FK_Information_QualityWorkSummaryReport_Base_Unit]
+GO
+
+/****** Object: Table [dbo].[Information_QualityWorkSummaryReport] Script Date: 2023/3/25 22:34:49 ******/
+DROP TABLE [dbo].[Information_QualityWorkSummaryReport]
+GO
+
+/****** Object: Table [dbo].[Information_QualityWorkSummaryReport] Script Date: 2023/3/25 22:34:49 ******/
+SET ANSI_NULLS ON
+GO
+
+SET QUOTED_IDENTIFIER ON
+GO
+
+SET ANSI_PADDING ON
+GO
+
+CREATE TABLE [dbo].[Information_QualityWorkSummaryReport](
+ [QualityWorkSummaryReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Performance] [nvarchar](max) NULL,
+ [AccidentSituation] [nvarchar](max) NULL,
+ [Awards] [nvarchar](max) NULL,
+ [WorkDevelopment] [nvarchar](max) NULL,
+ [PersonnelTraining] [nvarchar](max) NULL,
+ [CheckSituation] [nvarchar](max) NULL,
+ [ManagementActivity] [nvarchar](max) NULL,
+ [WorkExperience] [nvarchar](max) NULL,
+ [Countermeasures] [nvarchar](max) NULL,
+ [NextYearWorkPlan] [nvarchar](max) NULL,
+ [JobSuggestion] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Information_QualityWorkSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [QualityWorkSummaryReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_QualityWorkSummaryReport] WITH CHECK ADD CONSTRAINT [FK_Information_QualityWorkSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_QualityWorkSummaryReport] CHECK CONSTRAINT [FK_Information_QualityWorkSummaryReport_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_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ResponsiblePersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPerson'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ˵绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ContactPersonTel'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @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_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Performance'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'AccidentSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Awards'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'жص㹤չ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkDevelopment'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Աѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'PersonnelTraining'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֯չල' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'CheckSituation'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'µ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'ManagementActivity'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ鼰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'WorkExperience'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ҫ⼰ӦԴʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'Countermeasures'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'һȹƻ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'NextYearWorkPlan'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ԼŹ˾Ĺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport', @level2type=N'COLUMN',@level2name=N'JobSuggestion'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܽᱨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_QualityWorkSummaryReport'
+GO
+
+
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('FD572EFA-8E87-43D1-B514-25A39768106F','̬ܽᱨ','HSSE/InformationProject/EPSummaryReport.aspx',90,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('CB232557-CC35-459B-AFFE-F5F8F7C1D920','FD572EFA-8E87-43D1-B514-25A39768106F','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('E45E505D-B790-45DC-AFC3-81D1AE987B89','FD572EFA-8E87-43D1-B514-25A39768106F','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('9E6C0E2C-E432-41FF-B07C-D959440AEDC6','FD572EFA-8E87-43D1-B514-25A39768106F','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('23F57663-B49D-4FA8-BBBD-BB7155F661CE','FD572EFA-8E87-43D1-B514-25A39768106F','',4)
+ go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+values('5B344750-79DD-40AA-8AA7-34B04E41FA72','̬ܽᱨ','ZHGL/Information/EPSummaryReport.aspx',130,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+go
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('DEA42323-22EE-47EB-9C32-204674F359E8','5B344750-79DD-40AA-8AA7-34B04E41FA72','',1)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('E5E41ADA-782B-441D-A340-DE61A6812C10','5B344750-79DD-40AA-8AA7-34B04E41FA72','',2)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('D7CB0313-02BD-4457-99F2-F39DA70EC0B2','5B344750-79DD-40AA-8AA7-34B04E41FA72','ɾ',3)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('E04D28D4-04BB-457B-A05E-3A886B2E132C','5B344750-79DD-40AA-8AA7-34B04E41FA72','',4)
+ insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ values('F8DCA6D5-7B75-4903-96A1-39899DC32689','5B344750-79DD-40AA-8AA7-34B04E41FA72','沢ϱ',5)
+ go
+
+
+CREATE TABLE [dbo].[InformationProject_EPSummaryReport](
+ [EPSummaryReportId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Description1] [nvarchar](500) NULL,
+ [Description2] [nvarchar](500) NULL,
+ [Description3] [nvarchar](500) NULL,
+ [Description4] [nvarchar](500) NULL,
+ [Description5] [nvarchar](500) NULL,
+ [Description6] [nvarchar](500) NULL,
+ [Description7] [nvarchar](500) NULL,
+ [Description8] [nvarchar](500) NULL,
+ [Description9] [nvarchar](500) NULL,
+ CONSTRAINT [PK_InformationProject_EPSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [EPSummaryReportId] 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].[InformationProject_EPSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_EPSummaryReport_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_EPSummaryReport] CHECK CONSTRAINT [FK_InformationProject_EPSummaryReport_Base_Project]
+GO
+
+ALTER TABLE [dbo].[InformationProject_EPSummaryReport] WITH CHECK ADD CONSTRAINT [FK_InformationProject_EPSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[InformationProject_EPSummaryReport] CHECK CONSTRAINT [FK_InformationProject_EPSummaryReport_Base_Unit]
+GO
+
+
+CREATE TABLE [dbo].[Information_EPSummaryReport](
+ [EPSummaryReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [YearId] [int] NULL,
+ [ResponsiblePerson] [nvarchar](50) NULL,
+ [ResponsiblePersonTel] [nvarchar](50) NULL,
+ [ContactPerson] [nvarchar](50) NULL,
+ [ContactPersonTel] [nvarchar](50) NULL,
+ [ReportDate] [datetime] NULL,
+ [Description1] [nvarchar](max) NULL,
+ [Description2] [nvarchar](max) NULL,
+ [Description3] [nvarchar](max) NULL,
+ [Description4] [nvarchar](max) NULL,
+ [Description5] [nvarchar](max) NULL,
+ [Description6] [nvarchar](max) NULL,
+ [Description7] [nvarchar](max) NULL,
+ [Description8] [nvarchar](max) NULL,
+ [Description9] [nvarchar](max) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Information_EPSummaryReport] PRIMARY KEY CLUSTERED
+(
+ [EPSummaryReportId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
+
+GO
+
+SET ANSI_PADDING OFF
+GO
+
+ALTER TABLE [dbo].[Information_EPSummaryReport] WITH CHECK ADD CONSTRAINT [FK_Information_EPSummaryReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Information_EPSummaryReport] CHECK CONSTRAINT [FK_Information_EPSummaryReport_Base_Unit]
+GO
+
+
+
+
+
+ALTER TABLE dbo.Environmental_OperationReport ADD
+ UpState char(1) NULL
+GO
+DECLARE @v sql_variant
+SET @v = N'ϱ״̬'
+EXECUTE sp_addextendedproperty N'MS_Description', @v, N'SCHEMA', N'dbo', N'TABLE', N'Environmental_OperationReport', N'COLUMN', N'UpState'
+GO
+
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('30579BFE-AB4B-49A7-A73D-B7CE902A8B69','ҵܻҵҵͷҵ','ZHGL/Environmental/EnergyReport.aspx',90,'ERDXV53M-09B1-6UIO-3EFM-5DVZDF329001','Menu_ZHGL',1,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('B13C617B-C152-4B09-92C6-C14E3B7F9150','30579BFE-AB4B-49A7-A73D-B7CE902A8B69','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('35C3D2C5-F980-4160-A0B5-95733DE0D41E','30579BFE-AB4B-49A7-A73D-B7CE902A8B69','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('56F9E8D7-E218-48CC-A06A-93FD8B8C57AC','30579BFE-AB4B-49A7-A73D-B7CE902A8B69','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('2702BC5C-0D02-4C3F-8C75-57955AD0D170','30579BFE-AB4B-49A7-A73D-B7CE902A8B69','',4)
+ GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('9DE996D9-A2CF-40C8-86D3-6A472AB30E5D','ҵܻҵҵͷҵ','ZHGL/Environmental/ProjectEnergyReport.aspx',70,'C554E471-B740-4559-B543-E00F247289FD','Menu_HSSE',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('B7E38639-4E7A-47D3-A7F0-218921B80AD1','9DE996D9-A2CF-40C8-86D3-6A472AB30E5D','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('E443CE17-ACED-4C3A-9D42-A068E5EC3BFF','9DE996D9-A2CF-40C8-86D3-6A472AB30E5D','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('2B161A21-9CE8-4470-B772-715865E17AB3','9DE996D9-A2CF-40C8-86D3-6A472AB30E5D','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('8CA53BDE-A127-40C0-8D1E-28FAB9E8A0C6','9DE996D9-A2CF-40C8-86D3-6A472AB30E5D','',4)
+ GO
+
+/****** Object: Table [dbo].[Environmental_EnergyReport] Script Date: 2023/3/26 18:01:46 ******/
+SET ANSI_NULLS ON
+GO
+
+SET QUOTED_IDENTIFIER ON
+GO
+
+SET ANSI_PADDING ON
+GO
+
+CREATE TABLE [dbo].[Environmental_EnergyReport](
+ [EnergyReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarters] [int] NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [DutyPerson] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_EnergyReport] PRIMARY KEY CLUSTERED
+(
+ [EnergyReportId] 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].[Environmental_EnergyReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_EnergyReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Environmental_EnergyReport] CHECK CONSTRAINT [FK_Environmental_EnergyReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReport', @level2type=N'COLUMN',@level2name=N'EnergyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReport', @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'Environmental_EnergyReport', @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'Environmental_EnergyReport', @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'Environmental_EnergyReport', @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'Environmental_EnergyReport', @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'Environmental_EnergyReport', @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'Environmental_EnergyReport'
+GO
+
+
+/****** Object: Table [dbo].[Environmental_EnergyReportItem] Script Date: 2023/3/26 18:28:21 ******/
+GO
+CREATE TABLE [dbo].[Environmental_EnergyReportItem](
+ [EnergyReportItemId] [nvarchar](50) NOT NULL,
+ [EnergyReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [BusinessCategory] [nvarchar](50) NULL,
+ [Throughput_BasePeriod] [nvarchar](50) NULL,
+ [Throughput_LastPeriod] [nvarchar](50) NULL,
+ [Throughput_ThisPeriod] [nvarchar](50) NULL,
+ [Throughput_UnitOfMeasurement] [nvarchar](50) NULL,
+ [Yield_BasePeriod] [nvarchar](50) NULL,
+ [Yield_LastPeriod] [nvarchar](50) NULL,
+ [Yield_ThisPeriod] [nvarchar](50) NULL,
+ [Yield_UnitOfMeasurement] [nvarchar](50) NULL,
+ [OutputValue_BasePeriod] [nvarchar](50) NULL,
+ [OutputValue_LastYear] [nvarchar](50) NULL,
+ [OutputValue_ThisYear] [nvarchar](50) NULL,
+ [OperationScale_BasePeriod] [nvarchar](50) NULL,
+ [OperationScale_LastYear] [nvarchar](50) NULL,
+ [OperationScale_ThisYear] [nvarchar](50) NULL,
+ [OperationScale_UnitOfMeasurement] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_BasePeriod] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_LastYear] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_ThisYear] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_EnergyReportItem] PRIMARY KEY CLUSTERED
+(
+ [EnergyReportItemId] 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'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'BusinessCategory'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_LastPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_ThisPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_LastPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_ThisPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵܻҵҵͷҵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_EnergyReportItem'
+
+/****** Object: View [dbo].[View_Environmental_ChemicalReport] Script Date: 2023/3/26 18:33:36 ******/
+GO
+
+
+/*************ҵܻҵҵͷҵ**************/
+CREATE VIEW [dbo].[View_Environmental_EnergyReport]
+AS
+SELECT
+Report.EnergyReportId,
+Report.UnitId,
+Report.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0011.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0011.ConstText as QuartersStr,
+U.UnitName,
+Report.Year,
+Report.Quarters,
+Report.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_EnergyReport 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_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.[Quarters]
+
+GO
+
+
+
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template','ϼ','01')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1.ܲҵ','02')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1ܼװƷ','03')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ܹ¯/Ҥ¯','04')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Чϵͳ','05')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Ч','06')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 豸Ϳյ','07')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ҵװúDZ','08')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͼҵ','09')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ɫ','10')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 豸','11')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' װ/Ʒ','12')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2ܷ','13')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͬԴ','14')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','15')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2.ҵ','16')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1Ⱦ','17')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','18')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' CVOCs','19')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','20')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2ˮȾ','21')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','22')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ũˮ','23')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','24')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ҵˮ','25')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮۺ','26')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','27')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3̷ϴ','28')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','29')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͳﴦ','30')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Σշﴦ','31')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ദ','32')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','33')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 4̬','34')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','35')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ɽ','36')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','37')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','38')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 5','39')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͼ','40')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ѯ','41')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ʩ','42')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','43')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3.Դѭòҵ','44')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1ڹҵ̷','45')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2β','46')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3ƷͷϾɽ','47')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 4ֵ','48')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 5ũַ','49')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 6Ʒַ','50')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 7ˮԴۺ','51')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 8','52')
+ insert into Environmental_EnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 9 ','53')
+
+ CREATE TABLE [dbo].[Environmental_ProjectEnergyReport](
+ [EnergyReportId] [nvarchar](50) NOT NULL,
+ [UnitId] [nvarchar](50) NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [Year] [int] NULL,
+ [Quarters] [int] NULL,
+ [FillingMan] [nvarchar](50) NULL,
+ [FillingDate] [datetime] NULL,
+ [DutyPerson] [nvarchar](50) NULL,
+ [UpState] [char](1) NULL,
+ CONSTRAINT [PK_Environmental_ProjectEnergyReport] PRIMARY KEY CLUSTERED
+(
+ [EnergyReportId] 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].[Environmental_ProjectEnergyReport] WITH CHECK ADD CONSTRAINT [FK_Environmental_ProjectEnergyReport_Base_Unit] FOREIGN KEY([UnitId])
+REFERENCES [dbo].[Base_Unit] ([UnitId])
+GO
+
+ALTER TABLE [dbo].[Environmental_ProjectEnergyReport] CHECK CONSTRAINT [FK_Environmental_ProjectEnergyReport_Base_Unit]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReport', @level2type=N'COLUMN',@level2name=N'EnergyReportId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport', @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'Environmental_ProjectEnergyReport'
+GO
+
+
+/****** Object: Table [dbo].[Environmental_ProjectEnergyReportItem] Script Date: 2023/3/26 18:28:21 ******/
+GO
+CREATE TABLE [dbo].[Environmental_ProjectEnergyReportItem](
+ [EnergyReportItemId] [nvarchar](50) NOT NULL,
+ [EnergyReportId] [nvarchar](50) NULL,
+ [SortIndex] [nvarchar](50) NULL,
+ [BusinessCategory] [nvarchar](50) NULL,
+ [Throughput_BasePeriod] [nvarchar](50) NULL,
+ [Throughput_LastPeriod] [nvarchar](50) NULL,
+ [Throughput_ThisPeriod] [nvarchar](50) NULL,
+ [Throughput_UnitOfMeasurement] [nvarchar](50) NULL,
+ [Yield_BasePeriod] [nvarchar](50) NULL,
+ [Yield_LastPeriod] [nvarchar](50) NULL,
+ [Yield_ThisPeriod] [nvarchar](50) NULL,
+ [Yield_UnitOfMeasurement] [nvarchar](50) NULL,
+ [OutputValue_BasePeriod] [nvarchar](50) NULL,
+ [OutputValue_LastYear] [nvarchar](50) NULL,
+ [OutputValue_ThisYear] [nvarchar](50) NULL,
+ [OperationScale_BasePeriod] [nvarchar](50) NULL,
+ [OperationScale_LastYear] [nvarchar](50) NULL,
+ [OperationScale_ThisYear] [nvarchar](50) NULL,
+ [OperationScale_UnitOfMeasurement] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_BasePeriod] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_LastYear] [nvarchar](50) NULL,
+ [ServiceOperatingIncome_ThisYear] [nvarchar](50) NULL,
+ CONSTRAINT [PK_Environmental_ProjectEnergyReportItem] PRIMARY KEY CLUSTERED
+(
+ [EnergyReportItemId] 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'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'BusinessCategory'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_LastPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_ThisPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Throughput_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_LastPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_ThisPeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'Yield_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OutputValue_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫģ-λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'OperationScale_UnitOfMeasurement'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_BasePeriod'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_LastYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ӫҵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem', @level2type=N'COLUMN',@level2name=N'ServiceOperatingIncome_ThisYear'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ҵܻҵҵͷҵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Environmental_ProjectEnergyReportItem'
+
+/****** Object: View [dbo].[View_Environmental_ChemicalReport] Script Date: 2023/3/26 18:33:36 ******/
+GO
+
+
+/*************ҵܻҵҵͷҵ**************/
+CREATE VIEW [dbo].[View_Environmental_ProjectEnergyReport]
+AS
+SELECT
+Report.EnergyReportId,
+Report.ProjectId,
+Report.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0011.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0011.ConstText as QuartersStr,
+U.ProjectName,
+Report.Year,
+Report.Quarters,
+Report.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ProjectEnergyReport AS Report
+LEFT JOIN Base_Project AS U ON U.ProjectId=Report.ProjectId
+LEFT JOIN Sys_Const AS Group_0008 ON Group_0008.GroupId='0008' AND Group_0008.ConstValue =Report.[Year]
+LEFT JOIN Sys_Const AS Group_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.[Quarters]
+
+
+GO
+
+
+
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template','ϼ','01')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1.ܲҵ','02')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1ܼװƷ','03')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ܹ¯/Ҥ¯','04')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Чϵͳ','05')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Ч','06')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 豸Ϳյ','07')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ҵװúDZ','08')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͼҵ','09')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ɫ','10')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 豸','11')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' װ/Ʒ','12')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2ܷ','13')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͬԴ','14')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','15')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2.ҵ','16')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1Ⱦ','17')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','18')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' CVOCs','19')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','20')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2ˮȾ','21')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','22')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ũˮ','23')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','24')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ҵˮ','25')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮۺ','26')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','27')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3̷ϴ','28')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','29')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͳﴦ','30')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' Σշﴦ','31')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ദ','32')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','33')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 4̬','34')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','35')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ɽ','36')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ˮ','37')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','38')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 5','39')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ͼ','40')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ѯ','41')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ʩ','42')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' ','43')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3.Դѭòҵ','44')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 1ڹҵ̷','45')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 2β','46')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 3ƷͷϾɽ','47')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 4ֵ','48')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 5ũַ','49')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 6Ʒַ','50')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 7ˮԴۺ','51')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 8','52')
+ insert into Environmental_ProjectEnergyReportItem (EnergyReportItemId,EnergyReportId,BusinessCategory,SortIndex) values(NEWID(),'Template',' 9 ','53')
+ GO
+
+
+ update [Sys_Menu] set SortIndex=60 where [MenuId]='AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1'
+update [Sys_Menu] set SortIndex=70 where [MenuId]='07FEEC9D-09C1-4C19-9269-62F69532086C'
+update [Sys_Menu] set SortIndex=80 where [MenuId]='CF9C1F00-34B8-42E5-B2D1-704094169CA3'
+update [Sys_Menu] set SortIndex=90 where [MenuId]='12941594-2171-411A-8CC8-32E3BD9FCDDF'
+update [Sys_Menu] set SortIndex=100 where [MenuId]='5B344750-79DD-40AA-8AA7-34B04E41FA72'
+update [Sys_Menu] set SortIndex=110 where [MenuId]='7C47F078-D4C9-40D9-BEEF-E657EAFEC650'
+update [Sys_Menu] set SortIndex=120 where [MenuId]='ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14'
+update [Sys_Menu] set SortIndex=130 where [MenuId]='7652D239-1897-4886-8DF2-B71E3B060D21'
+update [Sys_Menu] set SortIndex=140 where [MenuId]='30579BFE-AB4B-49A7-A73D-B7CE902A8B69'
+GO
+
+update [Sys_Menu] set SortIndex=100 where [MenuId]='25CE6894-2840-4DC4-AD2E-D72292849CEE'
+update [Sys_Menu] set SortIndex=110 where [MenuId]='A44E98F6-E9FE-43F8-8349-C166263BF608'
+update [Sys_Menu] set SortIndex=180 where [MenuId]='9DE996D9-A2CF-40C8-86D3-6A472AB30E5D'
+update [Sys_Menu] set SortIndex=55 where [MenuId]='86F71934-7149-470E-BEAB-FFDC5BF3C0F2'
+GO
+
+EXEC sp_rename '[Environmental_ArchitectureReport].[Month]','Quarters'
+GO
+
+
+/*************ҵԴԼ̬ܱ**************/
+ALTER VIEW [dbo].[View_Environmental_ArchitectureReport]
+AS
+SELECT
+Report.ArchitectureReportId,
+Report.UnitId,
+Report.FillingDate,
+(ISNULL(Group_0008.ConstText,'-') + ISNULL(Group_0011.ConstText,'-')) AS ReportDate,
+Group_0008.ConstText as YearStr,
+Group_0011.ConstText as QuartersStr,
+U.UnitName,
+Report.Year,
+Report.Quarters,
+Report.UpState,
+Report.DutyPerson
+FROM dbo.Environmental_ArchitectureReport 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_0011 ON Group_0011.GroupId='0011' AND Group_0011.ConstValue =Report.[Quarters]
+
+
+
+
+
+
+GO
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index db8f62f1..9dbb9981 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -319,6 +319,8 @@
+
+
@@ -509,10 +511,12 @@
+
+
@@ -699,6 +703,7 @@
+
@@ -786,6 +791,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -796,10 +813,15 @@
+
+
+
+
+
diff --git a/SGGL/BLL/CQMS/ManageReport/ProjectQualityWorkSummaryReportService.cs b/SGGL/BLL/CQMS/ManageReport/ProjectQualityWorkSummaryReportService.cs
new file mode 100644
index 00000000..22b6c60c
--- /dev/null
+++ b/SGGL/BLL/CQMS/ManageReport/ProjectQualityWorkSummaryReportService.cs
@@ -0,0 +1,118 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 质量管理工作总结报告
+ ///
+ public static class ProjectQualityWorkSummaryReportService
+ {
+ ///
+ /// 根据主键获取质量管理工作总结报告
+ ///
+ ///
+ ///
+ public static Model.InformationProject_QualityWorkSummaryReport GetQualityWorkSummaryReportById(string qualityWorkSummaryReportId)
+ {
+ return Funs.DB.InformationProject_QualityWorkSummaryReport.FirstOrDefault(e => e.QualityWorkSummaryReportId == qualityWorkSummaryReportId);
+ }
+
+ ///
+ /// 质量管理工作总结报告
+ ///
+ /// 单位Id
+ /// 年度
+ /// 质量管理工作总结报告
+ public static Model.InformationProject_QualityWorkSummaryReport GetQualityWorkSummaryReportByUnitIdAndYear(string unitId, int year)
+ {
+ return Funs.DB.InformationProject_QualityWorkSummaryReport.FirstOrDefault(e => e.UnitId == unitId && e.YearId == year);
+ }
+
+ ///
+ /// 添加质量管理工作总结报告
+ ///
+ ///
+ public static void AddQualityWorkSummaryReport(Model.InformationProject_QualityWorkSummaryReport qualityWorkSummaryReport)
+ {
+ Model.InformationProject_QualityWorkSummaryReport newQualityWorkSummaryReport = new Model.InformationProject_QualityWorkSummaryReport
+ {
+ QualityWorkSummaryReportId = qualityWorkSummaryReport.QualityWorkSummaryReportId,
+ ProjectId = qualityWorkSummaryReport.ProjectId,
+ YearId = qualityWorkSummaryReport.YearId,
+ UnitId = qualityWorkSummaryReport.UnitId,
+ ResponsiblePerson = qualityWorkSummaryReport.ResponsiblePerson,
+ ResponsiblePersonTel = qualityWorkSummaryReport.ResponsiblePersonTel,
+ ContactPerson = qualityWorkSummaryReport.ContactPerson,
+ ContactPersonTel = qualityWorkSummaryReport.ContactPersonTel,
+ ReportDate = qualityWorkSummaryReport.ReportDate,
+ Performance = qualityWorkSummaryReport.Performance,
+ AccidentSituation = qualityWorkSummaryReport.AccidentSituation,
+ Awards = qualityWorkSummaryReport.Awards,
+ WorkDevelopment = qualityWorkSummaryReport.WorkDevelopment,
+ PersonnelTraining = qualityWorkSummaryReport.PersonnelTraining,
+ CheckSituation = qualityWorkSummaryReport.CheckSituation,
+ ManagementActivity = qualityWorkSummaryReport.ManagementActivity,
+ WorkExperience = qualityWorkSummaryReport.WorkExperience,
+ Countermeasures = qualityWorkSummaryReport.Countermeasures,
+ NextYearWorkPlan = qualityWorkSummaryReport.NextYearWorkPlan,
+ JobSuggestion = qualityWorkSummaryReport.JobSuggestion,
+ CompileMan = qualityWorkSummaryReport.CompileMan,
+ CompileDate = qualityWorkSummaryReport.CompileDate
+ };
+ Funs.DB.InformationProject_QualityWorkSummaryReport.InsertOnSubmit(newQualityWorkSummaryReport);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改质量管理工作总结报告
+ ///
+ ///
+ public static void UpdateQualityWorkSummaryReport(Model.InformationProject_QualityWorkSummaryReport qualityWorkSummaryReport)
+ {
+ Model.InformationProject_QualityWorkSummaryReport newQualityWorkSummaryReport = Funs.DB.InformationProject_QualityWorkSummaryReport.FirstOrDefault(e => e.QualityWorkSummaryReportId == qualityWorkSummaryReport.QualityWorkSummaryReportId);
+ if (newQualityWorkSummaryReport != null)
+ {
+ newQualityWorkSummaryReport.UnitId = qualityWorkSummaryReport.UnitId;
+ newQualityWorkSummaryReport.YearId = qualityWorkSummaryReport.YearId;
+ newQualityWorkSummaryReport.ResponsiblePerson = qualityWorkSummaryReport.ResponsiblePerson;
+ newQualityWorkSummaryReport.ResponsiblePersonTel = qualityWorkSummaryReport.ResponsiblePersonTel;
+ newQualityWorkSummaryReport.ContactPerson = qualityWorkSummaryReport.ContactPerson;
+ newQualityWorkSummaryReport.ContactPersonTel = qualityWorkSummaryReport.ContactPersonTel;
+ newQualityWorkSummaryReport.ReportDate = qualityWorkSummaryReport.ReportDate;
+ newQualityWorkSummaryReport.Performance = qualityWorkSummaryReport.Performance;
+ newQualityWorkSummaryReport.AccidentSituation = qualityWorkSummaryReport.AccidentSituation;
+ newQualityWorkSummaryReport.Awards = qualityWorkSummaryReport.Awards;
+ newQualityWorkSummaryReport.WorkDevelopment = qualityWorkSummaryReport.WorkDevelopment;
+ newQualityWorkSummaryReport.PersonnelTraining = qualityWorkSummaryReport.PersonnelTraining;
+ newQualityWorkSummaryReport.CheckSituation = qualityWorkSummaryReport.CheckSituation;
+ newQualityWorkSummaryReport.ManagementActivity = qualityWorkSummaryReport.ManagementActivity;
+ newQualityWorkSummaryReport.WorkExperience = qualityWorkSummaryReport.WorkExperience;
+ newQualityWorkSummaryReport.Countermeasures = qualityWorkSummaryReport.Countermeasures;
+ newQualityWorkSummaryReport.NextYearWorkPlan = qualityWorkSummaryReport.NextYearWorkPlan;
+ newQualityWorkSummaryReport.JobSuggestion = qualityWorkSummaryReport.JobSuggestion;
+ newQualityWorkSummaryReport.CompileMan = qualityWorkSummaryReport.CompileMan;
+ newQualityWorkSummaryReport.CompileDate = qualityWorkSummaryReport.CompileDate;
+
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除质量管理工作总结报告
+ ///
+ ///
+ public static void DeleteQualityWorkSummaryReportById(string QualityWorkSummaryReportId)
+ {
+ Model.InformationProject_QualityWorkSummaryReport qualityWorkSummaryReport = Funs.DB.InformationProject_QualityWorkSummaryReport.FirstOrDefault(e => e.QualityWorkSummaryReportId == QualityWorkSummaryReportId);
+ if (qualityWorkSummaryReport != null)
+ {
+ Funs.DB.InformationProject_QualityWorkSummaryReport.DeleteOnSubmit(qualityWorkSummaryReport);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/CQMS/ManageReport/ProjectQuarterlyProjectQualityService.cs b/SGGL/BLL/CQMS/ManageReport/ProjectQuarterlyProjectQualityService.cs
new file mode 100644
index 00000000..7983d795
--- /dev/null
+++ b/SGGL/BLL/CQMS/ManageReport/ProjectQuarterlyProjectQualityService.cs
@@ -0,0 +1,144 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ public static class ProjectQuarterlyProjectQualityService
+ {
+ ///
+ /// 根据主键获取季度工程项目质量信息表
+ ///
+ ///
+ ///
+ public static Model.InformationProject_QuarterlyProjectQuality GetQuarterlyProjectQualityById(string quarterlyProjectQualityId)
+ {
+ return Funs.DB.InformationProject_QuarterlyProjectQuality.FirstOrDefault(e => e.QuarterlyProjectQualityId == quarterlyProjectQualityId);
+ }
+
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ /// 单位Id
+ /// 年度
+ /// 季度工程项目质量信息表
+ public static Model.InformationProject_QuarterlyProjectQuality GetQuarterlyProjectQualityByUnitIdAndYearAndQuarter(string unitId, int year,int quarter)
+ {
+ return Funs.DB.InformationProject_QuarterlyProjectQuality.FirstOrDefault(e => e.UnitId == unitId && e.Year == year && e.Quarter == quarter);
+ }
+
+ ///
+ /// 添加季度工程项目质量信息表
+ ///
+ ///
+ public static void AddQuarterlyProjectQuality(Model.InformationProject_QuarterlyProjectQuality quarterlyProjectQuality)
+ {
+ Model.InformationProject_QuarterlyProjectQuality newQuarterlyProjectQuality = new Model.InformationProject_QuarterlyProjectQuality
+ {
+ QuarterlyProjectQualityId = quarterlyProjectQuality.QuarterlyProjectQualityId,
+ ProjectId = quarterlyProjectQuality.ProjectId,
+ UnitId = quarterlyProjectQuality.UnitId,
+ Year=quarterlyProjectQuality.Year,
+ Quarter = quarterlyProjectQuality.Quarter,
+ QualityManagePersonNum=quarterlyProjectQuality.QualityManagePersonNum,
+ AdvancedTitlePersonNum=quarterlyProjectQuality.AdvancedTitlePersonNum,
+ IntermediateTitlePersonNum=quarterlyProjectQuality.IntermediateTitlePersonNum,
+ BeImplementedProjectNum=quarterlyProjectQuality.BeImplementedProjectNum,
+ StartImplementedProjectNum=quarterlyProjectQuality.StartImplementedProjectNum,
+ AccumulativeStartImplemented=quarterlyProjectQuality.AccumulativeStartImplemented,
+ CompleteProjectNum=quarterlyProjectQuality.CompleteProjectNum,
+ YearCompleteProjectNum = quarterlyProjectQuality.YearCompleteProjectNum,
+ QuarterTotal= quarterlyProjectQuality.QuarterTotal,
+ QuarterFirstPassNum=quarterlyProjectQuality.QuarterFirstPassNum,
+ QuarterFirstPassRate=quarterlyProjectQuality.QuarterFirstPassRate,
+ YearTotal=quarterlyProjectQuality.YearTotal,
+ YearFirstPassNum=quarterlyProjectQuality.YearFirstPassNum,
+ YearFirstPassRate=quarterlyProjectQuality.YearFirstPassRate,
+ QuaterCheckSuperviseNum=quarterlyProjectQuality.QuaterCheckSuperviseNum,
+ QuaterCorrectiveNoticeNum=quarterlyProjectQuality.QuaterCorrectiveNoticeNum,
+ QuaterQualityProblemNum=quarterlyProjectQuality.QuaterQualityProblemNum,
+ QuaterClosedQualityProblemNum=quarterlyProjectQuality.QuaterClosedQualityProblemNum,
+ YearCheckSuperviseNum = quarterlyProjectQuality.YearCheckSuperviseNum,
+ YearCorrectiveNoticeNum=quarterlyProjectQuality.YearCorrectiveNoticeNum,
+ YearQualityProblemNum = quarterlyProjectQuality.YearQualityProblemNum,
+ YearClosedQualityProblemNum=quarterlyProjectQuality.YearClosedQualityProblemNum,
+ QuaterQualityAccidentNum = quarterlyProjectQuality.QuaterQualityAccidentNum,
+ QuaterDirectEconomicLoss = quarterlyProjectQuality.QuaterDirectEconomicLoss,
+ YearQualityAccidentNum = quarterlyProjectQuality.YearQualityAccidentNum,
+ YearDirectEconomicLoss=quarterlyProjectQuality.YearDirectEconomicLoss,
+ ResponsiblePerson=quarterlyProjectQuality.ResponsiblePerson,
+ CompileMan = quarterlyProjectQuality.CompileMan,
+ CompileDate = quarterlyProjectQuality.CompileDate,
+ Tel=quarterlyProjectQuality.Tel
+ };
+ Funs.DB.InformationProject_QuarterlyProjectQuality.InsertOnSubmit(newQuarterlyProjectQuality);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改季度工程项目质量信息表
+ ///
+ ///
+ public static void UpdateQuarterlyProjectQuality(Model.InformationProject_QuarterlyProjectQuality quarterlyProjectQuality)
+ {
+ Model.InformationProject_QuarterlyProjectQuality newQuarterlyProjectQuality = Funs.DB.InformationProject_QuarterlyProjectQuality.FirstOrDefault(e => e.QuarterlyProjectQualityId == quarterlyProjectQuality.QuarterlyProjectQualityId);
+ if (newQuarterlyProjectQuality != null)
+ {
+ newQuarterlyProjectQuality.UnitId = quarterlyProjectQuality.UnitId;
+ newQuarterlyProjectQuality.Year = quarterlyProjectQuality.Year;
+ newQuarterlyProjectQuality.Quarter = quarterlyProjectQuality.Quarter;
+ newQuarterlyProjectQuality.QualityManagePersonNum = quarterlyProjectQuality.QualityManagePersonNum;
+ newQuarterlyProjectQuality.AdvancedTitlePersonNum = quarterlyProjectQuality.AdvancedTitlePersonNum;
+ newQuarterlyProjectQuality.IntermediateTitlePersonNum = quarterlyProjectQuality.IntermediateTitlePersonNum;
+ newQuarterlyProjectQuality.BeImplementedProjectNum = quarterlyProjectQuality.BeImplementedProjectNum;
+ newQuarterlyProjectQuality.StartImplementedProjectNum = quarterlyProjectQuality.StartImplementedProjectNum;
+ newQuarterlyProjectQuality.AccumulativeStartImplemented = quarterlyProjectQuality.AccumulativeStartImplemented;
+ newQuarterlyProjectQuality.CompleteProjectNum = quarterlyProjectQuality.CompleteProjectNum;
+ newQuarterlyProjectQuality.YearCompleteProjectNum = quarterlyProjectQuality.YearCompleteProjectNum;
+ newQuarterlyProjectQuality.QuarterTotal = quarterlyProjectQuality.QuarterTotal;
+ newQuarterlyProjectQuality.QuarterFirstPassNum = quarterlyProjectQuality.QuarterFirstPassNum;
+ newQuarterlyProjectQuality.QuarterFirstPassRate = quarterlyProjectQuality.QuarterFirstPassRate;
+ newQuarterlyProjectQuality.YearTotal = quarterlyProjectQuality.YearTotal;
+ newQuarterlyProjectQuality.YearFirstPassNum = quarterlyProjectQuality.YearFirstPassNum;
+ newQuarterlyProjectQuality.YearFirstPassRate = quarterlyProjectQuality.YearFirstPassRate;
+ newQuarterlyProjectQuality.QuaterCheckSuperviseNum = quarterlyProjectQuality.QuaterCheckSuperviseNum;
+ newQuarterlyProjectQuality.QuaterCorrectiveNoticeNum = quarterlyProjectQuality.QuaterCorrectiveNoticeNum;
+ newQuarterlyProjectQuality.QuaterQualityProblemNum = quarterlyProjectQuality.QuaterQualityProblemNum;
+ newQuarterlyProjectQuality.QuaterClosedQualityProblemNum = quarterlyProjectQuality.QuaterClosedQualityProblemNum;
+ newQuarterlyProjectQuality.YearCheckSuperviseNum = quarterlyProjectQuality.YearCheckSuperviseNum;
+ newQuarterlyProjectQuality.YearCorrectiveNoticeNum = quarterlyProjectQuality.YearCorrectiveNoticeNum;
+ newQuarterlyProjectQuality.YearQualityProblemNum = quarterlyProjectQuality.YearQualityProblemNum;
+ newQuarterlyProjectQuality.YearClosedQualityProblemNum = quarterlyProjectQuality.YearClosedQualityProblemNum;
+ newQuarterlyProjectQuality.QuaterQualityAccidentNum = quarterlyProjectQuality.QuaterQualityAccidentNum;
+ newQuarterlyProjectQuality.QuaterDirectEconomicLoss = quarterlyProjectQuality.QuaterDirectEconomicLoss;
+ newQuarterlyProjectQuality.YearQualityAccidentNum = quarterlyProjectQuality.YearQualityAccidentNum;
+ newQuarterlyProjectQuality.YearDirectEconomicLoss = quarterlyProjectQuality.YearDirectEconomicLoss;
+ newQuarterlyProjectQuality.ResponsiblePerson = quarterlyProjectQuality.ResponsiblePerson;
+ newQuarterlyProjectQuality.CompileMan = quarterlyProjectQuality.CompileMan;
+ newQuarterlyProjectQuality.CompileDate = quarterlyProjectQuality.CompileDate;
+ newQuarterlyProjectQuality.Tel = quarterlyProjectQuality.Tel;
+
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除季度工程项目质量信息表
+ ///
+ ///
+ public static void DeleteQuarterlyProjectQualityById(string QuarterlyProjectQualityId)
+ {
+ Model.InformationProject_QuarterlyProjectQuality quarterlyProjectQuality = Funs.DB.InformationProject_QuarterlyProjectQuality.FirstOrDefault(e => e.QuarterlyProjectQualityId == QuarterlyProjectQualityId);
+ if (quarterlyProjectQuality != null)
+ {
+ Funs.DB.InformationProject_QuarterlyProjectQuality.DeleteOnSubmit(quarterlyProjectQuality);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index af45da18..c0847a3d 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3253,6 +3253,115 @@ namespace BLL
/// 同步记录
///
public const string RealNameSynchroRecordMenuId = "F36E6C54-E39F-4032-874D-548EE090A35B";
+ ///
+ /// 安全管理工作总结报告
+ ///
+ public const string ReportType_6 = "11";
+
+ ///
+ /// 质量管理工作总结报告
+ ///
+ public const string ReportType_7 = "12";
+
+ ///
+ /// 实业安全简报
+ ///
+ public const string ReportType_8 = "13";
+
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ public const string ReportType_9 = "14";
+
+ ///
+ /// 生态环保工作总结报告
+ ///
+ public const string ReportType_10 = "15";
+
+
+ ///
+ /// 化工行业能源节约与生态环境保护汇总表
+ ///
+ public const string ChemicalReportMenuId = "ECDD89AC-1E16-4D82-B3BE-5D62F31B7A14";
+
+ ///
+ /// 建筑行业能源节约与生态环境保护汇总表
+ ///
+ public const string ArchitectureReportMenuId = "7C47F078-D4C9-40D9-BEEF-E657EAFEC650";
+
+ public const string ProjectOperationReportMenuId = "EFA6E45F-1267-4804-BEE7-41E0C5461204";
+ public const string OperationReportMenuId = "7652D239-1897-4886-8DF2-B71E3B060D21";
+
+ ///
+ /// 节能环保产业企业生产和服务业务情况报表
+ ///
+ public const string EnergyReportMenuId = "30579BFE-AB4B-49A7-A73D-B7CE902A8B69";
+
+ ///
+ /// 安全管理工作总结报告
+ ///
+ public const string WorkSummaryReportMenuId = "07FEEC9D-09C1-4C19-9269-62F69532086C";
+
+ ///
+ /// 质量管理工作总结报告
+ ///
+ public const string QualityWorkSummaryReportMenuId = "12941594-2171-411A-8CC8-32E3BD9FCDDF";
+
+ ///
+ /// 实业安全简报
+ ///
+ public const string SafetyBriefingMenuId = "AAC7C263-6E25-49DC-985B-DC3FA7AAF3A1";
+
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ public const string QuarterlyProjectQualityMenuId = "CF9C1F00-34B8-42E5-B2D1-704094169CA3";
+
+ ///
+ /// 生态环保工作总结报告
+ ///
+ public const string EPSummaryReportMenuId = "5B344750-79DD-40AA-8AA7-34B04E41FA72";
+
+
+ ///
+ /// 安全管理工作总结报告
+ ///
+ public const string ProjectWorkSummaryReportMenuId = "FB174DD6-CBAE-43AF-9356-B098A17B719D";
+
+ ///
+ /// 质量管理工作总结报告
+ ///
+ public const string ProjectQualitySummaryReportMenuId = "1443C901-A9C3-4CCC-B858-55512DE8C5CA";
+
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ public const string ProjectQuarterlyProjectQualityMenuId = "267064F1-88F7-4468-998A-49A1A2F25BB8";
+
+ ///
+ /// 实业安全简报
+ ///
+ public const string ProjectSafetyBriefingMenuId = "86F71934-7149-470E-BEAB-FFDC5BF3C0F2";
+
+ /// 化工行业能源节约与生态环境保护汇总表
+ ///
+ public const string ProjectChemicalReportMenuId = "A44E98F6-E9FE-43F8-8349-C166263BF608";
+
+ ///
+ /// 建筑行业能源节约与生态环境保护汇总表
+ ///
+ public const string ProjectArchitectureReportMenuId = "25CE6894-2840-4DC4-AD2E-D72292849CEE";
+
+ ///
+ /// 生态环保工作总结报告
+ ///
+ public const string ProjectEPSummaryReportMenuId = "FD572EFA-8E87-43D1-B514-25A39768106F";
+
+ ///
+ /// 节能环保产业企业生产和服务业务情况报表(项目级)
+ ///
+ public const string ProjectEnergyReportMenuId = "9DE996D9-A2CF-40C8-86D3-6A472AB30E5D";
+
#endregion
#region 劳务实名制
diff --git a/SGGL/BLL/HSSE/InformationProject/ProjectEPSummaryReportService.cs b/SGGL/BLL/HSSE/InformationProject/ProjectEPSummaryReportService.cs
new file mode 100644
index 00000000..54b63751
--- /dev/null
+++ b/SGGL/BLL/HSSE/InformationProject/ProjectEPSummaryReportService.cs
@@ -0,0 +1,98 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 生态环保工作总结报告
+ ///
+ public static class ProjectEPSummaryReportService
+ {
+ ///
+ /// 根据主键获取生态环保工作总结报告
+ ///
+ ///
+ ///
+ public static Model.InformationProject_EPSummaryReport GetEPSummaryReportById(string ePSummaryReportId)
+ {
+ return Funs.DB.InformationProject_EPSummaryReport.FirstOrDefault(e => e.EPSummaryReportId == ePSummaryReportId);
+ }
+
+ ///
+ /// 添加生态环保工作总结报告
+ ///
+ ///
+ public static void AddEPSummaryReport(Model.InformationProject_EPSummaryReport ePSummaryReport)
+ {
+ Model.InformationProject_EPSummaryReport newReport = new Model.InformationProject_EPSummaryReport
+ {
+ EPSummaryReportId = ePSummaryReport.EPSummaryReportId,
+ ProjectId = ePSummaryReport.ProjectId,
+ UnitId = ePSummaryReport.UnitId,
+ YearId = ePSummaryReport.YearId,
+ ResponsiblePerson = ePSummaryReport.ResponsiblePerson,
+ ResponsiblePersonTel = ePSummaryReport.ResponsiblePersonTel,
+ ContactPerson = ePSummaryReport.ContactPerson,
+ ContactPersonTel = ePSummaryReport.ContactPersonTel,
+ ReportDate = ePSummaryReport.ReportDate,
+ Description1 = ePSummaryReport.Description1,
+ Description2 = ePSummaryReport.Description2,
+ Description3 = ePSummaryReport.Description3,
+ Description4 = ePSummaryReport.Description4,
+ Description5 = ePSummaryReport.Description5,
+ Description6 = ePSummaryReport.Description6,
+ Description7 = ePSummaryReport.Description7,
+ Description8 = ePSummaryReport.Description8,
+ Description9 = ePSummaryReport.Description9
+ };
+ Funs.DB.InformationProject_EPSummaryReport.InsertOnSubmit(newReport);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改生态环保工作总结报告
+ ///
+ ///
+ public static void UpdateEPSummaryReport(Model.InformationProject_EPSummaryReport ePSummaryReport)
+ {
+ Model.InformationProject_EPSummaryReport newReport = Funs.DB.InformationProject_EPSummaryReport.FirstOrDefault(e => e.EPSummaryReportId == ePSummaryReport.EPSummaryReportId);
+ if (newReport != null)
+ {
+ newReport.UnitId = ePSummaryReport.UnitId;
+ newReport.YearId = ePSummaryReport.YearId;
+ newReport.ResponsiblePerson = ePSummaryReport.ResponsiblePerson;
+ newReport.ResponsiblePersonTel = ePSummaryReport.ResponsiblePersonTel;
+ newReport.ContactPerson = ePSummaryReport.ContactPerson;
+ newReport.ContactPersonTel = ePSummaryReport.ContactPersonTel;
+ newReport.ReportDate = ePSummaryReport.ReportDate;
+ newReport.Description1 = ePSummaryReport.Description1;
+ newReport.Description2 = ePSummaryReport.Description2;
+ newReport.Description3 = ePSummaryReport.Description3;
+ newReport.Description4 = ePSummaryReport.Description4;
+ newReport.Description5 = ePSummaryReport.Description5;
+ newReport.Description6 = ePSummaryReport.Description6;
+ newReport.Description7 = ePSummaryReport.Description7;
+ newReport.Description8 = ePSummaryReport.Description8;
+ newReport.Description9 = ePSummaryReport.Description9;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除生态环保工作总结报告
+ ///
+ ///
+ public static void DeleteEPSummaryReportById(string ePSummaryReportId)
+ {
+ Model.InformationProject_EPSummaryReport ePSummaryReport = Funs.DB.InformationProject_EPSummaryReport.FirstOrDefault(e => e.EPSummaryReportId == ePSummaryReportId);
+ if (ePSummaryReport != null)
+ {
+ Funs.DB.InformationProject_EPSummaryReport.DeleteOnSubmit(ePSummaryReport);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/HSSE/InformationProject/ProjectMillionsMonthlyReportService.cs b/SGGL/BLL/HSSE/InformationProject/ProjectMillionsMonthlyReportService.cs
index f6aac3c5..71110758 100644
--- a/SGGL/BLL/HSSE/InformationProject/ProjectMillionsMonthlyReportService.cs
+++ b/SGGL/BLL/HSSE/InformationProject/ProjectMillionsMonthlyReportService.cs
@@ -6,14 +6,14 @@ using System.Text;
namespace BLL
{
///
- /// 百万工时安全统计月报
+ /// 企业安全数据统计月报
///
public static class ProjectMillionsMonthlyReportService
{
public static Model.SGGLDB db = Funs.DB;
///
- /// 根据主键获取百万工时安全统计月报
+ /// 根据主键获取企业安全数据统计月报
///
///
///
@@ -23,7 +23,7 @@ namespace BLL
}
///
- /// 添加百万工时安全统计月报
+ /// 添加企业安全数据统计月报
///
///
public static void AddMillionsMonthlyReport(Model.InformationProject_MillionsMonthlyReport millionsMonthlyReport)
@@ -45,6 +45,9 @@ namespace BLL
ContractorNum = millionsMonthlyReport.ContractorNum,
SumPersonNum = millionsMonthlyReport.SumPersonNum,
TotalWorkNum = millionsMonthlyReport.TotalWorkNum,
+ DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum,
+ DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum,
+ DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour,
SeriousInjuriesNum = millionsMonthlyReport.SeriousInjuriesNum,
SeriousInjuriesPersonNum = millionsMonthlyReport.SeriousInjuriesPersonNum,
SeriousInjuriesLossHour = millionsMonthlyReport.SeriousInjuriesLossHour,
@@ -60,20 +63,37 @@ namespace BLL
MedicalTreatmentLossHour = millionsMonthlyReport.MedicalTreatmentLossHour,
FireNum = millionsMonthlyReport.FireNum,
ExplosionNum = millionsMonthlyReport.ExplosionNum,
+ EnvironmenNum = millionsMonthlyReport.EnvironmenNum,
TrafficNum = millionsMonthlyReport.TrafficNum,
EquipmentNum = millionsMonthlyReport.EquipmentNum,
QualityNum = millionsMonthlyReport.QualityNum,
OtherNum = millionsMonthlyReport.OtherNum,
FirstAidDressingsNum = millionsMonthlyReport.FirstAidDressingsNum,
AttemptedEventNum = millionsMonthlyReport.AttemptedEventNum,
- LossDayNum = millionsMonthlyReport.LossDayNum
+ LossDayNum = millionsMonthlyReport.LossDayNum,
+ InputCosts = millionsMonthlyReport.InputCosts,
+ TrainNum = millionsMonthlyReport.TrainNum,
+ GeneralHazardNum = millionsMonthlyReport.GeneralHazardNum,
+ MajorHazardNum = millionsMonthlyReport.MajorHazardNum,
+ NotProofLargeProjectNum = millionsMonthlyReport.NotProofLargeProjectNum,
+ ProofLargeProjectNum = millionsMonthlyReport.ProofLargeProjectNum,
+ FireLicenseNum = millionsMonthlyReport.FireLicenseNum,
+ LimitLicenseNum = millionsMonthlyReport.LimitLicenseNum,
+ HighLicenseNum = millionsMonthlyReport.HighLicenseNum,
+ HoistingLicenseNum = millionsMonthlyReport.HoistingLicenseNum,
+ BreakGroundLicenseNum = millionsMonthlyReport.BreakGroundLicenseNum,
+ ElectricityLicenseNum = millionsMonthlyReport.ElectricityLicenseNum,
+ RTLicenseNum = millionsMonthlyReport.RTLicenseNum,
+ NightLicenseNum = millionsMonthlyReport.NightLicenseNum,
+ CommissionerNum = millionsMonthlyReport.CommissionerNum,
+ SoleDutyNum = millionsMonthlyReport.SoleDutyNum,
};
db.InformationProject_MillionsMonthlyReport.InsertOnSubmit(newMillionsMonthlyReport);
db.SubmitChanges();
}
///
- /// 修改百万工时安全统计月报
+ /// 修改企业安全数据统计月报
///
///
public static void UpdateMillionsMonthlyReport(Model.InformationProject_MillionsMonthlyReport millionsMonthlyReport)
@@ -95,6 +115,9 @@ namespace BLL
newMillionsMonthlyReport.ContractorNum = millionsMonthlyReport.ContractorNum;
newMillionsMonthlyReport.SumPersonNum = millionsMonthlyReport.SumPersonNum;
newMillionsMonthlyReport.TotalWorkNum = millionsMonthlyReport.TotalWorkNum;
+ newMillionsMonthlyReport.DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum;
+ newMillionsMonthlyReport.DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum;
+ newMillionsMonthlyReport.DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour;
newMillionsMonthlyReport.SeriousInjuriesNum = millionsMonthlyReport.SeriousInjuriesNum;
newMillionsMonthlyReport.SeriousInjuriesPersonNum = millionsMonthlyReport.SeriousInjuriesPersonNum;
newMillionsMonthlyReport.SeriousInjuriesLossHour = millionsMonthlyReport.SeriousInjuriesLossHour;
@@ -110,6 +133,7 @@ namespace BLL
newMillionsMonthlyReport.MedicalTreatmentLossHour = millionsMonthlyReport.MedicalTreatmentLossHour;
newMillionsMonthlyReport.FireNum = millionsMonthlyReport.FireNum;
newMillionsMonthlyReport.ExplosionNum = millionsMonthlyReport.ExplosionNum;
+ newMillionsMonthlyReport.EnvironmenNum = millionsMonthlyReport.EnvironmenNum;
newMillionsMonthlyReport.TrafficNum = millionsMonthlyReport.TrafficNum;
newMillionsMonthlyReport.EquipmentNum = millionsMonthlyReport.EquipmentNum;
newMillionsMonthlyReport.QualityNum = millionsMonthlyReport.QualityNum;
@@ -117,12 +141,29 @@ namespace BLL
newMillionsMonthlyReport.FirstAidDressingsNum = millionsMonthlyReport.FirstAidDressingsNum;
newMillionsMonthlyReport.AttemptedEventNum = millionsMonthlyReport.AttemptedEventNum;
newMillionsMonthlyReport.LossDayNum = millionsMonthlyReport.LossDayNum;
+ newMillionsMonthlyReport.InputCosts = millionsMonthlyReport.InputCosts;
+ newMillionsMonthlyReport.TrainNum = millionsMonthlyReport.TrainNum;
+ newMillionsMonthlyReport.GeneralHazardNum = millionsMonthlyReport.GeneralHazardNum;
+ newMillionsMonthlyReport.MajorHazardNum = millionsMonthlyReport.MajorHazardNum;
+ newMillionsMonthlyReport.NotProofLargeProjectNum = millionsMonthlyReport.NotProofLargeProjectNum;
+ newMillionsMonthlyReport.ProofLargeProjectNum = millionsMonthlyReport.ProofLargeProjectNum;
+ newMillionsMonthlyReport.FireLicenseNum = millionsMonthlyReport.FireLicenseNum;
+ newMillionsMonthlyReport.LimitLicenseNum = millionsMonthlyReport.LimitLicenseNum;
+ newMillionsMonthlyReport.HighLicenseNum = millionsMonthlyReport.HighLicenseNum;
+ newMillionsMonthlyReport.HoistingLicenseNum = millionsMonthlyReport.HoistingLicenseNum;
+ newMillionsMonthlyReport.BreakGroundLicenseNum = millionsMonthlyReport.BreakGroundLicenseNum;
+ newMillionsMonthlyReport.ElectricityLicenseNum = millionsMonthlyReport.ElectricityLicenseNum;
+ newMillionsMonthlyReport.RTLicenseNum = millionsMonthlyReport.RTLicenseNum;
+ newMillionsMonthlyReport.NightLicenseNum = millionsMonthlyReport.NightLicenseNum;
+ newMillionsMonthlyReport.CommissionerNum = millionsMonthlyReport.CommissionerNum;
+ newMillionsMonthlyReport.SoleDutyNum = millionsMonthlyReport.SoleDutyNum;
+
db.SubmitChanges();
}
}
///
- /// 根据主键删除百万工时安全统计月报
+ /// 根据主键删除企业安全数据统计月报
///
///
public static void DeleteMillionsMonthlyReportById(string millionsMonthlyReportId)
diff --git a/SGGL/BLL/HSSE/InformationProject/ProjectWorkSummaryReportService.cs b/SGGL/BLL/HSSE/InformationProject/ProjectWorkSummaryReportService.cs
new file mode 100644
index 00000000..694e8156
--- /dev/null
+++ b/SGGL/BLL/HSSE/InformationProject/ProjectWorkSummaryReportService.cs
@@ -0,0 +1,109 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 安全管理工作总结报告
+ ///
+ public static class ProjectWorkSummaryReportService
+ {
+ ///
+ /// 根据主键获取安全管理工作总结报告
+ ///
+ ///
+ ///
+ public static Model.InformationProject_WorkSummaryReport GetWorkSummaryReportById(string workSummaryReportId)
+ {
+ return Funs.DB.InformationProject_WorkSummaryReport.FirstOrDefault(e => e.WorkSummaryReportId == workSummaryReportId);
+ }
+
+ ///
+ /// 添加安全管理工作总结报告
+ ///
+ ///
+ public static void AddWorkSummaryReport(Model.InformationProject_WorkSummaryReport workSummaryReport)
+ {
+ Model.InformationProject_WorkSummaryReport newWorkSummaryReport = new Model.InformationProject_WorkSummaryReport
+ {
+ WorkSummaryReportId = workSummaryReport.WorkSummaryReportId,
+ ProjectId=workSummaryReport.ProjectId,
+ YearId = workSummaryReport.YearId,
+ UnitId = workSummaryReport.UnitId,
+ ResponsiblePerson = workSummaryReport.ResponsiblePerson,
+ ResponsiblePersonTel = workSummaryReport.ResponsiblePersonTel,
+ ContactPerson = workSummaryReport.ContactPerson,
+ ContactPersonTel = workSummaryReport.ContactPersonTel,
+ ReportDate = workSummaryReport.ReportDate,
+ SafeLaborTime = workSummaryReport.SafeLaborTime,
+ SafetyObjectives = workSummaryReport.SafetyObjectives,
+ AccidentSituation = workSummaryReport.AccidentSituation,
+ Awards = workSummaryReport.Awards,
+ WorkDevelopment = workSummaryReport.WorkDevelopment,
+ PersonnelTraining = workSummaryReport.PersonnelTraining,
+ GovernanceSituation = workSummaryReport.GovernanceSituation,
+ ManagementActivity = workSummaryReport.ManagementActivity,
+ WorkExperience = workSummaryReport.WorkExperience,
+ Countermeasures = workSummaryReport.Countermeasures,
+ NextYearWorkPlan = workSummaryReport.NextYearWorkPlan,
+ JobSuggestion = workSummaryReport.JobSuggestion,
+ CompileMan=workSummaryReport.CompileMan,
+ CompileDate=workSummaryReport.CompileDate
+ };
+ Funs.DB.InformationProject_WorkSummaryReport.InsertOnSubmit(newWorkSummaryReport);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改安全管理工作总结报告
+ ///
+ ///
+ public static void UpdateWorkSummaryReport(Model.InformationProject_WorkSummaryReport workSummaryReport)
+ {
+ Model.InformationProject_WorkSummaryReport newWorkSummaryReport = Funs.DB.InformationProject_WorkSummaryReport.FirstOrDefault(e => e.WorkSummaryReportId == workSummaryReport.WorkSummaryReportId);
+ if (newWorkSummaryReport != null)
+ {
+ newWorkSummaryReport.UnitId = workSummaryReport.UnitId;
+ newWorkSummaryReport.YearId = workSummaryReport.YearId;
+ newWorkSummaryReport.ResponsiblePerson = workSummaryReport.ResponsiblePerson;
+ newWorkSummaryReport.ResponsiblePersonTel = workSummaryReport.ResponsiblePersonTel;
+ newWorkSummaryReport.ContactPerson = workSummaryReport.ContactPerson;
+ newWorkSummaryReport.ContactPersonTel = workSummaryReport.ContactPersonTel;
+ newWorkSummaryReport.ReportDate = workSummaryReport.ReportDate;
+ newWorkSummaryReport.SafeLaborTime = workSummaryReport.SafeLaborTime;
+ newWorkSummaryReport.SafetyObjectives = workSummaryReport.SafetyObjectives;
+ newWorkSummaryReport.AccidentSituation = workSummaryReport.AccidentSituation;
+ newWorkSummaryReport.Awards = workSummaryReport.Awards;
+ newWorkSummaryReport.WorkDevelopment = workSummaryReport.WorkDevelopment;
+ newWorkSummaryReport.PersonnelTraining = workSummaryReport.PersonnelTraining;
+ newWorkSummaryReport.GovernanceSituation = workSummaryReport.GovernanceSituation;
+ newWorkSummaryReport.ManagementActivity = workSummaryReport.ManagementActivity;
+ newWorkSummaryReport.WorkExperience = workSummaryReport.WorkExperience;
+ newWorkSummaryReport.Countermeasures = workSummaryReport.Countermeasures;
+ newWorkSummaryReport.NextYearWorkPlan = workSummaryReport.NextYearWorkPlan;
+ newWorkSummaryReport.JobSuggestion = workSummaryReport.JobSuggestion;
+ newWorkSummaryReport.CompileMan = workSummaryReport.CompileMan;
+ newWorkSummaryReport.CompileDate = workSummaryReport.CompileDate;
+
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除安全管理工作总结报告
+ ///
+ ///
+ public static void DeleteWorkSummaryReportById(string workSummaryReportId)
+ {
+ Model.InformationProject_WorkSummaryReport workSummaryReport = Funs.DB.InformationProject_WorkSummaryReport.FirstOrDefault(e => e.WorkSummaryReportId == workSummaryReportId);
+ if (workSummaryReport != null)
+ {
+ Funs.DB.InformationProject_WorkSummaryReport.DeleteOnSubmit(workSummaryReport);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/SHIYE/InformationProject_SafetyBriefingService.cs b/SGGL/BLL/SHIYE/InformationProject_SafetyBriefingService.cs
new file mode 100644
index 00000000..931e9d00
--- /dev/null
+++ b/SGGL/BLL/SHIYE/InformationProject_SafetyBriefingService.cs
@@ -0,0 +1,107 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 实业安全简报
+ ///
+ public static class InformationProject_SafetyBriefingService
+ {
+
+ ///
+ /// 根据主键获取实业安全简报
+ ///
+ ///
+ ///
+ public static Model.InformationProject_SafetyBriefing GetSafetyBriefingById(string safetyBriefingId)
+ {
+ return Funs.DB.InformationProject_SafetyBriefing.FirstOrDefault(e => e.SafetyBriefingId == safetyBriefingId);
+ }
+
+ ///
+ /// 添加实业安全简报
+ ///
+ ///
+ public static void AddSafetyBriefing(Model.InformationProject_SafetyBriefing safetyBriefing)
+ {
+ Model.InformationProject_SafetyBriefing newSafetyBriefing = new Model.InformationProject_SafetyBriefing
+ {
+ SafetyBriefingId = safetyBriefing.SafetyBriefingId,
+ ProjectId = safetyBriefing.ProjectId,
+ UnitId = safetyBriefing.UnitId,
+ YearId = safetyBriefing.YearId,
+ Month = safetyBriefing.Month,
+ CompileMan = safetyBriefing.CompileMan,
+ CompileDate = safetyBriefing.CompileDate,
+ Auditor = safetyBriefing.Auditor,
+ Approver = safetyBriefing.Approver,
+ MainWork = safetyBriefing.MainWork,
+ HazardRecording = safetyBriefing.HazardRecording,
+ SafetyAccident = safetyBriefing.SafetyAccident,
+ EPAccident = safetyBriefing.EPAccident,
+ OHAccident = safetyBriefing.OHAccident,
+ WorkPermitNum = safetyBriefing.WorkPermitNum,
+ HiddenDangerDetection = safetyBriefing.HiddenDangerDetection,
+ RectificationSituation = safetyBriefing.RectificationSituation,
+ CheckProblemsRectification = safetyBriefing.CheckProblemsRectification,
+ PendingProject = safetyBriefing.PendingProject,
+ ContractorManagement = safetyBriefing.ContractorManagement,
+ EnvironmentalEmissions = safetyBriefing.EnvironmentalEmissions,
+ NextMonthWorkPlan = safetyBriefing.NextMonthWorkPlan
+ };
+ Funs.DB.InformationProject_SafetyBriefing.InsertOnSubmit(newSafetyBriefing);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改实业安全简报
+ ///
+ ///
+ public static void UpdateSafetyBriefing(Model.InformationProject_SafetyBriefing safetyBriefing)
+ {
+ Model.InformationProject_SafetyBriefing newSafetyBriefing = Funs.DB.InformationProject_SafetyBriefing.FirstOrDefault(e => e.SafetyBriefingId == safetyBriefing.SafetyBriefingId);
+ if (newSafetyBriefing != null)
+ {
+ newSafetyBriefing.UnitId = safetyBriefing.UnitId;
+ newSafetyBriefing.YearId = safetyBriefing.YearId;
+ newSafetyBriefing.Month = safetyBriefing.Month;
+ newSafetyBriefing.CompileMan = safetyBriefing.CompileMan;
+ newSafetyBriefing.CompileDate = safetyBriefing.CompileDate;
+ newSafetyBriefing.Auditor = safetyBriefing.Auditor;
+ newSafetyBriefing.Approver = safetyBriefing.Approver;
+ newSafetyBriefing.MainWork = safetyBriefing.MainWork;
+ newSafetyBriefing.HazardRecording = safetyBriefing.HazardRecording;
+ newSafetyBriefing.SafetyAccident = safetyBriefing.SafetyAccident;
+ newSafetyBriefing.EPAccident = safetyBriefing.EPAccident;
+ newSafetyBriefing.OHAccident = safetyBriefing.OHAccident;
+ newSafetyBriefing.WorkPermitNum = safetyBriefing.WorkPermitNum;
+ newSafetyBriefing.HiddenDangerDetection = safetyBriefing.HiddenDangerDetection;
+ newSafetyBriefing.RectificationSituation = safetyBriefing.RectificationSituation;
+ newSafetyBriefing.CheckProblemsRectification = safetyBriefing.CheckProblemsRectification;
+ newSafetyBriefing.PendingProject = safetyBriefing.PendingProject;
+ newSafetyBriefing.ContractorManagement = safetyBriefing.ContractorManagement;
+ newSafetyBriefing.EnvironmentalEmissions = safetyBriefing.EnvironmentalEmissions;
+ newSafetyBriefing.NextMonthWorkPlan = safetyBriefing.NextMonthWorkPlan;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除实业安全简报
+ ///
+ ///
+ public static void DeleteSafetyBriefingById(string safetyBriefingId)
+ {
+ Model.InformationProject_SafetyBriefing safetyBriefing = Funs.DB.InformationProject_SafetyBriefing.FirstOrDefault(e => e.SafetyBriefingId == safetyBriefingId);
+ if (safetyBriefing != null)
+ {
+ Funs.DB.InformationProject_SafetyBriefing.DeleteOnSubmit(safetyBriefing);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/SGGL/BLL/WebService/CNCECHSSEWebService.cs b/SGGL/BLL/WebService/CNCECHSSEWebService.cs
index 84922eaf..7ecb05fc 100644
--- a/SGGL/BLL/WebService/CNCECHSSEWebService.cs
+++ b/SGGL/BLL/WebService/CNCECHSSEWebService.cs
@@ -1,16 +1,81 @@
namespace BLL
{
-
- using Model;
+ using Apache.NMS.ActiveMQ.Commands;
using Newtonsoft.Json;
using NPOI.POIFS.Crypt.Dsig;
using System;
using System.Collections.Generic;
using System.Data;
+ using System.IO;
using System.Linq;
+ //using System.Net.Http.Headers;
+ //using System.Net.Http;
+ using System.Web;
+ using RestSharp;
+ using System.Net;
public static class CNCECHSSEWebService
{
+ public static void upFile()
+ {
+ //int l = HttpContext.Current.Request.Files["testdoc"].ContentLength;
+ //byte[] buffer = new byte[l];
+ //Stream s = HttpContext.Current.Request.Files["testdoc"].InputStream;
+ //HttpClient client = new HttpClient();
+ //MultipartFormDataContent form = new MultipartFormDataContent();
+ //StreamContent fileContent = new StreamContent(s);
+ //fileContent.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");
+ //fileContent.Headers.ContentDisposition = new ContentDispositionHeaderValue("form-data");
+ //fileContent.Headers.ContentDisposition.FileName = s.filename;
+ //form.Add(fileContent);
+ //HttpResponseMessage res = client.PostAsync("http://192.168.8.9/llb/api/FileUpload/PostFile", form).Result;
+ //var msg = res.Content.ReadAsStringAsync().Result;
+ //if (msg.ToString() != "true")
+ //{
+ // return Content(msg);
+ //}
+
+ }
+ 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 百万工时上报
///
@@ -23,10 +88,9 @@
{
try
{
- //CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
var upReport = from x in db.Information_MillionsMonthlyReport
where x.MillionsMonthlyReportId == millionsMonthlyReportId
- select new Model.HSSE.Information_MillionsMonthlyReport
+ select new Information_MillionsMonthlyReport
{
MillionsMonthlyReportId = x.MillionsMonthlyReportId,
UnitId = x.UnitId,
@@ -40,11 +104,27 @@
LostTimeInjuryRate = x.LostTimeInjuryRate,
DeathAccidentFrequency = x.DeathAccidentFrequency,
AccidentMortality = x.AccidentMortality,
+ InputCosts = x.InputCosts,
+ TrainNum = x.TrainNum,
+ GeneralHazardNum = x.GeneralHazardNum,
+ MajorHazardNum = x.MajorHazardNum,
+ NotProofLargeProjectNum = x.NotProofLargeProjectNum,
+ ProofLargeProjectNum = x.ProofLargeProjectNum,
+ FireLicenseNum = x.FireLicenseNum,
+ LimitLicenseNum = x.LimitLicenseNum,
+ HighLicenseNum = x.HighLicenseNum,
+ HoistingLicenseNum = x.HoistingLicenseNum,
+ BreakGroundLicenseNum = x.BreakGroundLicenseNum,
+ ElectricityLicenseNum = x.ElectricityLicenseNum,
+ RTLicenseNum = x.RTLicenseNum,
+ NightLicenseNum = x.NightLicenseNum,
+ CommissionerNum = x.CommissionerNum,
+ SoleDutyNum = x.SoleDutyNum,
};
var upReportItem = from x in db.Information_MillionsMonthlyReportItem
where x.MillionsMonthlyReportId == millionsMonthlyReportId
- select new Model.HSSE.Information_MillionsMonthlyReportItem
+ select new Information_MillionsMonthlyReportItem
{
MillionsMonthlyReportItemId = x.MillionsMonthlyReportItemId,
MillionsMonthlyReportId = x.MillionsMonthlyReportId,
@@ -62,15 +142,15 @@
MinorAccidentNum = x.MinorAccidentNum,
MinorAccidentPersonNum = x.MinorAccidentPersonNum,
MinorAccidentLossHour = x.MinorAccidentLossHour,
- OtherAccidentNum = x.OtherAccidentNum,
- OtherAccidentPersonNum = x.OtherAccidentPersonNum,
- OtherAccidentLossHour = x.OtherAccidentLossHour,
+ OtherAccidentNum = x.DeathAccidentNum,
+ OtherAccidentPersonNum = x.DeathAccidentPersonNum,
+ OtherAccidentLossHour = x.DeathAccidentLossHour,
RestrictedWorkPersonNum = x.RestrictedWorkPersonNum,
RestrictedWorkLossHour = x.RestrictedWorkLossHour,
MedicalTreatmentPersonNum = x.MedicalTreatmentPersonNum,
MedicalTreatmentLossHour = x.MedicalTreatmentLossHour,
FireNum = x.FireNum,
- ExplosionNum = x.ExplosionNum,
+ ExplosionNum = x.EnvironmenNum,
TrafficNum = x.TrafficNum,
EquipmentNum = x.EquipmentNum,
QualityNum = x.QualityNum,
@@ -99,17 +179,17 @@
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);
+ 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);
+ 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);
+ ErrLogInfo.WriteLog("【企业安全数据统计月报】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【企业安全数据统计月报】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
}
return code;
}
@@ -120,7 +200,7 @@
/// 主表
/// 明细表
///
- private static int UpApiMillionsMonthlyReport(IQueryable upReport, IQueryable upReportItem)
+ private static int UpApiMillionsMonthlyReport(IQueryable upReport, IQueryable upReportItem)
{
string baseurl = "/api/InformationData/SaveMillionsMonthlyReport";
//合并
@@ -144,10 +224,9 @@
{
try
{
- //CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
var upReport = from x in db.Information_AccidentCauseReport
where x.AccidentCauseReportId == accidentCauseReportId
- select new Model.HSSE.Information_AccidentCauseReport
+ select new Information_AccidentCauseReport
{
AccidentCauseReportId = x.AccidentCauseReportId,
UnitId = x.UnitId,
@@ -177,7 +256,7 @@
var upReportItem = from x in db.Information_AccidentCauseReportItem
where x.AccidentCauseReportId == accidentCauseReportId
- select new Model.HSSE.Information_AccidentCauseReportItem
+ select new Information_AccidentCauseReportItem
{
AccidentCauseReportItemId = x.AccidentCauseReportItemId,
AccidentCauseReportId = x.AccidentCauseReportId,
@@ -261,7 +340,7 @@
/// 主表
/// 明细表
///
- private static int UpApiAccidentCauseReport(IQueryable upReport, IQueryable upReportItem)
+ private static int UpApiAccidentCauseReport(IQueryable upReport, IQueryable upReportItem)
{
string baseurl = "/api/InformationData/SaveAccidentCauseReport";
//合并
@@ -286,10 +365,10 @@
{
try
{
- //CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
+ //
var upReport = from x in db.Information_SafetyQuarterlyReport
where x.SafetyQuarterlyReportId == safetyQuarterlyReportId
- select new Model.HSSE.Information_SafetyQuarterlyReport
+ select new Information_SafetyQuarterlyReport
{
SafetyQuarterlyReportId = x.SafetyQuarterlyReportId,
UnitId = x.UnitId,
@@ -361,8 +440,8 @@
Remarks = x.Remarks,
CompileMan = x.CompileMan,
////附件转为字节传送
- FullTimeManAttachUrlFileContext = BLL.FileStructService.GetFileStructByAttachUrl(x.FullTimeManAttachUrl),
- PMManAttachUrlFileContext = BLL.FileStructService.GetFileStructByAttachUrl(x.PMManAttachUrl),
+ //FullTimeManAttachUrlFileContext = FileStructService.GetFileStructByAttachUrl(x.FullTimeManAttachUrl),
+ // PMManAttachUrlFileContext = FileStructService.GetFileStructByAttachUrl(x.PMManAttachUrl),
KeyEquipmentTotal = x.KeyEquipmentTotal,
KeyEquipmentTotalRemark = x.KeyEquipmentTotalRemark,
KeyEquipmentReportCount = x.KeyEquipmentReportCount,
@@ -377,7 +456,100 @@
//老接口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))
@@ -404,7 +576,7 @@
catch (Exception ex)
{
ErrLogInfo.WriteLog("【安全生产数据季报上报】上传到服务器", ex);
- LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
+ LogService.AddSys_Log(CurrUser, "【安全生产数据季报上报】上传到服务器失败err;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
}
return code;
}
@@ -415,10 +587,11 @@
/// 主表
/// 明细表
///
- private static int UpApiSaveSafetyQuarterlyReport(IQueryable upReport)
+ 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;
@@ -436,10 +609,9 @@
{
try
{
- //CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
var upReport = from x in db.Information_DrillConductedQuarterlyReport
where x.DrillConductedQuarterlyReportId == drillConductedQuarterlyReportId
- select new Model.HSSE.Information_DrillConductedQuarterlyReport
+ select new Information_DrillConductedQuarterlyReport
{
DrillConductedQuarterlyReportId = x.DrillConductedQuarterlyReportId,
UnitId = x.UnitId,
@@ -451,7 +623,7 @@
var upReportItem = from x in db.Information_DrillConductedQuarterlyReportItem
where x.DrillConductedQuarterlyReportId == drillConductedQuarterlyReportId
- select new Model.HSSE.Information_DrillConductedQuarterlyReportItem
+ select new Information_DrillConductedQuarterlyReportItem
{
DrillConductedQuarterlyReportItemId = x.DrillConductedQuarterlyReportItemId,
DrillConductedQuarterlyReportId = x.DrillConductedQuarterlyReportId,
@@ -514,7 +686,7 @@
/// 主表
/// 明细表
///
- private static int UpApiSaveDrillConductedQuarterlyReport(IQueryable upReport, IQueryable upReportItem)
+ private static int UpApiSaveDrillConductedQuarterlyReport(IQueryable upReport, IQueryable upReportItem)
{
string baseurl = "/api/InformationData/SaveDrillConductedQuarterlyReport";
//合并
@@ -538,10 +710,9 @@
{
try
{
- ///CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient();
var upReport = from x in db.Information_DrillPlanHalfYearReport
where x.DrillPlanHalfYearReportId == drillPlanHalfYearReportId
- select new Model.HSSE.Information_DrillPlanHalfYearReport
+ select new Information_DrillPlanHalfYearReport
{
DrillPlanHalfYearReportId = x.DrillPlanHalfYearReportId,
UnitId = x.UnitId,
@@ -554,7 +725,7 @@
var upReportItem = from x in db.Information_DrillPlanHalfYearReportItem
where x.DrillPlanHalfYearReportId == drillPlanHalfYearReportId
- select new Model.HSSE.Information_DrillPlanHalfYearReportItem
+ select new Information_DrillPlanHalfYearReportItem
{
DrillPlanHalfYearReportItemId = x.DrillPlanHalfYearReportItemId,
DrillPlanHalfYearReportId = x.DrillPlanHalfYearReportId,
@@ -607,7 +778,7 @@
/// 主表
/// 明细表
///
- private static int UpApiDrillPlanHalfYearReport(IQueryable upReport, IQueryable upReportItem)
+ private static int UpApiDrillPlanHalfYearReport(IQueryable upReport, IQueryable upReportItem)
{
string baseurl = "/api/InformationData/SaveDrillPlanHalfYearReport";
//合并
@@ -620,8 +791,6005 @@
return responeData.code;
}
#endregion
-
+
+ #region 化工行业能源节约与生态环境保护汇总表上报
+ ///
+ /// 化工行业能源节约与生态环境保护汇总表上报
+ ///
+ public static string UpChemicalReport(string chemicalReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Environmental_ChemicalReport
+ where x.ChemicalReportId == chemicalReportId
+ select new Model.ChemicalReport
+ {
+ ChemicalReportId = x.ChemicalReportId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Month = x.Month,
+ FillingMan = x.FillingMan,
+ FillingDate = x.FillingDate,
+ DutyPerson = x.DutyPerson,
+
+ };
+
+ var upReportItem = from x in db.Environmental_ChemicalReportItem
+ where x.ChemicalReportId == chemicalReportId
+ select new Model.ChemicalReportItem
+ {
+ ChemicalReportItemId = x.ChemicalReportItemId,
+ ChemicalReportId = x.ChemicalReportId,
+ SortIndex = x.SortIndex,
+ BaseNumber = x.BaseNumber,
+ LastYearValue = x.LastYearValue,
+ ThisYearValue = x.ThisYearValue,
+ Rate = x.Rate,
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiChemicalReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.ChemicalReportId))
+ {
+ var report = db.Environmental_ChemicalReport.FirstOrDefault(e => e.ChemicalReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.ChemicalReportMenuId, 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.ChemicalReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【化工行业能源节约与生态环境保护汇总表】上传到服务器失败;", null, BLL.Const.ChemicalReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【化工行业能源节约与生态环境保护汇总表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【化工行业能源节约与生态环境保护汇总表】上传到服务器失败;", null, BLL.Const.ChemicalReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiChemicalReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiChemicalReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveChemicalReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + (resultJsonReport + resultJsonReportItem).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
#endregion
+
+ #region 中央企业环保产业企业基本情况和经营情况汇总表
+
+ public static string UpOperationReport(string businessReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+ var upReport = from x in db.Environmental_OperationReport
+ where x.BusinessReportId == businessReportId
+ select new Model.OperationReportDto
+ {
+ BusinessReportId = x.BusinessReportId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Quarters = x.Quarters,
+ Code = x.Code,
+ UnitLevel = x.UnitLevel,
+ CreateDate = x.CreateDate,
+ Place = x.Place,
+ PersonNum = x.PersonNum,
+ TotalAssets = x.TotalAssets,
+ TotalValue = x.TotalValue,
+ NewInvestment = x.NewInvestment,
+ FillingMan = x.FillingMan,
+ FillingDate = x.FillingDate,
+ StatisticsDutyPerson = x.StatisticsDutyPerson,
+ UnitDutyPerson = x.UnitDutyPerson,
+ Remark = x.Remark
+ };
+
+ //新接口Api
+ code = UpApiOperationReport(upReport).ToString();
+ if (code == "1")
+ {
+ var report = db.Environmental_OperationReport.FirstOrDefault(e => e.BusinessReportId == businessReportId);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ }
+ LogService.AddSys_Log(CurrUser, "【中央企业环保产业企业基本情况和经营情况汇总表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.OperationReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【中央企业环保产业企业基本情况和经营情况汇总表】上传到服务器失败;", null, BLL.Const.OperationReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【中央企业环保产业企业基本情况和经营情况汇总表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【中央企业环保产业企业基本情况和经营情况汇总表】上传到服务器失败;", null, BLL.Const.OperationReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+
+ }
+
+ private static int UpApiOperationReport(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveOperationReport";
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+
+
+ #endregion
+
+ #region 中央企业节能环保产业企业生产和服务业务情况报表上报
+ ///
+ /// 中央企业节能环保产业企业生产和服务业务情况报表上报
+ ///
+ public static string UpEnergyReport(string energyReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Environmental_EnergyReport
+ where x.EnergyReportId == energyReportId
+ select new Model.EnergyReport
+ {
+ EnergyReportId = x.EnergyReportId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Quarters = x.Quarters,
+ FillingMan = x.FillingMan,
+ FillingDate = x.FillingDate,
+ DutyPerson = x.DutyPerson,
+
+ };
+
+ var upReportItem = from x in db.Environmental_EnergyReportItem
+ where x.EnergyReportId == energyReportId
+ select new Model.EnergyReportItem
+ {
+ EnergyReportItemId = x.EnergyReportItemId,
+ EnergyReportId = x.EnergyReportId,
+ SortIndex = x.SortIndex,
+ BusinessCategory = x.BusinessCategory,
+ Throughput_BasePeriod = x.Throughput_BasePeriod,
+ Throughput_LastPeriod = x.Throughput_LastPeriod,
+ Throughput_ThisPeriod = x.Throughput_ThisPeriod,
+ Throughput_UnitOfMeasurement = x.Throughput_UnitOfMeasurement,
+ Yield_BasePeriod = x.Yield_BasePeriod,
+ Yield_LastPeriod = x.Yield_LastPeriod,
+ Yield_ThisPeriod = x.Yield_ThisPeriod,
+ Yield_UnitOfMeasurement = x.Yield_UnitOfMeasurement,
+ OutputValue_BasePeriod = x.OutputValue_BasePeriod,
+ OutputValue_LastYear = x.OutputValue_LastYear,
+ OutputValue_ThisYear = x.OutputValue_ThisYear,
+ OperationScale_BasePeriod = x.OperationScale_BasePeriod,
+ OperationScale_LastYear = x.OperationScale_LastYear,
+ OperationScale_ThisYear = x.OperationScale_ThisYear,
+ OperationScale_UnitOfMeasurement = x.OperationScale_UnitOfMeasurement,
+ ServiceOperatingIncome_BasePeriod = x.ServiceOperatingIncome_BasePeriod,
+ ServiceOperatingIncome_LastYear = x.ServiceOperatingIncome_LastYear,
+ ServiceOperatingIncome_ThisYear = x.ServiceOperatingIncome_ThisYear,
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiEnergyReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.EnergyReportId))
+ {
+ var report = db.Environmental_EnergyReport.FirstOrDefault(e => e.EnergyReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ //ProjectDataFlowSetService.CloseFlowOperate(Const.ChemicalReportMenuId, item, string.Empty);
+ // //更新催报信息
+ //UrgeReportService.SetComplete(report.UnitId, Const.ReportType_1, report.Year.ToString(), report.Quarters.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【中央企业节能环保产业企业生产和服务业务情况报表上报】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.EnergyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【中央企业节能环保产业企业生产和服务业务情况报表上报】上传到服务器失败;", null, BLL.Const.EnergyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【中央企业节能环保产业企业生产和服务业务情况报表上报】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【中央企业节能环保产业企业生产和服务业务情况报表上报】上传到服务器失败;", null, BLL.Const.EnergyReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiChemicalReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiEnergyReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveEnergyReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJsonReportItem = JsonConvert.SerializeObject(new { EnergyReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + (resultJsonReport + resultJsonReportItem).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 建筑行业能源节约与生态环境保护汇总表上报
+ ///
+ /// 建筑行业能源节约与生态环境保护汇总表上报
+ ///
+ public static string UpArchitectureReport(string chemicalReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Environmental_ArchitectureReport
+ where x.ArchitectureReportId == chemicalReportId
+ select new Model.ArchitectureReport
+ {
+ ArchitectureReportId = x.ArchitectureReportId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Quarters = x.Quarters,
+ FillingMan = x.FillingMan,
+ FillingDate = x.FillingDate,
+ DutyPerson = x.DutyPerson,
+
+ };
+
+ var upReportItem = from x in db.Environmental_ArchitectureReportItem
+ where x.ArchitectureReportId == chemicalReportId
+ select new Model.ArchitectureReportItem
+ {
+ ArchitectureReportItemId = x.ArchitectureReportItemId,
+ ArchitectureReportId = x.ArchitectureReportId,
+ BaseNumber = x.BaseNumber,
+ SortIndex = x.SortIndex,
+ LastYearValue = x.LastYearValue,
+ ThisYearValue = x.ThisYearValue,
+ Rate = x.Rate,
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ArchitectureReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiArchitectureReport(upReport, upReportItem).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.ArchitectureReportId))
+ {
+ var report = db.Environmental_ArchitectureReport.FirstOrDefault(e => e.ArchitectureReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.ArchitectureReportMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_1, report.Year.ToString(), report.Quarters.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【建筑行业能源节约与生态环境保护汇总表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.ArchitectureReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【建筑行业能源节约与生态环境保护汇总表】上传到服务器失败;", null, BLL.Const.ArchitectureReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【建筑行业能源节约与生态环境保护汇总表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【建筑行业能源节约与生态环境保护汇总表】上传到服务器失败;", null, BLL.Const.ArchitectureReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiArchitectureReportApi调用
+ ///
+ /// 主表
+ /// 明细表
+ ///
+ private static int UpApiArchitectureReport(IQueryable upReport, IQueryable upReportItem)
+ {
+ string baseurl = "/api/InformationData/SaveArchitectureReport";
+ //合并
+ //var resultJson = JsonConvert.SerializeObject(new { upReport, ReportItem = upReportItem });
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ var resultJsonReportItem = JsonConvert.SerializeObject(new { ArchitectureReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + (resultJsonReport + resultJsonReportItem).Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+
+ #region 安全管理工作总结报告
+ ///
+ /// 安全管理工作总结报告
+ ///
+ ///
+ ///
+ ///
+ public static string UpWorkSummaryReport(string workSummaryReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Information_WorkSummaryReport
+ where x.WorkSummaryReportId == workSummaryReportId
+ select new Model.WorkSummaryReport
+ {
+ WorkSummaryReportId = x.WorkSummaryReportId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ ResponsiblePerson = x.ResponsiblePerson,
+ ResponsiblePersonTel = x.ResponsiblePersonTel,
+ ContactPerson = x.ContactPerson,
+ ContactPersonTel = x.ContactPersonTel,
+ ReportDate = x.ReportDate,
+ SafeLaborTime = x.SafeLaborTime,
+ SafetyObjectives = x.SafetyObjectives,
+ AccidentSituation = x.AccidentSituation,
+ Awards = x.Awards,
+ WorkDevelopment = x.WorkDevelopment,
+ PersonnelTraining = x.PersonnelTraining,
+ GovernanceSituation = x.GovernanceSituation,
+ ManagementActivity = x.ManagementActivity,
+ WorkExperience = x.WorkExperience,
+ Countermeasures = x.Countermeasures,
+ NextYearWorkPlan = x.NextYearWorkPlan,
+ JobSuggestion = x.JobSuggestion
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiWorkSummaryReport(upReport).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.WorkSummaryReportId))
+ {
+ var report = db.Information_WorkSummaryReport.FirstOrDefault(e => e.WorkSummaryReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.WorkSummaryReportMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_6, report.YearId.ToString(), string.Empty);
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【安全管理工作总结报告】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.WorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【安全管理工作总结报告】上传到服务器失败;", null, BLL.Const.WorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【安全管理工作总结报告】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【安全管理工作总结报告】上传到服务器失败;", null, BLL.Const.WorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiWorkSummaryReportApi调用
+ ///
+ /// 主表
+ ///
+ private static int UpApiWorkSummaryReport(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveWorkSummaryReport";
+
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ //var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + resultJsonReport.Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 质量管理工作总结报告
+ ///
+ /// 质量管理工作总结报告
+ ///
+ ///
+ ///
+ ///
+ public static string UpQualityWorkSummaryReport(string qualityWorkSummaryReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Information_QualityWorkSummaryReport
+ where x.QualityWorkSummaryReportId == qualityWorkSummaryReportId
+ select new Model.QualityWorkSummaryReport
+ {
+ QualityWorkSummaryReportId = x.QualityWorkSummaryReportId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ ResponsiblePerson = x.ResponsiblePerson,
+ ResponsiblePersonTel = x.ResponsiblePersonTel,
+ ContactPerson = x.ContactPerson,
+ ContactPersonTel = x.ContactPersonTel,
+ ReportDate = x.ReportDate,
+ Performance = x.Performance,
+ AccidentSituation = x.AccidentSituation,
+ Awards = x.Awards,
+ WorkDevelopment = x.WorkDevelopment,
+ PersonnelTraining = x.PersonnelTraining,
+ CheckSituation = x.CheckSituation,
+ ManagementActivity = x.ManagementActivity,
+ WorkExperience = x.WorkExperience,
+ Countermeasures = x.Countermeasures,
+ NextYearWorkPlan = x.NextYearWorkPlan,
+ JobSuggestion = x.JobSuggestion
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiQualityWorkSummaryReport(upReport).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.QualityWorkSummaryReportId))
+ {
+ var report = db.Information_QualityWorkSummaryReport.FirstOrDefault(e => e.QualityWorkSummaryReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.QualityWorkSummaryReportMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_7, report.YearId.ToString(), string.Empty);
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【质量管理工作总结报告】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.QualityWorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【质量管理工作总结报告】上传到服务器失败;", null, BLL.Const.QualityWorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【质量管理工作总结报告】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【质量管理工作总结报告】上传到服务器失败;", null, BLL.Const.QualityWorkSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiQualityWorkSummaryReport
+ ///
+ /// 主表
+ ///
+ private static int UpApiQualityWorkSummaryReport(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveQualityWorkSummaryReport";
+
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ //var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + resultJsonReport.Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 实业安全简报
+ ///
+ /// 实业安全简报
+ ///
+ ///
+ ///
+ ///
+ public static string UpSafetyBriefing(string safetyBriefingId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Information_SafetyBriefing
+ where x.SafetyBriefingId == safetyBriefingId
+ select new Model.SafetyBriefing
+ {
+ SafetyBriefingId = x.SafetyBriefingId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ Month = x.Month,
+ CompileMan = BLL.UserService.GetUserNameByUserId(x.CompileMan),
+ CompileDate = x.CompileDate,
+ Auditor = x.Auditor,
+ Approver = x.Approver,
+ MainWork = x.MainWork,
+ HazardRecording = x.HazardRecording,
+ SafetyAccident = x.SafetyAccident,
+ EPAccident = x.EPAccident,
+ OHAccident = x.OHAccident,
+ WorkPermitNum = x.WorkPermitNum,
+ HiddenDangerDetection = x.HiddenDangerDetection,
+ RectificationSituation = x.RectificationSituation,
+ CheckProblemsRectification = x.CheckProblemsRectification,
+ PendingProject = x.PendingProject,
+ ContractorManagement = x.ContractorManagement,
+ EnvironmentalEmissions = x.EnvironmentalEmissions,
+ NextMonthWorkPlan = x.NextMonthWorkPlan
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiSafetyBriefing(upReport).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.SafetyBriefingId))
+ {
+ var report = db.Information_SafetyBriefing.FirstOrDefault(e => e.SafetyBriefingId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.SafetyBriefingMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_7, report.YearId.ToString(), report.Month.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【实业安全简报】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.SafetyBriefingMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【实业安全简报】上传到服务器失败;", null, BLL.Const.SafetyBriefingMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【实业安全简报】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【实业安全简报】上传到服务器失败;", null, BLL.Const.SafetyBriefingMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiSafetyBriefing
+ ///
+ /// 主表
+ ///
+ private static int UpApiSafetyBriefing(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveSafetyBriefing";
+
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ //var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + resultJsonReport.Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 季度工程项目质量信息表
+ ///
+ /// 季度工程项目质量信息表
+ ///
+ ///
+ ///
+ ///
+ public static string UpQuarterlyProjectQuality(string quarterlyProjectQualityId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Information_QuarterlyProjectQuality
+ where x.QuarterlyProjectQualityId == quarterlyProjectQualityId
+ select new Model.QuarterlyProjectQuality
+ {
+ QuarterlyProjectQualityId = x.QuarterlyProjectQualityId,
+ UnitId = x.UnitId,
+ Year = x.Year,
+ Quarter = x.Quarter,
+ QualityManagePersonNum = x.QualityManagePersonNum,
+ AdvancedTitlePersonNum = x.AdvancedTitlePersonNum,
+ IntermediateTitlePersonNum = x.IntermediateTitlePersonNum,
+ BeImplementedProjectNum = x.BeImplementedProjectNum,
+ StartImplementedProjectNum = x.StartImplementedProjectNum,
+ AccumulativeStartImplemented = x.AccumulativeStartImplemented,
+ CompleteProjectNum = x.CompleteProjectNum,
+ YearCompleteProjectNum = x.YearCompleteProjectNum,
+ QuarterTotal = x.QuarterTotal,
+ QuarterFirstPassNum = x.QuarterFirstPassNum,
+ QuarterFirstPassRate = x.QuarterFirstPassRate,
+ YearTotal = x.YearTotal,
+ YearFirstPassNum = x.YearFirstPassNum,
+ YearFirstPassRate = x.YearFirstPassRate,
+ QuaterCheckSuperviseNum = x.QuaterCheckSuperviseNum,
+ QuaterCorrectiveNoticeNum = x.QuaterCorrectiveNoticeNum,
+ QuaterQualityProblemNum = x.QuaterQualityProblemNum,
+ QuaterClosedQualityProblemNum = x.QuaterClosedQualityProblemNum,
+ YearCheckSuperviseNum = x.YearCheckSuperviseNum,
+ YearCorrectiveNoticeNum = x.YearCorrectiveNoticeNum,
+ YearQualityProblemNum = x.YearQualityProblemNum,
+ YearClosedQualityProblemNum = x.YearClosedQualityProblemNum,
+ QuaterQualityAccidentNum = x.QuaterQualityAccidentNum,
+ QuaterDirectEconomicLoss = x.QuaterDirectEconomicLoss,
+ YearQualityAccidentNum = x.YearQualityAccidentNum,
+ YearDirectEconomicLoss = x.YearDirectEconomicLoss,
+ ResponsiblePerson = BLL.UserService.GetUserNameByUserId(x.ResponsiblePerson),
+ CompileMan = BLL.UserService.GetUserNameByUserId(x.CompileMan),
+ CompileDate = x.CompileDate,
+ Tel = x.Tel
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiQuarterlyProjectQuality(upReport).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.QuarterlyProjectQualityId))
+ {
+ var report = db.Information_QuarterlyProjectQuality.FirstOrDefault(e => e.QuarterlyProjectQualityId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.QuarterlyProjectQualityMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_9, report.Year.ToString(), report.Quarter.ToString());
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【季度工程项目质量信息表】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.QuarterlyProjectQualityMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【季度工程项目质量信息表】上传到服务器失败;", null, BLL.Const.QuarterlyProjectQualityMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【季度工程项目质量信息表】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【季度工程项目质量信息表】上传到服务器失败;", null, BLL.Const.QuarterlyProjectQualityMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiSafetyBriefing
+ ///
+ /// 主表
+ ///
+ private static int UpApiQuarterlyProjectQuality(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveQuarterlyProjectQuality";
+
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ //var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + resultJsonReport.Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
+ return responeData.code;
+ }
+ #endregion
+
+ #region 生态环保工作总结报告
+ ///
+ /// 生态环保工作总结报告
+ ///
+ ///
+ ///
+ ///
+ public static string UpEPSummaryReport(string ePSummaryReportId, Model.Sys_User CurrUser)
+ {
+ string code = "0";
+ using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
+ {
+ try
+ {
+
+ var upReport = from x in db.Information_EPSummaryReport
+ where x.EPSummaryReportId == ePSummaryReportId
+ select new Model.EPSummaryReport
+ {
+ EPSummaryReportId = x.EPSummaryReportId,
+ UnitId = x.UnitId,
+ YearId = x.YearId,
+ ResponsiblePerson = x.ResponsiblePerson,
+ ResponsiblePersonTel = x.ResponsiblePersonTel,
+ ContactPerson = x.ContactPerson,
+ ContactPersonTel = x.ContactPersonTel,
+ ReportDate = x.ReportDate,
+ Description1 = x.Description1,
+ Description2 = x.Description2,
+ Description3 = x.Description3,
+ Description4 = x.Description4,
+ Description5 = x.Description5,
+ Description6 = x.Description6,
+ Description7 = x.Description7,
+ Description8 = x.Description8,
+ Description9 = x.Description9
+ };
+
+ //老接口Serveice
+ //var getR = hsseC.DataInsertInformation_ChemicalReportTable(upReport.ToList(), upReportItem.ToList());
+ //新接口Api
+ code = UpApiEPSummaryReport(upReport).ToString();
+ if (code == "1")
+ {
+ foreach (var item in upReport.Select(p => p.EPSummaryReportId))
+ {
+ var report = db.Information_EPSummaryReport.FirstOrDefault(e => e.EPSummaryReportId == item);
+ if (report != null)
+ {
+ report.UpState = BLL.Const.UpState_3;
+ db.SubmitChanges();
+ ////更新 当前人要处理的意见
+ ProjectDataFlowSetService.CloseFlowOperate(Const.EPSummaryReportMenuId, item, string.Empty);
+ // //更新催报信息
+ UrgeReportService.SetComplete(report.UnitId, Const.ReportType_10, report.YearId.ToString(), string.Empty);
+ }
+ }
+ LogService.AddSys_Log(CurrUser, "【生态环保工作总结报告】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.EPSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ else
+ {
+ LogService.AddSys_Log(CurrUser, "【生态环保工作总结报告】上传到服务器失败;", null, BLL.Const.EPSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ }
+ catch (Exception ex)
+ {
+ ErrLogInfo.WriteLog("【生态环保工作总结报告】上传到服务器", ex);
+ LogService.AddSys_Log(CurrUser, "【生态环保工作总结报告】上传到服务器失败;", null, BLL.Const.EPSummaryReportMenuId, BLL.Const.BtnUploadResources);
+ }
+ return code;
+ }
+ }
+ ///
+ /// UpApiEPSummaryReport
+ ///
+ /// 主表
+ ///
+ private static int UpApiEPSummaryReport(IQueryable upReport)
+ {
+ string baseurl = "/api/InformationData/SaveEPSummaryReport";
+
+ var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
+ //var resultJsonReportItem = JsonConvert.SerializeObject(new { ChemicalReportItem = upReportItem });
+ resultJsonReport = "{\"InformationDataItems\":[" + resultJsonReport.Replace("}{", ",") + "]}";
+ var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, 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;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable InputCostsField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable TrainNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable GeneralHazardNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable MajorHazardNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable NotProofLargeProjectNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ProofLargeProjectNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable FireLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable LimitLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable HighLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable HoistingLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable BreakGroundLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable ElectricityLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable RTLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable NightLicenseNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable CommissionerNumField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private System.Nullable SoleDutyNumField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable SoleDutyNum
+ {
+ get
+ {
+ return this.SoleDutyNumField;
+ }
+ set
+ {
+ if ((this.SoleDutyNumField.Equals(value) != true))
+ {
+ this.SoleDutyNumField = value;
+ this.RaisePropertyChanged("SoleDutyNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable CommissionerNum
+ {
+ get
+ {
+ return this.CommissionerNumField;
+ }
+ set
+ {
+ if ((this.CommissionerNumField.Equals(value) != true))
+ {
+ this.CommissionerNumField = value;
+ this.RaisePropertyChanged("CommissionerNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable NightLicenseNum
+ {
+ get
+ {
+ return this.NightLicenseNumField;
+ }
+ set
+ {
+ if ((this.NightLicenseNumField.Equals(value) != true))
+ {
+ this.NightLicenseNumField = value;
+ this.RaisePropertyChanged("NightLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable RTLicenseNum
+ {
+ get
+ {
+ return this.RTLicenseNumField;
+ }
+ set
+ {
+ if ((this.RTLicenseNumField.Equals(value) != true))
+ {
+ this.RTLicenseNumField = value;
+ this.RaisePropertyChanged("RTLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ElectricityLicenseNum
+ {
+ get
+ {
+ return this.ElectricityLicenseNumField;
+ }
+ set
+ {
+ if ((this.ElectricityLicenseNumField.Equals(value) != true))
+ {
+ this.ElectricityLicenseNumField = value;
+ this.RaisePropertyChanged("ElectricityLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable BreakGroundLicenseNum
+ {
+ get
+ {
+ return this.BreakGroundLicenseNumField;
+ }
+ set
+ {
+ if ((this.BreakGroundLicenseNumField.Equals(value) != true))
+ {
+ this.BreakGroundLicenseNumField = value;
+ this.RaisePropertyChanged("BreakGroundLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable HoistingLicenseNum
+ {
+ get
+ {
+ return this.HoistingLicenseNumField;
+ }
+ set
+ {
+ if ((this.HoistingLicenseNumField.Equals(value) != true))
+ {
+ this.HoistingLicenseNumField = value;
+ this.RaisePropertyChanged("HoistingLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable HighLicenseNum
+ {
+ get
+ {
+ return this.HighLicenseNumField;
+ }
+ set
+ {
+ if ((this.HighLicenseNumField.Equals(value) != true))
+ {
+ this.HighLicenseNumField = value;
+ this.RaisePropertyChanged("HighLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable LimitLicenseNum
+ {
+ get
+ {
+ return this.LimitLicenseNumField;
+ }
+ set
+ {
+ if ((this.LimitLicenseNumField.Equals(value) != true))
+ {
+ this.LimitLicenseNumField = value;
+ this.RaisePropertyChanged("LimitLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable FireLicenseNum
+ {
+ get
+ {
+ return this.FireLicenseNumField;
+ }
+ set
+ {
+ if ((this.FireLicenseNumField.Equals(value) != true))
+ {
+ this.FireLicenseNumField = value;
+ this.RaisePropertyChanged("FireLicenseNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable ProofLargeProjectNum
+ {
+ get
+ {
+ return this.ProofLargeProjectNumField;
+ }
+ set
+ {
+ if ((this.ProofLargeProjectNumField.Equals(value) != true))
+ {
+ this.ProofLargeProjectNumField = value;
+ this.RaisePropertyChanged("ProofLargeProjectNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable NotProofLargeProjectNum
+ {
+ get
+ {
+ return this.NotProofLargeProjectNumField;
+ }
+ set
+ {
+ if ((this.NotProofLargeProjectNumField.Equals(value) != true))
+ {
+ this.NotProofLargeProjectNumField = value;
+ this.RaisePropertyChanged("NotProofLargeProjectNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable MajorHazardNum
+ {
+ get
+ {
+ return this.MajorHazardNumField;
+ }
+ set
+ {
+ if ((this.MajorHazardNumField.Equals(value) != true))
+ {
+ this.MajorHazardNumField = value;
+ this.RaisePropertyChanged("MajorHazardNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable GeneralHazardNum
+ {
+ get
+ {
+ return this.GeneralHazardNumField;
+ }
+ set
+ {
+ if ((this.GeneralHazardNumField.Equals(value) != true))
+ {
+ this.GeneralHazardNumField = value;
+ this.RaisePropertyChanged("GeneralHazardNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable TrainNum
+ {
+ get
+ {
+ return this.TrainNumField;
+ }
+ set
+ {
+ if ((this.TrainNumField.Equals(value) != true))
+ {
+ this.TrainNumField = value;
+ this.RaisePropertyChanged("TrainNum");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+ public System.Nullable InputCosts
+ {
+ get
+ {
+ return this.InputCostsField;
+ }
+ set
+ {
+ if ((this.InputCostsField.Equals(value) != true))
+ {
+ this.InputCostsField = value;
+ this.RaisePropertyChanged("InputCosts");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute()]
+
+ 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