diff --git a/.gitignore b/.gitignore
index d21323e..c635c20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,8 @@ bin-release/
/HJGL_DS/FineUIPro.Web/FileUpload/WeldMat/StockIn
/HJGL_DS/FineUIPro.Web/FileUpload/Common/WelderManage
/CreateModel2017 - 副本.bat
+/HJGL_DS/WebAPI/Web.config
+/HJGL_DS/FineUIPro.Web/Web.config
+/HJGL_DS/FineUIPro.Web/ErrLog.txt
+/HJGL_DS/Model/packages.config
+/CreateModel2017.bat
diff --git a/.vs/鼎盛.slnx/v18/.wsuo b/.vs/鼎盛.slnx/v18/.wsuo
new file mode 100644
index 0000000..2382418
Binary files /dev/null and b/.vs/鼎盛.slnx/v18/.wsuo differ
diff --git a/.vs/鼎盛.slnx/v18/DocumentLayout.json b/.vs/鼎盛.slnx/v18/DocumentLayout.json
new file mode 100644
index 0000000..461e5be
--- /dev/null
+++ b/.vs/鼎盛.slnx/v18/DocumentLayout.json
@@ -0,0 +1,165 @@
+{
+ "Version": 1,
+ "WorkspaceRootPath": "G:\\\u516C\u53F8\u9879\u76EE\\\u9F0E\u76DB\\",
+ "Documents": [],
+ "DocumentGroupContainers": [
+ {
+ "Orientation": 0,
+ "VerticalTabListWidth": 256,
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": -1,
+ "Children": [
+ {
+ "$type": "Bookmark",
+ "Name": "ST:134:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:133:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:141:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:142:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:143:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:144:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:145:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:140:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:137:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:139:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:138:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:132:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:1:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:129:0:{13b12e3e-c1b4-4539-9371-4fe9a0d523fc}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:2:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:3:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:131:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{1a46fd64-28d5-434c-8eb3-17a02d419b53}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{5726b0e3-1012-5233-81f9-d1fad48e7a56}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:2:0:{b9f91511-5ca5-40ec-9726-f3e3a7e534e2}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:137:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:138:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:136:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{e1b7d1f8-9b3c-49b1-8f4f-bfc63a88835d}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
+ }
+ ]
+ },
+ {
+ "DockedWidth": 378,
+ "SelectedChildIndex": -1,
+ "Children": [
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
+ },
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/CreateModel2017.bat b/CreateModel2017.bat
deleted file mode 100644
index 7afc265..0000000
--- a/CreateModel2017.bat
+++ /dev/null
@@ -1,33 +0,0 @@
-@echo off
-REM ---------------
-REM ɹ
-REM ִдļǰReleaseWebOAĿ
-REM --------------
-
-
-
-REM --------------
-REM Project_SrcΪWebOAķ֧
-REM --------------
-set PROJECT_SRC=%CD%
-cd..
-
-REM ԴModelĿļ
-set Model_ROOT=%PROJECT_SRC%\HJGL_DS\Model
-
-
-REM --------------
-REM ļ
-REM --------------
-
-
-
-
-@echo .net̨
-@echo.
-@call "%VS150%"
-
-SqlMetal /views /server:.\MSSQLSERVER01 /user:sa /password:1111 /database:HJGLDB_DS /code:%Model_ROOT%\Model.cs /namespace:Model
-
-@ECHO
-pause
diff --git a/DataBase/版本日志/HJGLDB_DS_2026-01-21_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2026-01-21_bwj.sql
new file mode 100644
index 0000000..9144395
--- /dev/null
+++ b/DataBase/版本日志/HJGLDB_DS_2026-01-21_bwj.sql
@@ -0,0 +1,259 @@
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('62B150A1-37F3-44FE-A884-103E15BB47AC','ܵӵزԼ¼','JGZL/ElectrostaticGrounding.aspx',250,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('8C84EDE9-D33B-4A69-B79C-88D4C2EDD6F8','62B150A1-37F3-44FE-A884-103E15BB47AC','',1)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('10BB2DFA-D1FF-454E-A50F-82FD1747F746','62B150A1-37F3-44FE-A884-103E15BB47AC','',2)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('CD7A8CB3-00F6-415E-BA8D-C936C82FBBF8','62B150A1-37F3-44FE-A884-103E15BB47AC','ɾ',3)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('5BADD172-1F7C-44CB-9023-64440152F816','62B150A1-37F3-44FE-A884-103E15BB47AC','',4)
+go
+
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('E64FC226-8164-43F7-AA4D-6E268EDEC5BC','ܵɨ/ϴ¼','JGZL/BlowingCleaning.aspx',290,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('A6993211-A98A-49DE-92DF-E560A3A89AED','E64FC226-8164-43F7-AA4D-6E268EDEC5BC','',1)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('EA6CD8CD-F7FB-4596-9A2E-1600236A3DB3','E64FC226-8164-43F7-AA4D-6E268EDEC5BC','',2)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('0C89BE7E-A733-4D37-A8FD-73DF8A657851','E64FC226-8164-43F7-AA4D-6E268EDEC5BC','ɾ',3)
+insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+values('6C643F79-5C0E-4257-9970-58F5EEDC0DC5','E64FC226-8164-43F7-AA4D-6E268EDEC5BC','',4)
+go
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('1D05ECF8-2EAC-4A24-AA6E-92CDA534A836','ܵڼίе','JGZL/PipelineTotalTrust.aspx',300,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+values('43785833-4FEE-415E-B1DC-53FEAB07C5A1','ܵڼίе','JGZL/PipelineWeldJointTrust.aspx',310,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+go
+
+
+CREATE TABLE [dbo].[JGZL_ElectrostaticGrounding](
+ [ElectrostaticGroundingId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [PipelineCode] [nvarchar](50) NULL,
+ [ConnectionType] [nvarchar](50) NULL,
+ [BWSpecification] [nvarchar](50) NULL,
+ [BWMaterial] [nvarchar](50) NULL,
+ [BWResistance] [decimal](18, 2) NULL,
+ [GWSpecification] [nvarchar](50) NULL,
+ [GWMaterial] [nvarchar](50) NULL,
+ [GWResistance] [decimal](18, 2) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_JGZL_ElectrostaticGrounding] PRIMARY KEY CLUSTERED
+(
+ [ElectrostaticGroundingId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[JGZL_ElectrostaticGrounding] WITH CHECK ADD CONSTRAINT [FK_JGZL_ElectrostaticGrounding_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[JGZL_ElectrostaticGrounding] CHECK CONSTRAINT [FK_JGZL_ElectrostaticGrounding_Base_Project]
+GO
+
+ALTER TABLE [dbo].[JGZL_ElectrostaticGrounding] WITH CHECK ADD CONSTRAINT [FK_JGZL_ElectrostaticGrounding_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[JGZL_ElectrostaticGrounding] CHECK CONSTRAINT [FK_JGZL_ElectrostaticGrounding_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'ElectrostaticGroundingId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @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'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'PipelineCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͷʽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'ConnectionType'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'BWSpecification'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'BWMaterial'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-ֵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'BWResistance'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'GWSpecification'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'GWMaterial'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӵ-Եص' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @level2type=N'COLUMN',@level2name=N'GWResistance'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_ElectrostaticGrounding', @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'JGZL_ElectrostaticGrounding', @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'JGZL_ElectrostaticGrounding'
+GO
+
+
+CREATE TABLE [dbo].[JGZL_BlowingCleaning](
+ [BlowingCleaningId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [BlowingCleaningDate] [datetime] NULL,
+ [SystemName] [nvarchar](50) NULL,
+ [SystemCode] [nvarchar](50) NULL,
+ [Results] [nvarchar](500) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ CONSTRAINT [PK_JGZL_BlowingCleaning] PRIMARY KEY CLUSTERED
+(
+ [BlowingCleaningId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaning] WITH CHECK ADD CONSTRAINT [FK_JGZL_BlowingCleaning_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaning] CHECK CONSTRAINT [FK_JGZL_BlowingCleaning_Base_Project]
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaning] WITH CHECK ADD CONSTRAINT [FK_JGZL_BlowingCleaning_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaning] CHECK CONSTRAINT [FK_JGZL_BlowingCleaning_Sys_User]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @level2type=N'COLUMN',@level2name=N'BlowingCleaningId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @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'JGZL_BlowingCleaning', @level2type=N'COLUMN',@level2name=N'BlowingCleaningDate'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @level2type=N'COLUMN',@level2name=N'SystemName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @level2type=N'COLUMN',@level2name=N'SystemCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'鷽' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @level2type=N'COLUMN',@level2name=N'Results'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaning', @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'JGZL_BlowingCleaning', @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'JGZL_BlowingCleaning'
+GO
+
+CREATE TABLE [dbo].[JGZL_BlowingCleaningItem](
+ [BlowingCleaningItemId] [nvarchar](50) NOT NULL,
+ [BlowingCleaningId] [nvarchar](50) NOT NULL,
+ [ISO_Id] [varchar](50) NOT NULL,
+ [STE_ID] [varchar](50) NULL,
+ [OperatingMedium] [nvarchar](50) NULL,
+ [ScrubbingMedium] [nvarchar](50) NULL,
+ [CleaningMedium] [nvarchar](50) NULL,
+ CONSTRAINT [PK_JGZL_BlowingCleaningItem] PRIMARY KEY CLUSTERED
+(
+ [BlowingCleaningItemId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_BlowingCleaningItem_HJGL_BS_Steel] FOREIGN KEY([STE_ID])
+REFERENCES [dbo].[HJGL_BS_Steel] ([STE_ID])
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] CHECK CONSTRAINT [FK_JGZL_BlowingCleaningItem_HJGL_BS_Steel]
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_BlowingCleaningItem_HJGL_PW_IsoInfo] FOREIGN KEY([ISO_Id])
+REFERENCES [dbo].[HJGL_PW_IsoInfo] ([ISO_ID])
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] CHECK CONSTRAINT [FK_JGZL_BlowingCleaningItem_HJGL_PW_IsoInfo]
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_BlowingCleaningItem_JGZL_BlowingCleaning] FOREIGN KEY([BlowingCleaningId])
+REFERENCES [dbo].[JGZL_BlowingCleaning] ([BlowingCleaningId])
+GO
+
+ALTER TABLE [dbo].[JGZL_BlowingCleaningItem] CHECK CONSTRAINT [FK_JGZL_BlowingCleaningItem_JGZL_BlowingCleaning]
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'BlowingCleaningItemId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'BlowingCleaningId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'ISO_Id'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'STE_ID'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'OperatingMedium'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ɨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'ScrubbingMedium'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem', @level2type=N'COLUMN',@level2name=N'CleaningMedium'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܵɨ/ϴ¼ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_BlowingCleaningItem'
+GO
+
+
+CREATE PROCEDURE [dbo].[sp_rpt_Trust]
+(
+ @projectId NVARCHAR(50),
+ @isoNo nvarchar(50)=null
+)
+AS
+select IsoInfo.ISO_ID,
+IsoInfo.ProjectId,
+IsoInfo.ISO_IsoNo,--ܵ
+IsoInfo.Specification,--
+steel.STE_Code, --
+isoClass.ISC_IsoName,--ܵ
+'' as NDTR_Name, --
+isnull(gdJoint.gdCount,0) as gdCount,--̶
+isnull(hdJoint.hdCount,0) as hdCount,--
+(case IsoInfo.IsHot when 1 then '' when 0 then '' else '' end) as isHot,--Ƿȴ
+'' as NDT_Code, --ⷽ
+--(case Trust.CH_AcceptGrade when '1' then '' when '2' then '' when '3' then '' when '4' then '' when '5' then '' end) as AcceptGrade, --ϸ
+'' as AcceptGrade,
+'' as CH_NDTCriteria,--
+'' AS ISO_Executive, --ձ
+IsoInfo.ISO_Remark as Remark
+from HJGL_PW_IsoInfo IsoInfo
+left join HJGL_BS_IsoClass as isoClass on isoClass.ISC_ID = IsoInfo.ISC_ID
+left join HJGL_BS_Steel as steel on steel.STE_ID = IsoInfo.STE_ID
+left join (select count(*) as gdCount,ISO_ID from HJGL_PW_JointInfo where JOT_JointAttribute='̶' group by ISO_ID) as gdJoint on gdJoint.ISO_ID = IsoInfo.ISO_ID
+left join (select count(*) as hdCount,ISO_ID from HJGL_PW_JointInfo where JOT_JointAttribute='' group by ISO_ID) as hdJoint on hdJoint.ISO_ID = IsoInfo.ISO_ID
+where IsoInfo.ProjectId=@projectId
+and (ISO_IsoNo like @isoNo or @isoNo is null)
+
+go
+
+
diff --git a/DataBase/版本日志/HJGLDB_DS_2026-01-23_xiaj.sql b/DataBase/版本日志/HJGLDB_DS_2026-01-23_xiaj.sql
new file mode 100644
index 0000000..6c580c6
--- /dev/null
+++ b/DataBase/版本日志/HJGLDB_DS_2026-01-23_xiaj.sql
@@ -0,0 +1,87 @@
+
+/**********˵************************************************************/
+
+--45֤ļһ
+IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '1334FD4F-221E-422A-9038-3ED86A50E8EC')
+BEGIN
+ INSERT INTO Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
+ VALUES ('1334FD4F-221E-422A-9038-3ED86A50E8EC','֤ļһ','JGZL/MaterialQualityCertificateDoc.aspx',450,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
+END
+GO
+IF NOT EXISTS (SELECT * FROM ButtonToMenu WHERE MenuId = '1334FD4F-221E-422A-9038-3ED86A50E8EC')
+BEGIN
+ INSERT INTO ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES ('BCC1EE90-F619-4352-840D-5F5E08681EC3','1334FD4F-221E-422A-9038-3ED86A50E8EC','',1)
+ INSERT INTO ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES ('A6046CC3-7081-43F5-998D-C458730D115B','1334FD4F-221E-422A-9038-3ED86A50E8EC','',2)
+ INSERT INTO ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES ('CDFB358E-E2CE-429D-AF8F-D0935010FB60','1334FD4F-221E-422A-9038-3ED86A50E8EC','ɾ',3)
+ INSERT INTO ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES ('F2DBD80A-4D28-4FA7-B9CA-A8E087F05476','1334FD4F-221E-422A-9038-3ED86A50E8EC','',4)
+END
+GO
+
+
+/**********ݱ************************************************************/
+
+
+--45֤ļһ
+IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'JGZL_MaterialQualityCertificateDoc') AND type = N'U')
+BEGIN
+
+CREATE TABLE [dbo].[JGZL_MaterialQualityCertificateDoc](
+ [MaterialId] [nvarchar](50) NOT NULL,
+ [ProjectId] [nvarchar](50) NULL,
+ [MaterialCode] [nvarchar](50) NULL,
+ [MaterialName] [nvarchar](50) NULL,
+ [SerialCode] [nvarchar](50) NULL,
+ [Material] [nvarchar](50) NULL,
+ [Specification] [nvarchar](50) NULL,
+ [Manufacturer] [nvarchar](50) NULL,
+ [Unit] [nvarchar](20) NULL,
+ [TotalNum] [int] NULL,
+ [ReInspectionReportCode] [nvarchar](50) NULL,
+ [ReceivingUnit] [nvarchar](50) NULL,
+ [DrawNum] [int] NULL,
+ [Remark] [nvarchar](500) NULL,
+ [CompileMan] [nvarchar](50) NULL,
+ [CompileDate] [datetime] NULL,
+ [Reviewer] [nvarchar](50) NULL,
+ [RevieweDate] [datetime] NULL,
+ CONSTRAINT [PK_JGZL_MaterialQualityCertificateDoc] PRIMARY KEY CLUSTERED
+(
+ [MaterialId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+ALTER TABLE [dbo].[JGZL_MaterialQualityCertificateDoc] WITH CHECK ADD CONSTRAINT [FK_JGZL_MaterialQualityCertificateDoc_Base_Project] FOREIGN KEY([ProjectId])
+REFERENCES [dbo].[Base_Project] ([ProjectId])
+ALTER TABLE [dbo].[JGZL_MaterialQualityCertificateDoc] CHECK CONSTRAINT [FK_JGZL_MaterialQualityCertificateDoc_Base_Project]
+ALTER TABLE [dbo].[JGZL_MaterialQualityCertificateDoc] WITH CHECK ADD CONSTRAINT [FK_JGZL_MaterialQualityCertificateDoc_Sys_User] FOREIGN KEY([CompileMan])
+REFERENCES [dbo].[Sys_User] ([UserId])
+ALTER TABLE [dbo].[JGZL_MaterialQualityCertificateDoc] CHECK CONSTRAINT [FK_JGZL_MaterialQualityCertificateDoc_Sys_User]
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'MaterialId'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'ProjectId'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'MaterialName'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤Ա' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'MaterialCode'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'SerialCode'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Material'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Specification'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'쳧' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Manufacturer'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Unit'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'TotalNum'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'鱨' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'ReInspectionReportCode'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'õλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'ReceivingUnit'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'DrawNum'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Remark'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'CompileMan'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'CompileDate'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'Reviewer'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc', @level2type=N'COLUMN',@level2name=N'RevieweDate'
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤ļһ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_MaterialQualityCertificateDoc'
+
+END
+
+GO
+
+
+
diff --git a/HJGL_DS/BLL/.vs/BLL.csproj.dtbcache.json b/HJGL_DS/BLL/.vs/BLL.csproj.dtbcache.json
index 9bc9de5..e7cb59b 100644
--- a/HJGL_DS/BLL/.vs/BLL.csproj.dtbcache.json
+++ b/HJGL_DS/BLL/.vs/BLL.csproj.dtbcache.json
@@ -1 +1 @@
-{"RootPath":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\BLL","ProjectFileName":"BLL.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"API\\APIBaseServices.cs"},{"SourceFile":"API\\APIIsoInfoServicecs.cs"},{"SourceFile":"API\\APILoginServices.cs"},{"SourceFile":"API\\APIWeldingSynServic.cs"},{"SourceFile":"API\\APIJointInfoService.cs"},{"SourceFile":"API\\APIUnitInfoService.cs"},{"SourceFile":"API\\APIWeldServices.cs"},{"SourceFile":"AttachFile\\AttachFileService.cs"},{"SourceFile":"CacheHelper.cs"},{"SourceFile":"Common\\ADomainService.cs"},{"SourceFile":"Common\\BaseInfo\\AudiFlowService.cs"},{"SourceFile":"Common\\BaseInfo\\AuditFlowApproveService.cs.cs"},{"SourceFile":"Common\\BaseInfo\\Base_DepartService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_OrganizationService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_PrintFileCodeService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_ProjectService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_TeamGroupService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_UnitService.cs"},{"SourceFile":"Common\\BaseInfo\\ProjectPlanService.cs"},{"SourceFile":"Common\\ChartControlService.cs"},{"SourceFile":"Common\\ConstValue.cs"},{"SourceFile":"Common\\FastReportService.cs"},{"SourceFile":"Common\\FileManage\\Common_FileManageService.cs"},{"SourceFile":"Common\\JsonHelper.cs"},{"SourceFile":"Common\\Migrated\\GetKey.cs"},{"SourceFile":"Common\\Migrated\\RSACrypto.cs"},{"SourceFile":"Common\\Migrated\\StringHelper.cs"},{"SourceFile":"Common\\Notice\\Attach_ImageService.cs"},{"SourceFile":"Common\\Notice\\Common_NoticeService.cs"},{"SourceFile":"Common\\Notice\\Common_NoticeSignService.cs"},{"SourceFile":"Common\\NPOIHelper.cs"},{"SourceFile":"Common\\ProjectSet\\Project_InstallationService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_RoleButtonPowerrService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_RolePowerService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_SysSetService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UnitService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserButtonPowerrService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserPowerService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_WelderService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_WorkAreaService.cs"},{"SourceFile":"Common\\ReportPrint\\Common_ReportPrintService.cs"},{"SourceFile":"Common\\Resource\\Common_ConstructionStandardService.cs"},{"SourceFile":"Common\\Resource\\Common_LawRegulationService.cs"},{"SourceFile":"Common\\SysManage\\Sys_ButtonPowerService.cs"},{"SourceFile":"Common\\SysManage\\Sys_LogService.cs"},{"SourceFile":"Common\\SysManage\\Sys_RolePowerService.cs"},{"SourceFile":"Common\\SysManage\\Sys_RoleService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserSettingsService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserShowColumnsService.cs"},{"SourceFile":"Common\\UploadAttachmentService.cs"},{"SourceFile":"Common\\CommonService.cs"},{"SourceFile":"Common\\Const.cs"},{"SourceFile":"ConvertObject.cs"},{"SourceFile":"DropListService.cs"},{"SourceFile":"DynamicTHeaderHepler.cs"},{"SourceFile":"ErrLogInfo.cs"},{"SourceFile":"FriendlyException.cs"},{"SourceFile":"Funs.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ComponentsService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ConsumablesService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ControlService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_DetectionService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_EquipmentService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ExecStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_GrooveService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_HotProcessCardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_JointImageItemService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_JointImageService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialClassService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialCompareService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialGroupService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MediumService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_PipingClassService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_StandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_TestingService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_TestStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldControlService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldingMethodService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_CompanyStandardsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_DomesticLawsRegulationsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_DomesticStandardsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_ForeignStandardsService.cs"},{"SourceFile":"HJGLServer\\WeldingManage\\HJGL_WeldingManage_WeldingProcedureService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_BatchService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_BatchDetailService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_QualityRatingRepairService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_QualityRatingService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_RepairNoticeService.cs"},{"SourceFile":"HJGL\\CheckManage\\HJGL_RemakeReasonService.cs"},{"SourceFile":"HJGL\\CheckManage\\HJGL_TestingReportPrintService.cs"},{"SourceFile":"HJGL\\DataIn\\DataInTempService.cs"},{"SourceFile":"HJGL\\HotHardManage\\HJGL_CH_HardTestReportService.cs"},{"SourceFile":"HJGL\\HotHardManage\\HJGL_CH_HardTestResultService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_CH_HotProessResultService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_CH_HotProessTrustService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_HotProessManageEditService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_InStorageItemService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_InStorageService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_MaterialService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_PipeMaterialService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_StorageService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_BakeRecordsProjectService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_ElectrodeBakeService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_ElectrodeRecoveryService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EMaterialRegistService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EMInventoryRecordsService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EWeldRHRecordService.cs"},{"SourceFile":"HJGL\\MaterialManage\\QualityCertificateService.cs"},{"SourceFile":"HJGL\\MaterialManage\\TemperatureAndHumidityProjectService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_PersonManageService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_WelderQualifiedProjectService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_WelderScoreService.cs"},{"SourceFile":"HJGL\\RepairManage\\HJGL_RepairItemService.cs"},{"SourceFile":"HJGL\\RepairManage\\HJGL_RepairService.cs"},{"SourceFile":"HJGL\\TestPackageManage\\HJGL_TestPackageManageEditService.cs"},{"SourceFile":"HJGL\\TrustManage\\HJGL_CH_TrustItemService.cs"},{"SourceFile":"HJGL\\TrustManage\\HJGL_TrustManageEditService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_BO_PreWeldReportMainService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_CH_RepairItemRecordService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_MatchedProcedureMaterialService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_ProcedureImageService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_PW_IsoInfoService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_PW_JointInfoService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_TestingParametersService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_UserShowColumnsService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldHotProcessCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcedureJotService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcedureService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcessCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldRepairCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldReportService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WelderOKRateService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WelderOKRateStatisticsService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WeldRecordInService.cs"},{"SourceFile":"JGZL\\AcceptanceCertificateService.cs"},{"SourceFile":"JGZL\\CommencementReportService.cs"},{"SourceFile":"JGZL\\ConDrawingVerificationService.cs"},{"SourceFile":"JGZL\\ContactService.cs"},{"SourceFile":"JGZL\\HandoverCertificateService.cs"},{"SourceFile":"JGZL\\NDTPersonService.cs"},{"SourceFile":"JGZL\\SpecialEquipmentMaintenanceService.cs"},{"SourceFile":"JsonHelper.cs"},{"SourceFile":"libFace.cs"},{"SourceFile":"libOpenCV.cs"},{"SourceFile":"Logger.cs"},{"SourceFile":"MethodRefelect.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"RefComm.cs"},{"SourceFile":"ReportPrint\\ReportPrintService.cs"},{"SourceFile":"SendEmailService.cs"},{"SourceFile":"SessionName.cs"},{"SourceFile":"SoftRegeditService.cs"},{"SourceFile":"SQLHelper.cs"},{"SourceFile":"Common\\UploadFileService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\SpecificationsService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\StoremanInfoService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\SupplierService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\UnitStoreService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\WeldInfoService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\WeldTypeService.cs"},{"SourceFile":"WeldMat\\MatBake\\ElectrodeBakeService.cs"},{"SourceFile":"WeldMat\\Recycle\\RecycleMatService.cs"},{"SourceFile":"WeldMat\\Recycle\\RecycleMatTopService.cs"},{"SourceFile":"WeldMat\\Stock\\StockInitService.cs"},{"SourceFile":"WeldMat\\Stock\\StockInService.cs"},{"SourceFile":"WeldMat\\UsingPlan\\UsingPlanService.cs"},{"SourceFile":"WeldMat\\UsingSentMat\\UsingMatService.cs"},{"SourceFile":"WeldMat\\WeldMatDataBase\\BakeRecordsService.cs"},{"SourceFile":"WeldMat\\WeldMatDataBase\\TemperatureAndHumidityService.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.6.1.AssemblyAttributes.cs"}],"References":[{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\Portable.BouncyCastle.1.8.9\\lib\\net40\\BouncyCastle.Crypto.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Bars.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Compat.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Editor.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\FineUIPro\\FineUIPro.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\SharpZipLib.1.3.2\\lib\\net45\\ICSharpCode.SharpZipLib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\SQL2012 x86\\110\\SDK\\Assemblies\\Microsoft.SQLServer.ManagedDTS.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\Model\\bin\\Debug\\Model.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\Model\\bin\\Debug\\Model.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\Newtonsoft.Json.12.0.1\\lib\\net45\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OOXML.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXml4Net.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXmlFormats.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.DirectoryServices.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Management.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Runtime.Serialization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.ServiceModel.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Web.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"D:\\数据\\诺必达\\鼎盛\\HJGL_DS\\HJGL_DS\\BLL\\bin\\Debug\\BLL.dll","OutputItemRelativePath":"BLL.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}
\ No newline at end of file
+{"RootPath":"G:\\公司项目\\鼎盛\\HJGL_DS\\BLL","ProjectFileName":"BLL.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"API\\APIBaseServices.cs"},{"SourceFile":"API\\APIIsoInfoServicecs.cs"},{"SourceFile":"API\\APILoginServices.cs"},{"SourceFile":"API\\APIWeldingSynServic.cs"},{"SourceFile":"API\\APIJointInfoService.cs"},{"SourceFile":"API\\APIUnitInfoService.cs"},{"SourceFile":"API\\APIWeldServices.cs"},{"SourceFile":"AttachFile\\AttachFileService.cs"},{"SourceFile":"Common\\ADomainService.cs"},{"SourceFile":"Common\\BaseInfo\\AudiFlowService.cs"},{"SourceFile":"Common\\BaseInfo\\AuditFlowApproveService.cs.cs"},{"SourceFile":"Common\\BaseInfo\\Base_DepartService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_OrganizationService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_PrintFileCodeService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_ProjectService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_TeamGroupService.cs"},{"SourceFile":"Common\\BaseInfo\\Base_UnitService.cs"},{"SourceFile":"Common\\BaseInfo\\ProjectPlanService.cs"},{"SourceFile":"Common\\CacheHelper.cs"},{"SourceFile":"Common\\ChartControlService.cs"},{"SourceFile":"Common\\ConstValue.cs"},{"SourceFile":"Common\\FastReportService.cs"},{"SourceFile":"Common\\FileManage\\Common_FileManageService.cs"},{"SourceFile":"Common\\JsonHelper.cs"},{"SourceFile":"Common\\Migrated\\GetKey.cs"},{"SourceFile":"Common\\Migrated\\RSACrypto.cs"},{"SourceFile":"Common\\Migrated\\StringHelper.cs"},{"SourceFile":"Common\\Notice\\Attach_ImageService.cs"},{"SourceFile":"Common\\Notice\\Common_NoticeService.cs"},{"SourceFile":"Common\\Notice\\Common_NoticeSignService.cs"},{"SourceFile":"Common\\NPOIHelper.cs"},{"SourceFile":"Common\\ProjectSet\\Project_InstallationService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_RoleButtonPowerrService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_RolePowerService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_SysSetService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UnitService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserButtonPowerrService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserPowerService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_UserService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_WelderService.cs"},{"SourceFile":"Common\\ProjectSet\\Project_WorkAreaService.cs"},{"SourceFile":"Common\\ReportPrint\\Common_ReportPrintService.cs"},{"SourceFile":"Common\\Resource\\Common_ConstructionStandardService.cs"},{"SourceFile":"Common\\Resource\\Common_LawRegulationService.cs"},{"SourceFile":"Common\\SysManage\\Sys_ButtonPowerService.cs"},{"SourceFile":"Common\\SysManage\\Sys_LogService.cs"},{"SourceFile":"Common\\SysManage\\Sys_RolePowerService.cs"},{"SourceFile":"Common\\SysManage\\Sys_RoleService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserSettingsService.cs"},{"SourceFile":"Common\\SysManage\\Sys_UserShowColumnsService.cs"},{"SourceFile":"Common\\UploadAttachmentService.cs"},{"SourceFile":"Common\\CommonService.cs"},{"SourceFile":"Common\\Const.cs"},{"SourceFile":"ConvertObject.cs"},{"SourceFile":"DropListService.cs"},{"SourceFile":"DynamicTHeaderHepler.cs"},{"SourceFile":"ErrLogInfo.cs"},{"SourceFile":"FriendlyException.cs"},{"SourceFile":"Funs.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ComponentsService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ConsumablesService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ControlService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_DetectionService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_EquipmentService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_ExecStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_GrooveService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_HotProcessCardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_JointImageItemService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_JointImageService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialClassService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialCompareService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialGroupService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MaterialStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_MediumService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_PipingClassService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_StandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_TestingService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_TestStandardService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldControlService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldingMethodService.cs"},{"SourceFile":"HJGLServer\\BaseInfo\\HJGL_WeldService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_CompanyStandardsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_DomesticLawsRegulationsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_DomesticStandardsService.cs"},{"SourceFile":"HJGLServer\\FileControl\\HJGL_FileControl_ForeignStandardsService.cs"},{"SourceFile":"HJGLServer\\WeldingManage\\HJGL_WeldingManage_WeldingProcedureService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_BatchService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_BatchDetailService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_QualityRatingRepairService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_QualityRatingService.cs"},{"SourceFile":"HJGL\\Batch\\HJGL_BO_RepairNoticeService.cs"},{"SourceFile":"HJGL\\CheckManage\\HJGL_RemakeReasonService.cs"},{"SourceFile":"HJGL\\CheckManage\\HJGL_TestingReportPrintService.cs"},{"SourceFile":"HJGL\\DataIn\\DataInTempService.cs"},{"SourceFile":"HJGL\\HotHardManage\\HJGL_CH_HardTestReportService.cs"},{"SourceFile":"HJGL\\HotHardManage\\HJGL_CH_HardTestResultService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_CH_HotProessResultService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_CH_HotProessTrustService.cs"},{"SourceFile":"HJGL\\HotProessManage\\HJGL_HotProessManageEditService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_InStorageItemService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_InStorageService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_MaterialService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_PipeMaterialService.cs"},{"SourceFile":"HJGL\\Match\\HJGL_Match_StorageService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_BakeRecordsProjectService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_ElectrodeBakeService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_ElectrodeRecoveryService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EMaterialRegistService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EMInventoryRecordsService.cs"},{"SourceFile":"HJGL\\MaterialManage\\HJGL_EWeldRHRecordService.cs"},{"SourceFile":"HJGL\\MaterialManage\\QualityCertificateService.cs"},{"SourceFile":"HJGL\\MaterialManage\\TemperatureAndHumidityProjectService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_PersonManageService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_WelderQualifiedProjectService.cs"},{"SourceFile":"HJGL\\PersonManage\\HJGL_WelderScoreService.cs"},{"SourceFile":"HJGL\\RepairManage\\HJGL_RepairItemService.cs"},{"SourceFile":"HJGL\\RepairManage\\HJGL_RepairService.cs"},{"SourceFile":"HJGL\\TestPackageManage\\HJGL_TestPackageManageEditService.cs"},{"SourceFile":"HJGL\\TrustManage\\HJGL_CH_TrustItemService.cs"},{"SourceFile":"HJGL\\TrustManage\\HJGL_TrustManageEditService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_BO_PreWeldReportMainService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_CH_RepairItemRecordService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_MatchedProcedureMaterialService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_ProcedureImageService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_PW_IsoInfoService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_PW_JointInfoService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_TestingParametersService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_UserShowColumnsService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldHotProcessCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcedureJotService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcedureService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldingProcessCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldRepairCardService.cs"},{"SourceFile":"HJGL\\WeldingManage\\HJGL_WeldReportService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WelderOKRateService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WelderOKRateStatisticsService.cs"},{"SourceFile":"HJGL\\WeldingManage\\WeldRecordInService.cs"},{"SourceFile":"JGZL\\AcceptanceCertificateService.cs"},{"SourceFile":"JGZL\\BlowingCleaningItemService.cs"},{"SourceFile":"JGZL\\BlowingCleaningService.cs"},{"SourceFile":"JGZL\\CommencementReportService.cs"},{"SourceFile":"JGZL\\ConDrawingVerificationService.cs"},{"SourceFile":"JGZL\\ContactService.cs"},{"SourceFile":"JGZL\\ElectrostaticGroundingService.cs"},{"SourceFile":"JGZL\\HandoverCertificateService.cs"},{"SourceFile":"JGZL\\MeasuringInstrumentsService.cs"},{"SourceFile":"JGZL\\NDTPersonService.cs"},{"SourceFile":"JGZL\\QualityControlPointInspectionService.cs"},{"SourceFile":"JGZL\\SpecialEquipmentMaintenanceService.cs"},{"SourceFile":"JGZL\\TeamWeldingInspectionItemService.cs"},{"SourceFile":"JGZL\\TeamWeldingInspectionService.cs"},{"SourceFile":"JsonHelper.cs"},{"SourceFile":"libFace.cs"},{"SourceFile":"libOpenCV.cs"},{"SourceFile":"Logger.cs"},{"SourceFile":"MethodRefelect.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"RefComm.cs"},{"SourceFile":"ReportPrint\\ReportPrintService.cs"},{"SourceFile":"SendEmailService.cs"},{"SourceFile":"SessionName.cs"},{"SourceFile":"SoftRegeditService.cs"},{"SourceFile":"SQLHelper.cs"},{"SourceFile":"Common\\UploadFileService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\SpecificationsService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\StoremanInfoService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\SupplierService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\UnitStoreService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\WeldInfoService.cs"},{"SourceFile":"WeldMat\\BaseInfo\\WeldTypeService.cs"},{"SourceFile":"WeldMat\\MatBake\\ElectrodeBakeService.cs"},{"SourceFile":"WeldMat\\Recycle\\RecycleMatService.cs"},{"SourceFile":"WeldMat\\Recycle\\RecycleMatTopService.cs"},{"SourceFile":"WeldMat\\Stock\\StockInitService.cs"},{"SourceFile":"WeldMat\\Stock\\StockInService.cs"},{"SourceFile":"WeldMat\\UsingPlan\\UsingPlanService.cs"},{"SourceFile":"WeldMat\\UsingSentMat\\UsingMatService.cs"},{"SourceFile":"WeldMat\\WeldMatDataBase\\BakeRecordsService.cs"},{"SourceFile":"WeldMat\\WeldMatDataBase\\TemperatureAndHumidityService.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.6.1.AssemblyAttributes.cs"}],"References":[{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\Portable.BouncyCastle.1.8.9\\lib\\net40\\BouncyCastle.Crypto.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Bars.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Compat.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Editor.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\Reference BLL\\FastReport.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\FineUIPro\\FineUIPro.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\SharpZipLib.1.3.2\\lib\\net45\\ICSharpCode.SharpZipLib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\Microsoft.SQLServer.ManagedDTS\\v4.0_16.0.0.0__89845dcd8080cc91\\Microsoft.SQLServer.ManagedDTS.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\Model\\bin\\Debug\\Model.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"G:\\公司项目\\鼎盛\\HJGL_DS\\Model\\bin\\Debug\\Model.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\Newtonsoft.Json.12.0.1\\lib\\net45\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OOXML.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXml4Net.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXmlFormats.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.DirectoryServices.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Management.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Runtime.Caching.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Runtime.Serialization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.ServiceModel.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Web.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.6.1\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"G:\\公司项目\\鼎盛\\HJGL_DS\\BLL\\bin\\Debug\\BLL.dll","OutputItemRelativePath":"BLL.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}
\ No newline at end of file
diff --git a/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj
index 992ccb0..3ea6fa4 100644
--- a/HJGL_DS/BLL/BLL.csproj
+++ b/HJGL_DS/BLL/BLL.csproj
@@ -247,10 +247,14 @@
+
+
+
+
diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs
index eca9512..766efb1 100644
--- a/HJGL_DS/BLL/Common/Const.cs
+++ b/HJGL_DS/BLL/Common/Const.cs
@@ -1805,6 +1805,24 @@ namespace BLL
/// 质量控制点检查记录
///
public const string JGZL_QualityControlPointInspectionMenuId = "594F3A00-5B63-4149-9250-3A048397D537";
+
+ ///
+ /// 管道静电接地测试记录
+ ///
+ public const string JGZL_ElectrostaticGroundingMenuId = "62B150A1-37F3-44FE-A884-103E15BB47AC";
+
+ ///
+ /// 管道吹扫/清洗检验记录
+ ///
+ public const string JGZL_BlowingCleaningMenuId = "E64FC226-8164-43F7-AA4D-6E268EDEC5BC";
+
+
+ ///
+ /// 材料质量证明文件一览表
+ ///
+ public const string JGZL_MaterialQualityCertificateDocMenuId = "1334FD4F-221E-422A-9038-3ED86A50E8EC";
+
+
#endregion
#region 报表对应ID
diff --git a/HJGL_DS/BLL/JGZL/BlowingCleaningItemService.cs b/HJGL_DS/BLL/JGZL/BlowingCleaningItemService.cs
new file mode 100644
index 0000000..3cb1b20
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/BlowingCleaningItemService.cs
@@ -0,0 +1,133 @@
+using FastReport.DevComponents.DotNetBar;
+using Model;
+using NPOI.OpenXmlFormats.Dml.Diagram;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Web.UI.WebControls;
+
+namespace BLL
+{
+ ///
+ /// 管道吹扫/清洗检验记录明细
+ ///
+ public class BlowingCleaningItemService
+ {
+ ///
+ /// 根据主键获取明细信息
+ ///
+ ///
+ ///
+ public static Model.JGZL_BlowingCleaningItem GetBlowingCleaningItemById(string itemId)
+ {
+ return Funs.DB.JGZL_BlowingCleaningItem.FirstOrDefault(e => e.BlowingCleaningItemId == itemId);
+ }
+
+ ///
+ /// 根据主表Id获取明细列表
+ ///
+ ///
+ ///
+ public static List GetBlowingCleaningItemList(string blowingCleaningId)
+ {
+ return (from x in Funs.DB.JGZL_BlowingCleaningItem where x.BlowingCleaningId == blowingCleaningId select x).ToList();
+ }
+
+ ///
+ /// 添加
+ ///
+ ///
+ public static void AddBlowingCleaningItem(Model.JGZL_BlowingCleaningItem item)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaningItem newItem = new JGZL_BlowingCleaningItem();
+ newItem.BlowingCleaningItemId = item.BlowingCleaningItemId;
+ newItem.BlowingCleaningId = item.BlowingCleaningId;
+ newItem.ISO_Id = item.ISO_Id;
+ newItem.STE_ID = item.STE_ID;
+ newItem.OperatingMedium = item.OperatingMedium;
+ newItem.CleaningMedium = item.CleaningMedium;
+ newItem.ScrubbingMedium = item.ScrubbingMedium;
+ db.JGZL_BlowingCleaningItem.InsertOnSubmit(newItem);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ public static void UpdateBlowingCleaningItem(Model.JGZL_BlowingCleaningItem item)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaningItem newItem = db.JGZL_BlowingCleaningItem.FirstOrDefault(e => e.BlowingCleaningItemId == item.BlowingCleaningItemId);
+ if (newItem != null)
+ {
+ newItem.ISO_Id = item.ISO_Id;
+ newItem.STE_ID = item.STE_ID;
+ newItem.OperatingMedium = item.OperatingMedium;
+ newItem.CleaningMedium = item.CleaningMedium;
+ newItem.ScrubbingMedium = item.ScrubbingMedium;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主表Id删除相关明细信息
+ ///
+ ///
+ public static void DeleteBlowingCleaningItemList(string blowingCleaningId)
+ {
+ SGGLDB db = Funs.DB;
+ var q = (from x in db.JGZL_BlowingCleaningItem where x.BlowingCleaningId == blowingCleaningId select x).ToList();
+ if (q != null)
+ {
+ db.JGZL_BlowingCleaningItem.DeleteAllOnSubmit(q);
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除明细信息
+ ///
+ ///
+ public static void DeleteBlowingCleaningItemById(string blowingCleaningItemId)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaningItem item = db.JGZL_BlowingCleaningItem.FirstOrDefault(e => e.BlowingCleaningItemId == blowingCleaningItemId);
+ if (item != null)
+ {
+ db.JGZL_BlowingCleaningItem.DeleteOnSubmit(item);
+ db.SubmitChanges();
+ }
+ }
+
+ public static List GetBlowingCleaningItem(string hdItemsString)
+ {
+ var isoInfos = from x in Funs.DB.HJGL_PW_IsoInfo select x;
+ List returnViewMatch = new List();
+ if (!string.IsNullOrEmpty(hdItemsString))
+ {
+ List isoIds = Funs.GetStrListByStr(hdItemsString, '|');
+ foreach (var isoItem in isoIds)
+ {
+ string[] strs = isoItem.Split(',');
+
+ var isoInfo = isoInfos.FirstOrDefault(x => x.ISO_ID == strs[0]);
+ if (isoInfo != null)
+ {
+ Model.BlowingCleaningItem newItem = new Model.BlowingCleaningItem();
+ newItem.BlowingCleaningItemId = SQLHelper.GetNewID(typeof(Model.BlowingCleaningItem));
+ newItem.ISO_Id = isoInfo.ISO_ID;
+ newItem.ISO_IsoNo = isoInfo.ISO_IsoNo;
+ newItem.STE_ID = isoInfo.STE_ID;
+ newItem.STE_Code = BLL.HJGL_MaterialService.GetSteelBySteID(isoInfo.STE_ID).STE_Code;
+ returnViewMatch.Add(newItem);
+ }
+ }
+ }
+ return returnViewMatch;
+ }
+ }
+}
diff --git a/HJGL_DS/BLL/JGZL/BlowingCleaningService.cs b/HJGL_DS/BLL/JGZL/BlowingCleaningService.cs
new file mode 100644
index 0000000..0559e4e
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/BlowingCleaningService.cs
@@ -0,0 +1,75 @@
+using Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ public class BlowingCleaningService
+ {
+ ///
+ /// 管道吹扫/清洗检验记录
+ ///
+ ///
+ ///
+ public static Model.JGZL_BlowingCleaning GetBlowingCleaningById(string blowingCleaningId)
+ {
+ return Funs.DB.JGZL_BlowingCleaning.FirstOrDefault(e => e.BlowingCleaningId == blowingCleaningId);
+ }
+
+ ///
+ /// 添加吹扫/清洗检验记录
+ ///
+ ///
+ public static void AddBlowingCleaning(Model.JGZL_BlowingCleaning blowingCleaning)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaning newBlowingCleaning = new Model.JGZL_BlowingCleaning();
+ newBlowingCleaning.BlowingCleaningId = blowingCleaning.BlowingCleaningId;
+ newBlowingCleaning.ProjectId = blowingCleaning.ProjectId;
+ newBlowingCleaning.BlowingCleaningDate = blowingCleaning.BlowingCleaningDate;
+ newBlowingCleaning.SystemName = blowingCleaning.SystemName;
+ newBlowingCleaning.SystemCode = blowingCleaning.SystemCode;
+ newBlowingCleaning.Results = blowingCleaning.Results;
+ newBlowingCleaning.CompileMan = blowingCleaning.CompileMan;
+ newBlowingCleaning.CompileDate = blowingCleaning.CompileDate;
+ db.JGZL_BlowingCleaning.InsertOnSubmit(newBlowingCleaning);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改吹扫/清洗检验记录
+ ///
+ ///
+ public static void UpdateBlowingCleaning(Model.JGZL_BlowingCleaning blowingCleaning)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaning newBlowingCleaning = db.JGZL_BlowingCleaning.FirstOrDefault(e => e.BlowingCleaningId == blowingCleaning.BlowingCleaningId);
+ if (newBlowingCleaning != null)
+ {
+ newBlowingCleaning.BlowingCleaningDate = blowingCleaning.BlowingCleaningDate;
+ newBlowingCleaning.SystemName = blowingCleaning.SystemName;
+ newBlowingCleaning.SystemCode = blowingCleaning.SystemCode;
+ newBlowingCleaning.Results = blowingCleaning.Results;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除吹扫/清洗检验记录
+ ///
+ ///
+ public static void DeleteBlowingCleaningById(string blowingCleaningId)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.JGZL_BlowingCleaning blowingCleaning = db.JGZL_BlowingCleaning.FirstOrDefault(e => e.BlowingCleaningId == blowingCleaningId);
+ if (blowingCleaning != null)
+ {
+ db.JGZL_BlowingCleaning.DeleteOnSubmit(blowingCleaning);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/BLL/JGZL/ElectrostaticGroundingService.cs b/HJGL_DS/BLL/JGZL/ElectrostaticGroundingService.cs
new file mode 100644
index 0000000..1700140
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/ElectrostaticGroundingService.cs
@@ -0,0 +1,88 @@
+using Model;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ ///
+ /// 管道静电接地测试记录
+ ///
+ public class ElectrostaticGroundingService
+ {
+ ///
+ /// 根据主键获取管道静电接地测试记录
+ ///
+ ///
+ ///
+ public static Model.JGZL_ElectrostaticGrounding GetElectrostaticGroundingById(string electrostaticGroundingId)
+ {
+ return Funs.DB.JGZL_ElectrostaticGrounding.FirstOrDefault(e => e.ElectrostaticGroundingId == electrostaticGroundingId);
+ }
+
+ ///
+ /// 添加
+ ///
+ ///
+ public static void AddElectrostaticGrounding(Model.JGZL_ElectrostaticGrounding electrostaticGrounding)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_ElectrostaticGrounding newElectrostaticGrounding = new JGZL_ElectrostaticGrounding();
+ newElectrostaticGrounding.ElectrostaticGroundingId = electrostaticGrounding.ElectrostaticGroundingId;
+ newElectrostaticGrounding.ProjectId = electrostaticGrounding.ProjectId;
+ newElectrostaticGrounding.PipelineCode = electrostaticGrounding.PipelineCode;
+ newElectrostaticGrounding.ConnectionType = electrostaticGrounding.ConnectionType;
+ newElectrostaticGrounding.BWSpecification = electrostaticGrounding.BWSpecification;
+ newElectrostaticGrounding.BWMaterial = electrostaticGrounding.BWMaterial;
+ newElectrostaticGrounding.BWResistance = electrostaticGrounding.BWResistance;
+ newElectrostaticGrounding.GWSpecification = electrostaticGrounding.GWSpecification;
+ newElectrostaticGrounding.GWMaterial = electrostaticGrounding.GWMaterial;
+ newElectrostaticGrounding.GWResistance = electrostaticGrounding.GWResistance;
+ newElectrostaticGrounding.CompileMan = electrostaticGrounding.CompileMan;
+ newElectrostaticGrounding.CompileDate = electrostaticGrounding.CompileDate;
+ db.JGZL_ElectrostaticGrounding.InsertOnSubmit(newElectrostaticGrounding);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ public static void UpdateElectrostaticGrounding(Model.JGZL_ElectrostaticGrounding electrostaticGrounding)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_ElectrostaticGrounding newElectrostaticGrounding = db.JGZL_ElectrostaticGrounding.FirstOrDefault(e => e.ElectrostaticGroundingId == electrostaticGrounding.ElectrostaticGroundingId);
+ if (newElectrostaticGrounding != null)
+ {
+ newElectrostaticGrounding.PipelineCode = electrostaticGrounding.PipelineCode;
+ newElectrostaticGrounding.ConnectionType = electrostaticGrounding.ConnectionType;
+ newElectrostaticGrounding.BWSpecification = electrostaticGrounding.BWSpecification;
+ newElectrostaticGrounding.BWMaterial = electrostaticGrounding.BWMaterial;
+ newElectrostaticGrounding.BWResistance = electrostaticGrounding.BWResistance;
+ newElectrostaticGrounding.GWSpecification = electrostaticGrounding.GWSpecification;
+ newElectrostaticGrounding.GWMaterial = electrostaticGrounding.GWMaterial;
+ newElectrostaticGrounding.GWResistance = electrostaticGrounding.GWResistance;
+ newElectrostaticGrounding.CompileMan = electrostaticGrounding.CompileMan;
+ newElectrostaticGrounding.CompileDate = electrostaticGrounding.CompileDate;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除管道静电接地测试记录
+ ///
+ ///
+ public static void DeleteElectrostaticGroundingById(string electrostaticGroundingId)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_ElectrostaticGrounding electrostaticGrounding = db.JGZL_ElectrostaticGrounding.FirstOrDefault(e => e.ElectrostaticGroundingId == electrostaticGroundingId);
+ if (electrostaticGrounding != null)
+ {
+ db.JGZL_ElectrostaticGrounding.DeleteOnSubmit(electrostaticGrounding);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/HJGL_DS/BLL/JGZL/MaterialQualityCertificateDocService.cs b/HJGL_DS/BLL/JGZL/MaterialQualityCertificateDocService.cs
new file mode 100644
index 0000000..dd38a0c
--- /dev/null
+++ b/HJGL_DS/BLL/JGZL/MaterialQualityCertificateDocService.cs
@@ -0,0 +1,92 @@
+using Model;
+using System.Linq;
+
+namespace BLL
+{
+ ///
+ /// 材料质量证明文件一览表
+ ///
+ public class MaterialQualityCertificateDocService
+ {
+ ///
+ /// 根据主键获取材料质量证明文件一览表
+ ///
+ ///
+ ///
+ public static Model.JGZL_MaterialQualityCertificateDoc GetMaterialQualityCertificateDocById(string Id)
+ {
+ return Funs.DB.JGZL_MaterialQualityCertificateDoc.FirstOrDefault(e => e.MaterialId == Id);
+ }
+
+ ///
+ /// 添加材料质量证明文件一览表
+ ///
+ ///
+ public static void AddMaterialQualityCertificateDoc(Model.JGZL_MaterialQualityCertificateDoc model)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_MaterialQualityCertificateDoc newModel = new JGZL_MaterialQualityCertificateDoc();
+ newModel.MaterialId = model.MaterialId;
+ newModel.ProjectId = model.ProjectId;
+ newModel.MaterialName = model.MaterialName;
+ newModel.MaterialCode = model.MaterialCode;
+ newModel.SerialCode = model.SerialCode;
+ newModel.Material = model.Material;
+ newModel.Specification = model.Specification;
+ newModel.Manufacturer = model.Manufacturer;
+ newModel.Unit = model.Unit;
+ newModel.TotalNum = model.TotalNum;
+ newModel.ReInspectionReportCode = model.ReInspectionReportCode;
+ newModel.ReceivingUnit = model.ReceivingUnit;
+ newModel.DrawNum = model.DrawNum;
+ newModel.Remark = model.Remark;
+ newModel.CompileMan = model.CompileMan;
+ newModel.CompileDate = model.CompileDate;
+ newModel.Reviewer = model.Reviewer;
+ newModel.RevieweDate = model.RevieweDate;
+ db.JGZL_MaterialQualityCertificateDoc.InsertOnSubmit(newModel);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改材料质量证明文件一览表
+ ///
+ ///
+ public static void UpdateMaterialQualityCertificateDoc(Model.JGZL_MaterialQualityCertificateDoc model)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_MaterialQualityCertificateDoc newModel = db.JGZL_MaterialQualityCertificateDoc.FirstOrDefault(e => e.MaterialId == model.MaterialId);
+ if (newModel != null)
+ {
+ newModel.MaterialName = model.MaterialName;
+ newModel.MaterialCode = model.MaterialCode;
+ newModel.SerialCode = model.SerialCode;
+ newModel.Material = model.Material;
+ newModel.Specification = model.Specification;
+ newModel.Manufacturer = model.Manufacturer;
+ newModel.Unit = model.Unit;
+ newModel.TotalNum = model.TotalNum;
+ newModel.ReInspectionReportCode = model.ReInspectionReportCode;
+ newModel.ReceivingUnit = model.ReceivingUnit;
+ newModel.DrawNum = model.DrawNum;
+ newModel.Remark = model.Remark;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除材料质量证明文件一览表
+ ///
+ ///
+ public static void DeleteMaterialQualityCertificateDocById(string Id)
+ {
+ SGGLDB db = Funs.DB;
+ Model.JGZL_MaterialQualityCertificateDoc model = db.JGZL_MaterialQualityCertificateDoc.FirstOrDefault(e => e.MaterialId == Id);
+ if (model != null)
+ {
+ db.JGZL_MaterialQualityCertificateDoc.DeleteOnSubmit(model);
+ db.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/ErrLog.txt b/HJGL_DS/FineUIPro.Web/ErrLog.txt
deleted file mode 100644
index 42a2752..0000000
--- a/HJGL_DS/FineUIPro.Web/ErrLog.txt
+++ /dev/null
@@ -1,258 +0,0 @@
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.HJGL.WeldingManage.WeldReportEdit.Page_Load(Object sender, EventArgs e) 位置 D:\工作\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\HJGL\WeldingManage\WeldReportEdit.aspx.cs:行号 45
- 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/13/2025 16:42:58
-出错文件:http://localhost:60961/HJGL/WeldingManage/WeldReportEdit.aspx
-IP地址:::1
-
-出错时间:12/13/2025 16:42:58
-
-出错时间:12/13/2025 16:42:58
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.HJGL.WeldingManage.WeldReportEdit.Page_Load(Object sender, EventArgs e) 位置 D:\工作\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\HJGL\WeldingManage\WeldReportEdit.aspx.cs:行号 45
- 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/15/2025 08:50:35
-出错文件:http://localhost:60961/HJGL/WeldingManage/WeldReportEdit.aspx
-IP地址:::1
-
-出错时间:12/15/2025 08:50:35
-
-出错时间:12/15/2025 08:50:35
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.HJGL.WeldingManage.WeldReportEdit.Page_Load(Object sender, EventArgs e) 位置 D:\工作\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\HJGL\WeldingManage\WeldReportEdit.aspx.cs:行号 45
- 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/15/2025 09:57:23
-出错文件:http://localhost:60961/HJGL/WeldingManage/WeldReportEdit.aspx
-IP地址:::1
-
-出错时间:12/15/2025 09:57:23
-
-
-错误信息开始=====>
-错误类型:HttpException
-错误信息:服务器无法在发送 HTTP 标头之后设置内容类型。
-错误堆栈:
- 在 System.Web.HttpResponse.set_ContentType(String value)
- 在 (HttpResponse , String )
- 在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.hXMADyGEgDdbFxdyPzsZtZEjxqkq()
- 在 (hZzEMoBFowQHNetYNlTaFyfiuHiLc )
- 在 hZzEMoBFowQHNetYNlTaFyfiuHiLc.hXMADyGEgDdbFxdyPzsZtZEjxqkq(Object , EventArgs )
- 在 System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/15/2025 10:15:48
-出错文件:http://localhost:60961/HJGL/DataIn/WeldReportIn.aspx
-IP地址:::1
-操作人员:管理员
-
-出错时间:12/15/2025 10:15:48
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.JGZL.ConDrawingVerification.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\ConDrawingVerification.aspx.cs:行号 30
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/17/2025 23:03:12
-出错文件:http://localhost:60961/JGZL/ConDrawingVerification.aspx
-IP地址:::1
-
-出错时间:12/17/2025 23:03:12
-
-出错时间:12/17/2025 23:03:12
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.JGZL.ConDrawingVerification.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\ConDrawingVerification.aspx.cs:行号 30
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/17/2025 23:07:59
-出错文件:http://localhost:60961/JGZL/ConDrawingVerification.aspx
-IP地址:::1
-
-出错时间:12/17/2025 23:07:59
-
-出错时间:12/17/2025 23:07:59
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/18/2025 17:40:31
-出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
-IP地址:::1
-
-出错时间:12/18/2025 17:40:31
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/18/2025 17:40:51
-出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
-IP地址:::1
-
-出错时间:12/18/2025 17:40:51
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.common.ProjectSet.ProjectWelder.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\ProjectSet\ProjectWelder.aspx.cs:行号 26
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/18/2025 17:41:12
-出错文件:http://localhost:60961/common/ProjectSet/ProjectWelder.aspx
-IP地址:::1
-
-出错时间:12/18/2025 17:41:12
-
-
-错误信息开始=====>
-错误类型:NullReferenceException
-错误信息:未将对象引用设置到对象的实例。
-错误堆栈:
- 在 FineUIPro.Web.JGZL.NDTPerson.Page_Load(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\NDTPerson.aspx.cs:行号 30
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/18/2025 23:16:32
-出错文件:http://localhost:60961/JGZL/NDTPerson.aspx
-IP地址:::1
-
-出错时间:12/18/2025 23:16:32
-
-出错时间:12/18/2025 23:16:32
-
-
-错误信息开始=====>
-错误类型:HttpCompileException
-错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(21): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“drpProjectId_SelectedIndexChanged”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“drpProjectId_SelectedIndexChanged”(是否缺少 using 指令或程序集引用?)
-错误堆栈:
- 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
- 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
- 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
- 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
- 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
- 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-出错时间:12/19/2025 11:12:55
-出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
-IP地址:::1
-
-出错时间:12/19/2025 11:12:55
-
-
-错误信息开始=====>
-错误类型:HttpCompileException
-错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(49): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“Grid1_RowDoubleClick”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“Grid1_RowDoubleClick”(是否缺少 using 指令或程序集引用?)
-错误堆栈:
- 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
- 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
- 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
- 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
- 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
- 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-出错时间:12/19/2025 11:14:30
-出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
-IP地址:::1
-
-出错时间:12/19/2025 11:14:30
-
-
-错误信息开始=====>
-错误类型:HttpCompileException
-错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx(104): error CS1061: “ASP.jgzl_qualifiedwelder_aspx”不包含“btnMenuEdit_Click”的定义,并且找不到可接受类型为“ASP.jgzl_qualifiedwelder_aspx”的第一个参数的扩展方法“btnMenuEdit_Click”(是否缺少 using 指令或程序集引用?)
-错误堆栈:
- 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
- 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
- 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
- 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
- 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
- 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-出错时间:12/19/2025 11:15:13
-出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
-IP地址:::1
-
-出错时间:12/19/2025 11:15:13
-
-
-错误信息开始=====>
-错误类型:HttpException
-错误信息:无法使用前导 .. 在顶级目录上退出。
-错误堆栈:
- 在 System.Web.Util.UrlPath.ReduceVirtualPath(String path)
- 在 System.Web.Util.UrlPath.Reduce(String path)
- 在 System.Web.UI.Control.ResolveUrl(String relativeUrl)
- 在 FineUIPro.PanelBase.GSrWIYotvABObntvwvkykLQRmkPj(String )
- 在 FineUIPro.Window.GetShowReference(String iframeUrl, String windowTitle, Unit width, Unit height)
- 在 (Window , String , String , Unit , Unit )
- 在 FineUIPro.Window.GetShowReference(String iframeUrl, String windowTitle)
- 在 FineUIPro.Web.JGZL.QualifiedWelder.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\QualifiedWelder.aspx.cs:行号 203
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:12/19/2025 11:16:01
-出错文件:http://localhost:60961/JGZL/QualifiedWelder.aspx
-IP地址:::1
-操作人员:管理员
-
-出错时间:12/19/2025 11:16:01
-
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
index f6ae26c..37436df 100644
--- a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/合格焊工登记表.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
-
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道吹扫、清洗检验记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道吹扫、清洗检验记录.frx
new file mode 100644
index 0000000..c7a323f
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道吹扫、清洗检验记录.frx
@@ -0,0 +1,248 @@
+
+
+ using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+using System.Data;
+using FastReport;
+using FastReport.Data;
+using FastReport.Dialog;
+using FastReport.Barcode;
+using FastReport.Table;
+using FastReport.Utils;
+
+namespace FastReport
+{
+ public class ReportScript
+ {
+
+ private void Table3_ManualBuild(object sender, EventArgs e)
+ {
+ DataSourceBase rowData = Report.GetDataSource("Data");
+ // init the data source
+ rowData.Init();
+
+ // print the first table row - it is a header
+
+ // now enumerate the data source and print the table body
+ while (rowData.HasMoreRows)
+ {
+ // print the table body
+ Table3.PrintRow(0);
+ Table3.PrintColumns();
+
+ // go next data source row
+ rowData.Next();
+ }
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测委托单.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测委托单.frx
new file mode 100644
index 0000000..00ce7e8
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测委托单.frx
@@ -0,0 +1,296 @@
+
+
+ using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+using System.Data;
+using FastReport;
+using FastReport.Data;
+using FastReport.Dialog;
+using FastReport.Barcode;
+using FastReport.Table;
+using FastReport.Utils;
+
+namespace FastReport
+{
+ public class ReportScript
+ {
+
+ private void Table2_ManualBuild(object sender, EventArgs e)
+ {
+ DataSourceBase rowData = Report.GetDataSource("Data");
+ // init the data source
+ rowData.Init();
+
+ // print the first table row - it is a header
+
+ // now enumerate the data source and print the table body
+ while (rowData.HasMoreRows)
+ {
+ // print the table body
+ Table2.PrintRow(0);
+ Table2.PrintColumns();
+
+ // go next data source row
+ rowData.Next();
+ }
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测总委托单.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测总委托单.frx
new file mode 100644
index 0000000..9ea3f68
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测总委托单.frx
@@ -0,0 +1,273 @@
+
+
+ using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Drawing;
+using System.Data;
+using FastReport;
+using FastReport.Data;
+using FastReport.Dialog;
+using FastReport.Barcode;
+using FastReport.Table;
+using FastReport.Utils;
+
+namespace FastReport
+{
+ public class ReportScript
+ {
+
+ private void Table3_ManualBuild(object sender, EventArgs e)
+ {
+ DataSourceBase rowData = Report.GetDataSource("Data");
+ // init the data source
+ rowData.Init();
+
+ // print the first table row - it is a header
+
+ // now enumerate the data source and print the table body
+ while (rowData.HasMoreRows)
+ {
+ // print the table body
+ Table3.PrintRow(0);
+ Table3.PrintColumns();
+
+ // go next data source row
+ rowData.Next();
+ }
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道静电接地测试记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道静电接地测试记录.frx
new file mode 100644
index 0000000..d041472
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道静电接地测试记录.frx
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/射线检测报告(新).frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/射线检测报告(新).frx
index 964d488..b249015 100644
--- a/HJGL_DS/FineUIPro.Web/File/Fastreport/射线检测报告(新).frx
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/射线检测报告(新).frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -63,7 +63,7 @@ namespace FastReport
}
-
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊口检测委托单.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊口检测委托单.frx
index a7dba0e..a82fa9d 100644
--- a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊口检测委托单.frx
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊口检测委托单.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
-
+
diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊缝检测委托单.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊缝检测委托单.frx
index f0b0b56..2270db9 100644
--- a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊缝检测委托单.frx
+++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊缝检测委托单.frx
@@ -1,5 +1,5 @@
-
+
using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
-
+
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
index 466839c..837de6c 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1243,18 +1243,27 @@
+
+
+
+
+
+
+
+
+
@@ -6558,6 +6567,27 @@
AcceptanceCertificateEdit.aspx
+
+ BlowingCleaning.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaning.aspx
+
+
+ BlowingCleaningEdit.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaningEdit.aspx
+
+
+ BlowingCleaningSearch.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaningSearch.aspx
+
CommencementReport.aspx
ASPXCodeBehind
@@ -6600,6 +6630,20 @@
ContactEdit.aspx
+
+ ElectrostaticGrounding.aspx
+ ASPXCodeBehind
+
+
+ ElectrostaticGrounding.aspx
+
+
+ ElectrostaticGroundingEdit.aspx
+ ASPXCodeBehind
+
+
+ ElectrostaticGroundingEdit.aspx
+
HandoverCertificate.aspx
ASPXCodeBehind
@@ -6614,6 +6658,13 @@
HandoverCertificateEdit.aspx
+
+ MaterialQualityCertificateDoc.aspx
+ ASPXCodeBehind
+
+
+ MaterialQualityCertificateDoc.aspx
+
MeasuringInstruments.aspx
ASPXCodeBehind
@@ -6621,6 +6672,13 @@
MeasuringInstruments.aspx
+
+ MaterialQualityCertificateDocEdit.aspx
+ ASPXCodeBehind
+
+
+ MaterialQualityCertificateDocEdit.aspx
+
MeasuringInstrumentsEdit.aspx
ASPXCodeBehind
@@ -6642,6 +6700,20 @@
NDTPersonEdit.aspx
+
+ PipelineTotalTrust.aspx
+ ASPXCodeBehind
+
+
+ PipelineTotalTrust.aspx
+
+
+ PipelineWeldJointTrust.aspx
+ ASPXCodeBehind
+
+
+ PipelineWeldJointTrust.aspx
+
PipeWeldingWorkRecord.aspx
ASPXCodeBehind
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx
new file mode 100644
index 0000000..19ddd59
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx
@@ -0,0 +1,115 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlowingCleaning.aspx.cs" Inherits="FineUIPro.Web.JGZL.BlowingCleaning" %>
+
+
+
+
+
+
+ 管道吹扫/清洗检验记录
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.cs
new file mode 100644
index 0000000..ddab396
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.cs
@@ -0,0 +1,420 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class BlowingCleaning : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
+ string strSql = @"SELECT * from JGZL_BlowingCleaning where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ //else
+ //{
+ // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
+ // listStr.Add(new SqlParameter("@ProjectId", projectIds));
+ //}
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+
+ if (projectId != null)
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ var report = BLL.BlowingCleaningService.GetBlowingCleaningById(this.Grid1.SelectedRowID);
+ if (report != null)
+ {
+ DataTable dt = new DataTable();
+ dt.TableName = "MainData";
+ dt.Columns.Add("ProjectName");
+ dt.Columns.Add("SystemName");
+ dt.Columns.Add("SystemCode");
+ dt.Columns.Add("Results");
+ dt.Columns.Add("BlowingCleaningDate");
+
+ var newRow = dt.NewRow();
+ newRow["ProjectName"] = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
+ newRow["SystemName"] = report.SystemName;
+ newRow["SystemCode"] = report.SystemCode;
+ newRow["Results"] = report.Results;
+ string blowingCleaningDate = string.Format("{0:yyyy年MM月dd日}", report.BlowingCleaningDate);
+ newRow["BlowingCleaningDate"] = blowingCleaningDate;
+ dt.Rows.Add(newRow);
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ var itemList = BLL.BlowingCleaningItemService.GetBlowingCleaningItemList(this.Grid1.SelectedRowID);
+ if (itemList.Count > 0)
+ {
+ DataTable itemdt = new DataTable();
+ itemdt.TableName = "Data";
+ itemdt.Columns.Add("ISO_IsoNo");
+ itemdt.Columns.Add("STE_Code");
+ itemdt.Columns.Add("OperatingMedium");
+ itemdt.Columns.Add("ScrubbingMedium");
+ itemdt.Columns.Add("CleaningMedium");
+
+ foreach (var item in itemList)
+ {
+ var newRow2 = itemdt.NewRow();
+ newRow2["ISO_IsoNo"] = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(item.ISO_Id).ISO_IsoNo;
+ newRow2["STE_Code"] = BLL.HJGL_MaterialService.GetSteelBySteID(item.STE_ID).STE_Code;
+ newRow2["OperatingMedium"] = item.OperatingMedium;
+ newRow2["ScrubbingMedium"] = item.ScrubbingMedium;
+ newRow2["CleaningMedium"] = item.CleaningMedium;
+ itemdt.Rows.Add(newRow2);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(itemdt);
+ }
+ Dictionary keyValuePairs = new Dictionary();
+ //keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+ }
+ initTemplatePath = "File\\Fastreport\\JGZL\\管道吹扫、清洗检验记录.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 维护
+ ///
+ /// 增加
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BlowingCleaningEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ ///
+ /// 双击编辑
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_BlowingCleaningMenuId, BLL.Const.BtnModify))
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BlowingCleaningEdit.aspx?blowingCleaningId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键编辑
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_BlowingCleaningMenuId, BLL.Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BlowingCleaningEdit.aspx?blowingCleaningId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_BlowingCleaningMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ bool isDelete = false;
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ if (judgementDelete(rowID, isShow))
+ {
+ isDelete = true;
+ BLL.BlowingCleaningItemService.DeleteBlowingCleaningItemList(rowID);
+ BLL.BlowingCleaningService.DeleteBlowingCleaningById(rowID);
+ BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除管道吹扫/清洗检验记录");
+ }
+ }
+ if (isDelete)
+ {
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ }
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content, MessageBoxIcon.Error);
+ }
+ return false;
+ }
+ }
+ #endregion
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ this.InitTreeMenu();//加载树
+ this.BindGrid();
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.designer.cs
new file mode 100644
index 0000000..4e8b847
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.designer.cs
@@ -0,0 +1,206 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class BlowingCleaning
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx
new file mode 100644
index 0000000..de5ad08
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx
@@ -0,0 +1,131 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlowingCleaningEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.BlowingCleaningEdit" %>
+
+
+
+
+
+
+ 编辑管道吹扫/清洗检验记录
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.cs
new file mode 100644
index 0000000..fc250ec
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.cs
@@ -0,0 +1,329 @@
+using BLL;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class BlowingCleaningEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 主键
+ ///
+ public string BlowingCleaningId
+ {
+ get
+ {
+ return (string)ViewState["BlowingCleaningId"];
+ }
+ set
+ {
+ ViewState["BlowingCleaningId"] = value;
+ }
+ }
+
+ ///
+ /// 项目Id
+ ///
+ public string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.BlowingCleaningId = Request.Params["blowingCleaningId"];
+ this.ProjectId = Request.Params["projectId"];
+
+ this.drpSTE_ID.DataTextField = "STE_Code";
+ this.drpSTE_ID.DataValueField = "STE_ID";
+ this.drpSTE_ID.DataSource = BLL.HJGL_MaterialService.GetSteelList();
+ this.drpSTE_ID.DataBind();
+ Funs.FineUIPleaseSelect(this.drpSTE_ID);
+
+ this.PageInfoLoad(); // 加载页面
+ }
+ }
+ #endregion
+
+ #region 加载页面输入提交信息
+ ///
+ /// 加载页面输入提交信息
+ ///
+ private void PageInfoLoad()
+ {
+ var report = BLL.BlowingCleaningService.GetBlowingCleaningById(this.BlowingCleaningId);
+ if (report != null)
+ {
+ this.ProjectId = report.ProjectId;
+ this.txtSystemName.Text = report.SystemName;
+ this.txtSystemCode.Text = report.SystemCode;
+ this.txtBlowingCleaningDate.Text = report.BlowingCleaningDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.BlowingCleaningDate) : "";
+ this.txtResults.Text = report.Results;
+
+ List blowingCleaningItems = new List();
+ var itemList = BLL.BlowingCleaningItemService.GetBlowingCleaningItemList(this.BlowingCleaningId);
+ foreach (var item in itemList)
+ {
+ Model.BlowingCleaningItem newItem = new Model.BlowingCleaningItem();
+ newItem.BlowingCleaningItemId = item.BlowingCleaningItemId;
+ newItem.BlowingCleaningId = item.BlowingCleaningId;
+ newItem.STE_ID = item.STE_ID;
+ newItem.STE_Code = BLL.HJGL_MaterialService.GetSteelBySteID(item.STE_ID).STE_Code;
+ newItem.ISO_Id = item.ISO_Id;
+ newItem.ISO_IsoNo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(item.ISO_Id).ISO_IsoNo;
+ newItem.OperatingMedium = item.OperatingMedium;
+ newItem.ScrubbingMedium = item.ScrubbingMedium;
+ newItem.CleaningMedium = item.CleaningMedium;
+ blowingCleaningItems.Add(newItem);
+
+ this.hdItemsString.Text += newItem.STE_ID + "|";
+ }
+ if (!string.IsNullOrEmpty(this.hdItemsString.Text))
+ {
+ this.hdItemsString.Text = this.hdItemsString.Text.Substring(0, this.hdItemsString.Text.LastIndexOf('|'));
+ }
+
+ this.BindGrid(blowingCleaningItems);
+ }
+ else
+ {
+ this.SimpleForm1.Reset(); ///重置所有字段
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid(List lists)
+ {
+ DataTable tb = this.LINQToDataTable(lists);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ List GetBlowingCleaningItem = this.CollectGridJointInfo();
+ this.BindGrid(GetBlowingCleaningItem);
+ }
+ #endregion
+
+ #region 保存
+ ///
+ /// 保存
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ JArray mergedData = Grid1.GetMergedData();
+ foreach (JObject mergedRow in mergedData)
+ {
+ string status = mergedRow.Value("status");
+ JObject values = mergedRow.Value("values");
+ var isoInfo = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ISO_IsoNo == values.Value("ISO_IsoNo") select x).FirstOrDefault();
+ if (isoInfo == null)
+ {
+ ShowNotify("管线号不能为空!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ Model.JGZL_BlowingCleaning newBlowingCleaning = new Model.JGZL_BlowingCleaning();
+ newBlowingCleaning.SystemName = this.txtSystemName.Text;
+ newBlowingCleaning.SystemCode = this.txtSystemCode.Text;
+ newBlowingCleaning.BlowingCleaningDate = Funs.GetNewDateTime(this.txtBlowingCleaningDate.Text);
+ newBlowingCleaning.Results = this.txtResults.Text;
+ if (!string.IsNullOrEmpty(this.BlowingCleaningId))
+ {
+ newBlowingCleaning.BlowingCleaningId = this.BlowingCleaningId;
+ BLL.BlowingCleaningService.UpdateBlowingCleaning(newBlowingCleaning);
+ }
+ else
+ {
+ newBlowingCleaning.ProjectId = this.ProjectId;
+ newBlowingCleaning.CompileMan = this.CurrUser.UserId;
+ newBlowingCleaning.CompileDate = DateTime.Now;
+ this.BlowingCleaningId = SQLHelper.GetNewID(typeof(Model.JGZL_BlowingCleaning));
+ newBlowingCleaning.BlowingCleaningId = this.BlowingCleaningId;
+ BLL.BlowingCleaningService.AddBlowingCleaning(newBlowingCleaning);
+ }
+ BLL.BlowingCleaningItemService.DeleteBlowingCleaningItemList(this.BlowingCleaningId);
+
+ List GetWeldReportItem = this.CollectGridJointInfo();
+ foreach (var item in GetWeldReportItem)
+ {
+ Model.JGZL_BlowingCleaningItem newItem = new Model.JGZL_BlowingCleaningItem();
+ newItem.BlowingCleaningItemId= item.BlowingCleaningItemId;
+ newItem.BlowingCleaningId = this.BlowingCleaningId;
+ newItem.ISO_Id = item.ISO_Id;
+ newItem.STE_ID = item.STE_ID;
+ newItem.OperatingMedium= item.OperatingMedium;
+ newItem.ScrubbingMedium = item.ScrubbingMedium;
+ newItem.CleaningMedium= item.CleaningMedium;
+ BLL.BlowingCleaningItemService.AddBlowingCleaningItem(newItem);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ #endregion
+
+ #region 收集Grid页面信息
+ ///
+ /// 收集Grid页面信息
+ ///
+ ///
+ private List CollectGridJointInfo()
+ {
+ List GetWeldReportItem = null;
+ List getNewWeldReportItem = new List();
+ if (!string.IsNullOrEmpty(this.hdItemsString.Text))
+ {
+ GetWeldReportItem = BLL.BlowingCleaningItemService.GetBlowingCleaningItem(this.hdItemsString.Text);
+ }
+ JArray mergedData = Grid1.GetMergedData();
+ foreach (JObject mergedRow in mergedData)
+ {
+ string status = mergedRow.Value("status");
+ JObject values = mergedRow.Value("values");
+
+ string rowID = values.Value("ISO_ID").ToString();
+ var item = GetWeldReportItem.FirstOrDefault(x => x.ISO_Id == rowID);
+ if (item != null)
+ {
+ var steel = (from x in Funs.DB.HJGL_BS_Steel
+ where x.STE_ID == values.Value("STE_ID")
+ select x).FirstOrDefault();
+ if (steel != null)
+ {
+ item.STE_Code = steel.STE_Code;
+ item.STE_ID = steel.STE_ID;
+ }
+ item.OperatingMedium = values.Value("OperatingMedium");
+ item.ScrubbingMedium = values.Value("ScrubbingMedium");
+ item.CleaningMedium = values.Value("CleaningMedium");
+ getNewWeldReportItem.Add(item);
+ }
+ }
+ return getNewWeldReportItem;
+ }
+ #endregion
+
+ #region Grid 关闭弹出窗口事件
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ List list = Funs.GetStrListByStr(hdItemsString.Text, '|');
+ if (list.Count() > 0)
+ {
+ List GetWeldReportItem = BLL.BlowingCleaningItemService.GetBlowingCleaningItem(this.hdItemsString.Text);
+ this.BindGrid(GetWeldReportItem);
+ }
+ }
+ #endregion
+
+ #region 右键删除事件
+ ///
+ /// 右键删除事件
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ List GetBlowingCleaningItem = this.CollectGridJointInfo();
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ var batchDetail = BLL.BlowingCleaningItemService.GetBlowingCleaningItemById(rowID);
+ if (batchDetail != null)
+ {
+ BLL.BlowingCleaningItemService.DeleteBlowingCleaningItemById(rowID);
+ }
+ var item = GetBlowingCleaningItem.FirstOrDefault(x => x.BlowingCleaningItemId == rowID);
+ if (item != null)
+ {
+ GetBlowingCleaningItem.Remove(item);
+ }
+ }
+ BindGrid(GetBlowingCleaningItem);
+ ShowNotify("操作完成!", MessageBoxIcon.Success);
+ }
+ }
+ #endregion
+
+ #region 查找
+ ///
+ /// 查找未焊接焊口
+ ///
+ ///
+ ///
+ protected void ckSelect_Click(object sender, EventArgs e)
+ {
+ //string isoIds = string.Empty;
+ //string isoList = string.Empty;
+ //List GetWeldReportItem = this.CollectGridJointInfo();
+ //if (GetWeldReportItem != null)
+ //{
+ // foreach (var item in GetWeldReportItem)
+ // {
+ // jotIds = jotIds + item.JOT_ID + "|";
+ // jointList = jointList + item.JOT_ID + "|" + item.JOT_FloorWelderID + "|" + item.JOT_CellWelderID + ",";
+ // }
+ //}
+
+ //if (isoIds != string.Empty)
+ //{
+ // isoIds = isoIds.Substring(0, isoIds.Length - 1);
+ // isoList = isoList.Substring(0, isoList.Length - 1);
+ //}
+
+ string strList = this.ProjectId + "|" + this.BlowingCleaningId;
+ string window = String.Format("BlowingCleaningSearch.aspx?strList={0}", strList, "编辑 - ");
+ PageContext.RegisterStartupScript(Window1.GetSaveStateReference(hdItemsString.ClientID) + Window1.GetShowReference(window));
+
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.designer.cs
new file mode 100644
index 0000000..21761c4
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.designer.cs
@@ -0,0 +1,233 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class BlowingCleaningEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// hdItemsString 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdItemsString;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// txtSystemName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSystemName;
+
+ ///
+ /// txtSystemCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSystemCode;
+
+ ///
+ /// txtBlowingCleaningDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtBlowingCleaningDate;
+
+ ///
+ /// txtResults 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextArea txtResults;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// btnDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDelete;
+
+ ///
+ /// ckSelect 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button ckSelect;
+
+ ///
+ /// drpSTE_ID 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpSTE_ID;
+
+ ///
+ /// txtOperatingMedium 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtOperatingMedium;
+
+ ///
+ /// txtScrubbingMedium 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtScrubbingMedium;
+
+ ///
+ /// txtCleaningMedium 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCleaningMedium;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx
new file mode 100644
index 0000000..8d94224
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx
@@ -0,0 +1,50 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlowingCleaningSearch.aspx.cs" Inherits="FineUIPro.Web.JGZL.BlowingCleaningSearch" %>
+
+
+
+
+
+
+ 查找管线
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.cs
new file mode 100644
index 0000000..6b2cf0e
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.cs
@@ -0,0 +1,205 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class BlowingCleaningSearch : PageBase
+ {
+ #region 定义项
+ ///
+ /// 管线Id
+ ///
+ public string ISO_ID
+ {
+ get
+ {
+ return (string)ViewState["ISO_ID"];
+ }
+ set
+ {
+ ViewState["ISO_ID"] = value;
+ }
+ }
+
+ public List SelectInfo
+ {
+ get
+ {
+ return (List)ViewState["SelectInfo"];
+ }
+ set
+ {
+ ViewState["SelectInfo"] = value;
+ }
+ }
+
+ ///
+ /// 项目
+ ///
+ public string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+
+ ///
+ /// 被选择项列表
+ ///
+ public List SelectedList
+ {
+ get
+ {
+ return (List)ViewState["SelectedList"];
+ }
+ set
+ {
+ ViewState["SelectedList"] = value;
+ }
+ }
+
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.SelectedList = new List();
+ this.SelectInfo = new List();
+
+ string strList = Request.Params["strList"];
+ List list = Funs.GetStrListByStr(strList, '|');
+ if (list.Count() == 2)
+ {
+ this.ProjectId = list[0];
+ this.BindGrid();
+ }
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ string strSql = @"select isoInfo.ISO_ID,isoInfo.ProjectId,isoInfo.ISO_IsoNo,isoInfo.STE_ID,steel.STE_Code from HJGL_PW_IsoInfo isoInfo
+ left join HJGL_BS_Steel as steel on steel.STE_ID=isoInfo.STE_ID
+ where isoInfo.ProjectId=@ProjectId ";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", this.ProjectId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter);
+
+ string isoIds = Request.Params["isoIds"];
+ if (!string.IsNullOrEmpty(isoIds))
+ {
+ string[] isos = isoIds.Split('|');
+ foreach (string isoId in isos)
+ {
+ DataRow r = dt.Select("ISO_ID='" + isoId + "'").FirstOrDefault();
+ if (r != null)
+ {
+ dt.Rows.Remove(r);
+ }
+ }
+ }
+ // 2.获取当前分页数据
+ Grid1.RecordCount = dt.Rows.Count;
+ Grid1.DataSource = dt;
+ Grid1.DataBind();
+
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+
+ protected void txtIsoNo_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 确定
+ ///
+ /// 确定按钮
+ ///
+ ///
+ ///
+ protected void btnSure_Click(object sender, EventArgs e)
+ {
+ string itemsString = "";
+ string[] selectRowId = Grid1.SelectedRowIDArray;
+ int n = 0;
+ int j = 0;
+ int[] selections = new int[selectRowId.Count()];
+ foreach (GridRow row in Grid1.Rows)
+ {
+ if (selectRowId.Contains(row.DataKeys[0]))
+ {
+ selections[n] = j;
+ n++;
+ }
+ j++;
+ }
+ var select = selections.Distinct();
+ string isoIds = Request.Params["isoIds"];
+ if (!string.IsNullOrEmpty(isoIds))
+ {
+ string[] isoInfos = isoIds.Split('|');
+ foreach (string isoId in isoInfos)
+ {
+ itemsString += isoId + "|";
+ }
+ }
+ foreach (int i in select)
+ {
+ string rowID = Grid1.DataKeys[i][0].ToString();
+ string ids = rowID;
+ if (!itemsString.Contains(rowID))
+ {
+ itemsString += ids + "|";
+ }
+ }
+ PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(itemsString)
+ + ActiveWindow.GetHidePostBackReference());
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.designer.cs
new file mode 100644
index 0000000..cab9492
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.designer.cs
@@ -0,0 +1,98 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class BlowingCleaningSearch
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// txtIsoNo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtIsoNo;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSure 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSure;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx
new file mode 100644
index 0000000..0fbc327
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx
@@ -0,0 +1,137 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ElectrostaticGrounding.aspx.cs" Inherits="FineUIPro.Web.JGZL.ElectrostaticGrounding" %>
+
+
+
+
+
+
+ 管道静电接地测试记录
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.cs
new file mode 100644
index 0000000..d5743db
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.cs
@@ -0,0 +1,479 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class ElectrostaticGrounding : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
+ string strSql = @"select g.ElectrostaticGroundingId,
+ g.ProjectId,
+ g.PipelineCode,
+ g.ConnectionType,
+ g.BWSpecification,
+ g.BWMaterial,
+ g.BWResistance,
+ g.GWSpecification,
+ g.GWMaterial,
+ g.GWResistance,
+ g.CompileMan,
+ g.CompileDate,
+ u.UserName as CompileManName
+ from JGZL_ElectrostaticGrounding g
+ left join Sys_User u on u.UserId=g.CompileMan where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND g.ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ if (!string.IsNullOrEmpty(this.txtStartDate.Text))
+ {
+ strSql += " AND g.CompileDate >=@satartDate";
+ listStr.Add(new SqlParameter("@satartDate", Funs.GetNewDateTime(this.txtStartDate.Text)));
+ }
+ if (!string.IsNullOrEmpty(this.txtEndDate.Text))
+ {
+ strSql += " AND g.CompileDate <=@endDate";
+ listStr.Add(new SqlParameter("@endDate", Funs.GetNewDateTime(this.txtEndDate.Text)));
+ }
+ //else
+ //{
+ // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
+ // listStr.Add(new SqlParameter("@ProjectId", projectIds));
+ //}
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ string strSql = @"select g.ElectrostaticGroundingId,
+ g.ProjectId,
+ g.PipelineCode,
+ g.ConnectionType,
+ g.BWSpecification,
+ g.BWMaterial,
+ g.BWResistance,
+ g.GWSpecification,
+ g.GWMaterial,
+ g.GWResistance,
+ g.CompileMan,
+ g.CompileDate,
+ u.UserName as CompileManName
+ from JGZL_ElectrostaticGrounding g
+ left join Sys_User u on u.UserId=g.CompileMan where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND g.ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", projectId));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+
+ if (tb.Rows.Count > 0)
+ {
+ DataTable dt = new DataTable();
+ dt.TableName = "Data";
+ dt.Columns.Add("PipelineCode");
+ dt.Columns.Add("ConnectionType");
+ dt.Columns.Add("BWSpecification");
+ dt.Columns.Add("BWMaterial");
+ dt.Columns.Add("BWResistance");
+ dt.Columns.Add("GWSpecification");
+ dt.Columns.Add("GWMaterial");
+ dt.Columns.Add("GWResistance");
+
+ tb.DefaultView.Sort = "PipelineCode ASC";
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ foreach (var row in rows)
+ {
+ var newRow = dt.NewRow();
+ newRow["PipelineCode"] = row["PipelineCode"].ToString();
+ newRow["ConnectionType"] = row["ConnectionType"].ToString();
+ newRow["BWSpecification"] = row["BWSpecification"].ToString();
+ newRow["BWMaterial"] = row["BWMaterial"].ToString();
+ newRow["BWResistance"] = row["BWResistance"].ToString();
+ newRow["GWSpecification"] = row["GWSpecification"].ToString();
+ newRow["GWMaterial"] = row["GWMaterial"].ToString();
+ newRow["GWResistance"] = row["GWResistance"].ToString();
+ dt.Rows.Add(newRow);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ keyValuePairs.Add("CompileMan", tb.Rows[0]["CompileManName"].ToString());
+ if (!string.IsNullOrEmpty(tb.Rows[0]["CompileDate"].ToString()))
+ {
+ string compileDate = string.Format("{0:yyyy年MM月dd日}", tb.Rows[0]["CompileDate"]);
+ keyValuePairs.Add("CompileDate", compileDate);
+ }
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+
+ initTemplatePath = "File\\Fastreport\\JGZL\\管道静电接地测试记录.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("无打印数据!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 维护
+ ///
+ /// 增加
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ElectrostaticGroundingEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ ///
+ /// 双击编辑
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_ElectrostaticGroundingMenuId, BLL.Const.BtnModify))
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ElectrostaticGroundingEdit.aspx?electrostaticGroundingId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键编辑
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_ElectrostaticGroundingMenuId, BLL.Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ElectrostaticGroundingEdit.aspx?electrostaticGroundingId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_ElectrostaticGroundingMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ bool isDelete = false;
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ if (judgementDelete(rowID, isShow))
+ {
+ isDelete = true;
+ BLL.ElectrostaticGroundingService.DeleteElectrostaticGroundingById(rowID);
+ BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除管道静电接地测试记录");
+ }
+ }
+ if (isDelete)
+ {
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ }
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content, MessageBoxIcon.Error);
+ }
+ return false;
+ }
+ }
+ #endregion
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ this.InitTreeMenu();//加载树
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void Text_TextChanged(object sender, EventArgs e)
+ {
+ DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text);
+ DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text);
+ if (startDate != null && endDate != null && startDate > endDate)
+ {
+ Alert.ShowInTop("开始时间不能大于结束时间!", MessageBoxIcon.Warning);
+ return;
+ }
+ else
+ {
+ BindGrid();
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.designer.cs
new file mode 100644
index 0000000..4342194
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.designer.cs
@@ -0,0 +1,233 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class ElectrostaticGrounding
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// txtStartDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtStartDate;
+
+ ///
+ /// lblTo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label lblTo;
+
+ ///
+ /// txtEndDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtEndDate;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx
new file mode 100644
index 0000000..c24e0ba
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx
@@ -0,0 +1,81 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ElectrostaticGroundingEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.ElectrostaticGroundingEdit" %>
+
+
+
+
+
+
+ 编辑管道静电接地测试记录
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.cs
new file mode 100644
index 0000000..eb62f9b
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.cs
@@ -0,0 +1,141 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class ElectrostaticGroundingEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 主键
+ ///
+ private string ElectrostaticGroundingId
+ {
+ get
+ {
+ return (string)ViewState["ElectrostaticGroundingId"];
+ }
+ set
+ {
+ ViewState["ElectrostaticGroundingId"] = value;
+ }
+ }
+
+ ///
+ /// 项目Id
+ ///
+ private string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ //记录人
+ this.drpCompileMan.DataTextField = "UserName";
+ this.drpCompileMan.DataValueField = "UserId";
+ this.drpCompileMan.DataSource = BLL.Sys_UserService.GetUserList();
+ this.drpCompileMan.DataBind();
+ Funs.FineUIPleaseSelect(this.drpCompileMan);
+
+ this.ProjectId = Request.Params["projectId"];
+ this.ElectrostaticGroundingId = Request.Params["electrostaticGroundingId"];
+ if (!string.IsNullOrEmpty(this.ElectrostaticGroundingId))
+ {
+ var report = BLL.ElectrostaticGroundingService.GetElectrostaticGroundingById(this.ElectrostaticGroundingId);
+ if (report != null)
+ {
+ this.txtPipelineCode.Text = report.PipelineCode;
+ this.txtConnectionType.Text = report.ConnectionType;
+ this.txtBWSpecification.Text = report.BWSpecification;
+ this.txtBWMaterial.Text = report.BWMaterial;
+ this.txtBWResistance.Text = report.BWResistance.HasValue ? report.BWResistance.ToString() : "";
+ this.txtGWSpecification.Text = report.GWSpecification;
+ this.txtGWMaterial.Text = report.GWMaterial;
+ this.txtGWResistance.Text = report.GWResistance.HasValue ? report.GWResistance.ToString() : "";
+ if (!string.IsNullOrEmpty(report.CompileMan))
+ {
+ this.drpCompileMan.SelectedValue = report.CompileMan;
+ }
+ this.txtCompileDate.Text = report.CompileDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.CompileDate) : "";
+ }
+ }
+ else
+ {
+ this.drpCompileMan.SelectedValue = this.CurrUser.UserId;
+ this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
+ }
+ }
+ }
+ #endregion
+
+ #region 提交按钮
+ ///
+ /// 提交按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_ElectrostaticGroundingMenuId, Const.BtnSave))
+ {
+ Model.JGZL_ElectrostaticGrounding newReport = new Model.JGZL_ElectrostaticGrounding();
+ newReport.PipelineCode = this.txtPipelineCode.Text;
+ newReport.ConnectionType= this.txtConnectionType.Text;
+ newReport.BWSpecification= this.txtBWSpecification.Text;
+ newReport.BWMaterial=this.txtBWMaterial.Text;
+ newReport.BWResistance = Funs.GetNewDecimal(this.txtBWResistance.Text);
+ newReport.GWSpecification=this.txtGWSpecification.Text;
+ newReport.GWMaterial=this.txtGWMaterial.Text;
+ newReport.GWResistance=Funs.GetNewDecimal(this.txtGWResistance.Text);
+ if (this.drpCompileMan.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpCompileMan.SelectedValue))
+ {
+ newReport.CompileMan = this.drpCompileMan.SelectedValue;
+ }
+ newReport.CompileDate = Funs.GetNewDateTime(this.txtCompileDate.Text);
+
+ if (!string.IsNullOrEmpty(this.ElectrostaticGroundingId))
+ {
+ newReport.ElectrostaticGroundingId = this.ElectrostaticGroundingId;
+ BLL.ElectrostaticGroundingService.UpdateElectrostaticGrounding(newReport);
+ }
+ else
+ {
+ newReport.ProjectId = this.ProjectId;
+ newReport.ElectrostaticGroundingId = SQLHelper.GetNewID(typeof(Model.JGZL_ElectrostaticGrounding));
+ this.ElectrostaticGroundingId = newReport.ElectrostaticGroundingId;
+ BLL.ElectrostaticGroundingService.AddElectrostaticGrounding(newReport);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.designer.cs
new file mode 100644
index 0000000..1e5abd5
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.designer.cs
@@ -0,0 +1,206 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class ElectrostaticGroundingEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// txtPipelineCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtPipelineCode;
+
+ ///
+ /// GroupPanel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.GroupPanel GroupPanel1;
+
+ ///
+ /// txtConnectionType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtConnectionType;
+
+ ///
+ /// GroupPanel2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.GroupPanel GroupPanel2;
+
+ ///
+ /// SimpleForm2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.SimpleForm SimpleForm2;
+
+ ///
+ /// txtBWSpecification 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtBWSpecification;
+
+ ///
+ /// txtBWMaterial 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtBWMaterial;
+
+ ///
+ /// txtBWResistance 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtBWResistance;
+
+ ///
+ /// GroupPanel3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.GroupPanel GroupPanel3;
+
+ ///
+ /// SimpleForm3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.SimpleForm SimpleForm3;
+
+ ///
+ /// txtGWSpecification 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtGWSpecification;
+
+ ///
+ /// txtGWMaterial 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtGWMaterial;
+
+ ///
+ /// txtGWResistance 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtGWResistance;
+
+ ///
+ /// drpCompileMan 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpCompileMan;
+
+ ///
+ /// txtCompileDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtCompileDate;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx
new file mode 100644
index 0000000..b5aca16
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx
@@ -0,0 +1,142 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialQualityCertificateDoc.aspx.cs" Inherits="FineUIPro.Web.JGZL.MaterialQualityCertificateDoc" %>
+
+
+
+
+
+
+ 材料质量证明文件一览表
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.cs
new file mode 100644
index 0000000..a71179f
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.cs
@@ -0,0 +1,411 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class MaterialQualityCertificateDoc : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
+ string strSql = @"SELECT * from JGZL_MaterialQualityCertificateDoc where 1=1";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ //else
+ //{
+ // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
+ // listStr.Add(new SqlParameter("@ProjectId", projectIds));
+ //}
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void TextBox_TextChanged(object sender, EventArgs e)
+ {
+ this.BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ string strSql = @"SELECT * from JGZL_MaterialQualityCertificateDoc where ProjectId = @ProjectId order by MaterialCode desc";
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@ProjectId", projectId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+
+ DataTable dt = new DataTable();
+ dt.TableName = "Data";
+ dt.Columns.Add("Num");
+ dt.Columns.Add("MaterialName");
+ dt.Columns.Add("MaterialCode");
+ dt.Columns.Add("SerialCode");
+ dt.Columns.Add("Material");
+ dt.Columns.Add("Specification");
+ dt.Columns.Add("Manufacturer");
+ dt.Columns.Add("Unit");
+ dt.Columns.Add("TotalNum");
+ dt.Columns.Add("ReInspectionReportCode");
+ dt.Columns.Add("ReceivingUnit");
+ dt.Columns.Add("DrawNum");
+ dt.Columns.Add("Remark");
+
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ int i = 0;
+ foreach (var row in rows)
+ {
+ var newRow = dt.NewRow();
+ newRow["Num"] = (i + 1).ToString();
+ newRow["MaterialName"] = row["MaterialName"].ToString();
+ newRow["MaterialCode"] = row["MaterialCode"].ToString();
+ newRow["SerialCode"] = row["SerialCode"].ToString();
+ newRow["Material"] = row["Material"].ToString();
+ newRow["Manufacturer"] = row["Manufacturer"].ToString();
+ newRow["Unit"] = row["Unit"].ToString();
+ newRow["TotalNum"] = row["TotalNum"].ToString();
+ newRow["ReInspectionReportCode"] = row["ReInspectionReportCode"].ToString();
+ newRow["ReceivingUnit"] = row["ReceivingUnit"].ToString();
+ newRow["DrawNum"] = row["DrawNum"].ToString();
+ newRow["Remark"] = row["Remark"].ToString();
+ dt.Rows.Add(newRow);
+ i++;
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+
+ initTemplatePath = "File\\Fastreport\\JGZL\\材料质量证明文件一览表.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 维护
+ ///
+ /// 增加
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MaterialQualityCertificateDocEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ ///
+ /// 双击编辑
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_MaterialQualityCertificateDocMenuId, BLL.Const.BtnModify))
+ {
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MaterialQualityCertificateDocEdit.aspx?materialId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键编辑
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_MaterialQualityCertificateDocMenuId, BLL.Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("MaterialQualityCertificateDocEdit.aspx?materialId={0}", Grid1.SelectedRowID, "维护 - ")));
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 右键删除
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_MaterialQualityCertificateDocMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ bool isDelete = false;
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ if (judgementDelete(rowID, isShow))
+ {
+ isDelete = true;
+ BLL.MaterialQualityCertificateDocService.DeleteMaterialQualityCertificateDocById(rowID);
+ BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除材料质量证明文件一览表");
+ }
+ }
+ if (isDelete)
+ {
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+ }
+ this.BindGrid();
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content, MessageBoxIcon.Error);
+ }
+ return false;
+ }
+ }
+ #endregion
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ this.InitTreeMenu();//加载树
+ this.BindGrid();
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.designer.cs
new file mode 100644
index 0000000..bda3843
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDoc.aspx.designer.cs
@@ -0,0 +1,206 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class MaterialQualityCertificateDoc
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx
new file mode 100644
index 0000000..86ceb46
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx
@@ -0,0 +1,75 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialQualityCertificateDocEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.MaterialQualityCertificateDocEdit" %>
+
+
+
+
+
+
+ 编辑材料质量证明文件一览表
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.cs
new file mode 100644
index 0000000..0e71e56
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.cs
@@ -0,0 +1,131 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class MaterialQualityCertificateDocEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 主键
+ ///
+ private string MaterialId
+ {
+ get
+ {
+ return (string)ViewState["MaterialId"];
+ }
+ set
+ {
+ ViewState["MaterialId"] = value;
+ }
+ }
+
+ ///
+ /// 项目Id
+ ///
+ private string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ProjectId = Request.Params["projectId"];
+ this.MaterialId = Request.Params["materialId"];
+ if (!string.IsNullOrEmpty(this.MaterialId))
+ {
+ var report = BLL.MaterialQualityCertificateDocService.GetMaterialQualityCertificateDocById(this.MaterialId);
+ if (report != null)
+ {
+ this.txtMaterialName.Text = report.MaterialName;
+ this.txtMaterialCode.Text = report.MaterialCode;
+ this.txtSerialCode.Text = report.SerialCode;
+ this.txtManufacturer.Text = report.Manufacturer;
+ this.txtMaterial.Text = report.Material;
+ this.txtSpecification.Text = report.Specification;
+ this.txtUnit.Text = report.Unit;
+ this.txtTotalNum.Text = report.TotalNum.ToString();
+ this.txtReInspectionReportCode.Text = report.ReInspectionReportCode;
+ this.txtReceivingUnit.Text = report.ReceivingUnit;
+ this.txtDrawNum.Text = report.DrawNum.ToString();
+ this.txtRemark.Text = report.Remark;
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 提交按钮
+ ///
+ /// 提交按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_MaterialQualityCertificateDocMenuId, Const.BtnSave))
+ {
+ Model.JGZL_MaterialQualityCertificateDoc newReport = new Model.JGZL_MaterialQualityCertificateDoc();
+ newReport.MaterialName = this.txtMaterialName.Text.Trim();
+ newReport.MaterialCode = this.txtMaterialCode.Text.Trim();
+ newReport.SerialCode = this.txtSerialCode.Text.Trim();
+ newReport.Manufacturer = this.txtManufacturer.Text.Trim();
+ newReport.Material = this.txtMaterial.Text.Trim();
+ newReport.Specification = this.txtSpecification.Text.Trim();
+ newReport.Unit = this.txtUnit.Text.Trim();
+ newReport.TotalNum = Funs.GetNewIntOrZero(this.txtTotalNum.Text.Trim());
+ newReport.ReInspectionReportCode = this.txtReInspectionReportCode.Text.Trim();
+ newReport.ReceivingUnit = this.txtReceivingUnit.Text.Trim();
+ newReport.DrawNum = Funs.GetNewIntOrZero(this.txtDrawNum.Text.Trim());
+ newReport.Remark = this.txtRemark.Text.Trim();
+
+ if (!string.IsNullOrEmpty(this.MaterialId))
+ {
+ newReport.MaterialId = this.MaterialId;
+ BLL.MaterialQualityCertificateDocService.UpdateMaterialQualityCertificateDoc(newReport);
+ }
+ else
+ {
+ newReport.ProjectId = this.ProjectId;
+ newReport.CompileMan = this.CurrUser.UserId;
+ newReport.CompileDate = DateTime.Now;
+ newReport.Reviewer = this.CurrUser.UserId;
+ newReport.RevieweDate = DateTime.Now;
+ newReport.MaterialId = SQLHelper.GetNewID(typeof(Model.JGZL_MaterialQualityCertificateDoc));
+ this.MaterialId = newReport.MaterialId;
+ BLL.MaterialQualityCertificateDocService.AddMaterialQualityCertificateDoc(newReport);
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ else
+ {
+ Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.designer.cs
new file mode 100644
index 0000000..3166e5e
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/MaterialQualityCertificateDocEdit.aspx.designer.cs
@@ -0,0 +1,179 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class MaterialQualityCertificateDocEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// txtMaterialCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtMaterialCode;
+
+ ///
+ /// txtMaterialName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtMaterialName;
+
+ ///
+ /// txtSerialCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSerialCode;
+
+ ///
+ /// txtManufacturer 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtManufacturer;
+
+ ///
+ /// txtMaterial 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtMaterial;
+
+ ///
+ /// txtSpecification 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtSpecification;
+
+ ///
+ /// txtUnit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtUnit;
+
+ ///
+ /// txtTotalNum 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtTotalNum;
+
+ ///
+ /// txtReInspectionReportCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtReInspectionReportCode;
+
+ ///
+ /// txtReceivingUnit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtReceivingUnit;
+
+ ///
+ /// txtDrawNum 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtDrawNum;
+
+ ///
+ /// txtRemark 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextArea txtRemark;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx
new file mode 100644
index 0000000..ce0465e
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx
@@ -0,0 +1,129 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineTotalTrust.aspx.cs" Inherits="FineUIPro.Web.JGZL.PipelineTotalTrust" %>
+
+
+
+
+
+
+ 管道焊口检测总委托单
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.cs
new file mode 100644
index 0000000..48a0476
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.cs
@@ -0,0 +1,276 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class PipelineTotalTrust : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ //string strSql = @"select a.CH_TrustID,a.CH_TrustCode,a.CH_TrustDate,a.CH_NDTCriteria from HJGL_CH_Trust as a where 1=1 and a.ProjectId= @ProjectId";
+ //List listStr = new List();
+ //listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ //SqlParameter[] parameter = listStr.ToArray();
+ //Grid1.DataSource = SQLHelper.GetDataTableRunText(strSql, parameter);
+ //Grid1.DataBind();
+
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@projectId", this.tvControlItem.SelectedNodeID));
+ if (!string.IsNullOrEmpty(this.txtIsoNo.Text.Trim()))
+ {
+ listStr.Add(new SqlParameter("@isoNo", this.txtIsoNo.Text.Trim()));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@isoNo", null));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("sp_rpt_Trust", parameter);
+
+ DataView dv = tb.DefaultView;//获取表视图
+ dv.Sort = "ISO_IsoNo ASC";//按照ID排序
+ tb = dv.ToTable();//转为表
+
+ // 2.获取当前分页数据
+ //var table = this.GetPagedDataTable(Grid1, tb1);
+ Grid1.RecordCount = tb.Rows.Count;
+ //this.Grid1.PageIndex = 0;
+ //tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void txtIsoNo_TextChanged(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@projectId", projectId));
+ if (!string.IsNullOrEmpty(this.txtIsoNo.Text.Trim()))
+ {
+ listStr.Add(new SqlParameter("@isoNo", this.txtIsoNo.Text.Trim()));
+ }
+ else
+ {
+ listStr.Add(new SqlParameter("@isoNo", null));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("sp_rpt_Trust", parameter);
+
+ DataTable dt = new DataTable();
+ dt.TableName = "Data";
+ dt.Columns.Add("ISO_IsoNo");
+ dt.Columns.Add("JOT_JointDesc");
+ dt.Columns.Add("STE_Code");
+ dt.Columns.Add("ISC_IsoName");
+ dt.Columns.Add("NDTR_Name");
+ dt.Columns.Add("gdCount");
+ dt.Columns.Add("hdCount");
+ dt.Columns.Add("isHot");
+ dt.Columns.Add("NDT_Code");
+ dt.Columns.Add("AcceptGrade");
+ dt.Columns.Add("CH_Remark");
+
+ DataView dv = tb.DefaultView;//获取表视图
+ //dv.Sort = "ISO_IsoNo ASC";//按照ID排序
+ tb = dv.ToTable();//转为表
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ foreach (var row in rows)
+ {
+ var newRow = dt.NewRow();
+ newRow["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
+ newRow["JOT_JointDesc"] = row["Specification"].ToString();
+ newRow["STE_Code"] = row["STE_Code"].ToString();
+ newRow["ISC_IsoName"] = row["ISC_IsoName"].ToString();
+ newRow["NDTR_Name"] = row["NDTR_Name"].ToString();
+ newRow["gdCount"] = row["gdCount"].ToString();
+ newRow["hdCount"] = row["hdCount"].ToString();
+ newRow["isHot"] = row["isHot"].ToString();
+ newRow["NDT_Code"] = row["NDT_Code"].ToString();
+ newRow["AcceptGrade"] = row["AcceptGrade"].ToString();
+ newRow["CH_Remark"] = row["Remark"].ToString();
+ dt.Rows.Add(newRow);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+
+ string CH_NDTCriteria = tb.Rows[0]["CH_NDTCriteria"].ToString();//检测标准
+ string ISO_Executive = tb.Rows[0]["ISO_Executive"].ToString();//验收标准
+
+ Dictionary keyValuePairs = new Dictionary();
+ keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ keyValuePairs.Add("CH_NDTCriteria", CH_NDTCriteria);
+ keyValuePairs.Add("ISO_Executive", ISO_Executive);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+
+ initTemplatePath = "File\\Fastreport\\JGZL\\管道焊口检测总委托单.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.designer.cs
new file mode 100644
index 0000000..624c693
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.designer.cs
@@ -0,0 +1,170 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class PipelineTotalTrust
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// txtIsoNo 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtIsoNo;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+ }
+}
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx
new file mode 100644
index 0000000..acf8244
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx
@@ -0,0 +1,107 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineWeldJointTrust.aspx.cs" Inherits="FineUIPro.Web.JGZL.PipelineWeldJointTrust" %>
+
+
+
+
+
+
+ 管道焊口检测委托单
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.cs
new file mode 100644
index 0000000..91c7783
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.cs
@@ -0,0 +1,304 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.IO;
+
+namespace FineUIPro.Web.JGZL
+{
+ public partial class PipelineWeldJointTrust : PageBase
+ {
+ #region 加载页面
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
+
+ this.drpProjectId.DataTextField = "ProjectCode";
+ this.drpProjectId.DataValueField = "ProjectId";
+ this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ this.drpProjectId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpProjectId);
+
+ this.InitTreeMenu();//加载树
+ }
+ }
+ #endregion
+
+ #region 加载树项目
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+ TreeNode rootNode = new TreeNode();
+ rootNode.Text = "项目";
+ rootNode.ToolTip = "项目";
+ rootNode.NodeID = "0";
+ rootNode.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode);
+
+ List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
+ if (this.drpProjectId.SelectedValue != BLL.Const._Null)
+ {
+ projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
+ }
+ foreach (var item in projects)
+ {
+ TreeNode rootProjectNode = new TreeNode();//定义根节点
+ rootProjectNode.Text = item.ProjectCode;
+ rootProjectNode.NodeID = item.ProjectId;
+ rootProjectNode.EnableClickEvent = true;
+ rootProjectNode.Expanded = true;
+ rootProjectNode.ToolTip = item.ProjectName;
+ rootProjectNode.CommandName = "项目名称";
+ rootNode.Nodes.Add(rootProjectNode);
+ }
+ }
+ #endregion
+
+ #region 点击TreeView
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ if (this.tvControlItem.SelectedNodeID != "0")
+ {
+ this.BindGrid();
+ }
+ }
+ #endregion
+
+ #region 数据绑定
+ ///
+ /// 数据绑定
+ ///
+ private void BindGrid()
+ {
+ string strSql = @"SELECT Trust.CH_TrustID,
+ Trust.ProjectId,
+ Trust.CH_TrustCode,
+ Trust.CH_TrustDate,
+ Trust.CH_NDTCriteria,
+ WeldMethod.WME_Code,
+ (case Trust.CH_AcceptGrade when '1' then 'Ⅰ' when '2' then 'Ⅱ' when '3' then 'Ⅲ' when '4' then 'Ⅳ' when '5' then 'Ⅴ' end) as AcceptGrade,
+ NDTType.NDT_Code,
+ SlopeType.JST_Name,
+ NDTRate.NDTR_Name,
+ NDTRate.NDTR_Rate
+ FROM HJGL_CH_Trust AS Trust
+ LEFT JOIN dbo.HJGL_BO_Batch AS batch ON batch.BatchId = Trust.BatchId
+ LEFT JOIN dbo.HJGL_BS_NDTRate AS NDTRate ON NDTRate.NDTR_ID = batch.NDTR_ID
+ LEFT JOIN dbo.HJGL_BS_SlopeType AS SlopeType ON SlopeType.JST_ID = Trust.CH_SlopeType
+ LEFT JOIN dbo.HJGL_BS_WeldMethod AS WeldMethod ON WeldMethod.WME_ID = Trust.CH_WeldMethod
+ LEFT JOIN dbo.HJGL_BS_NDTType AS NDTType ON NDTType.NDT_ID = Trust.CH_NDTMethod where 1=1 ";
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
+ {
+ strSql += " AND Trust.ProjectId = @ProjectId";
+ listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 分页排序
+ #region 页索引改变事件
+ ///
+ /// 页索引改变事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 排序
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页选择下拉改变事件
+ ///
+ /// 分页选择下拉改变事件
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+ #endregion
+
+ #region 查询
+ ///
+ ///查询
+ ///
+ ///
+ ///
+ protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void txtIsoNo_TextChanged(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 打印
+ ///
+ /// 打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string projectId = this.tvControlItem.SelectedNodeID;
+ if (projectId != null)
+ {
+ string initTemplatePath = "";
+ string rootPath = Server.MapPath("~/");
+ BLL.Common.FastReportService.ResetData();
+
+ string trustId = this.Grid1.SelectedRowID;
+ if (string.IsNullOrEmpty(trustId))
+ {
+ Alert.ShowInTop("请选择一条委托单!", MessageBoxIcon.Warning);
+ return;
+ }
+
+ #region 主表
+ List listStr2 = new List();
+ listStr2.Add(new SqlParameter("@CH_TrustID", trustId));
+ SqlParameter[] parameter2 = listStr2.ToArray();
+ DataTable tb2 = BLL.SQLHelper.GetDataTableRunProc("HJGL_sp_rpt_Trust", parameter2);
+
+ DataTable dt = new DataTable();
+ dt.TableName = "MainData";
+ dt.Columns.Add("ProjectName");
+ dt.Columns.Add("CheckUnit");
+ dt.Columns.Add("TrustCode");
+ dt.Columns.Add("CH_NDTCriteria");
+ dt.Columns.Add("WME_Code");
+ dt.Columns.Add("AcceptGrade");
+ dt.Columns.Add("NDT_Code");
+ dt.Columns.Add("JST_Name");
+ dt.Columns.Add("NDTR_Name");
+ dt.Columns.Add("UnitName");
+ dt.Columns.Add("TrustManName");
+
+ DataRow[] rows2 = tb2.DefaultView.ToTable().Select();
+ foreach (var row in rows2)
+ {
+ var newRows = dt.NewRow();
+ newRows["ProjectName"] = row["ProjectName"].ToString();
+ newRows["CheckUnit"] = row["CheckUnitName"].ToString();
+ newRows["TrustCode"] = row["CH_TrustCode"].ToString();
+ newRows["CH_NDTCriteria"] = row["CH_NDTCriteria"].ToString();
+ newRows["WME_Code"] = row["WME_Code"].ToString();
+ newRows["AcceptGrade"] = row["AcceptGrade"].ToString();
+ newRows["NDT_Code"] = row["NDT_Code"].ToString();
+ newRows["JST_Name"] = row["JST_Name"].ToString();
+ newRows["NDTR_Name"] = row["NDTR_Name"].ToString();
+ newRows["UnitName"] = row["UnitName"].ToString();
+ newRows["TrustManName"] = row["TrustManName"].ToString();
+ dt.Rows.Add(newRows);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt);
+ #endregion
+
+ #region 明细表
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@CH_TrustID", trustId));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("HJGL_sp_rpt_TrustItem", parameter);
+
+ DataTable dt2 = new DataTable();
+ dt2.TableName = "Data";
+ dt2.Columns.Add("BatchCode");
+ dt2.Columns.Add("IsoNo");
+ dt2.Columns.Add("ISO_Number");
+ dt2.Columns.Add("JointNo");
+ dt2.Columns.Add("WelderCode");
+ dt2.Columns.Add("JointDesc");
+ dt2.Columns.Add("Ste_Code");
+ dt2.Columns.Add("CH_Remark");
+
+ DataView dv = tb.DefaultView;//获取表视图
+ dv.Sort = "Sort ASC";//按照ID倒序排序
+ tb = dv.ToTable();//转为表
+ DataRow[] rows = tb.DefaultView.ToTable().Select();
+ foreach (var row in rows)
+ {
+ var newRows = dt2.NewRow();
+ newRows["BatchCode"] = row["BatchCode"].ToString();
+ newRows["IsoNo"] = row["ISO_IsoNo"].ToString();
+ newRows["ISO_Number"] = row["ISO_Number"].ToString();
+ newRows["JointNo"] = row["JOT_JointNo"].ToString();
+ newRows["WelderCode"] = row["WED_Code"].ToString();
+ newRows["JointDesc"] = row["JOT_JointDesc"].ToString();
+ newRows["Ste_Code"] = row["STE_Code"].ToString();
+ newRows["CH_Remark"] = row["CH_Remark"].ToString();
+ dt2.Rows.Add(newRows);
+ }
+ BLL.Common.FastReportService.AddFastreportTable(dt2);
+ #endregion
+
+ Dictionary keyValuePairs = new Dictionary();
+ //keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
+ BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
+
+ initTemplatePath = "File\\Fastreport\\JGZL\\管道焊口检测委托单.frx";
+ if (File.Exists(rootPath + initTemplatePath))
+ {
+ PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
+ }
+ }
+ else
+ {
+ Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.designer.cs
new file mode 100644
index 0000000..df51c80
--- /dev/null
+++ b/HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.designer.cs
@@ -0,0 +1,161 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JGZL
+{
+
+
+ public partial class PipelineWeldJointTrust
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpProjectId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpProjectId;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// WindowPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window WindowPrint;
+ }
+}
diff --git a/HJGL_DS/Model/.vs/Model.csproj.dtbcache.json b/HJGL_DS/Model/.vs/Model.csproj.dtbcache.json
index 2498622..00f3492 100644
--- a/HJGL_DS/Model/.vs/Model.csproj.dtbcache.json
+++ b/HJGL_DS/Model/.vs/Model.csproj.dtbcache.json
@@ -1 +1 @@
-{"RootPath":"E:\\鼎盛\\HJGL_DS\\HJGL_DS\\Model","ProjectFileName":"Model.csproj","Configuration":"Release|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"APIItem\\BaseProjectItem.cs"},{"SourceFile":"APIItem\\BaseTeamgroupItem.cs"},{"SourceFile":"APIItem\\BaseUnitItem.cs"},{"SourceFile":"APIItem\\BSteelItem.cs"},{"SourceFile":"APIItem\\IsoInfoItem.cs"},{"SourceFile":"APIItem\\LocationItem.cs"},{"SourceFile":"APIItem\\ParmItem.cs"},{"SourceFile":"APIItem\\UsepositionItem.cs"},{"SourceFile":"APIItem\\UserItem.cs"},{"SourceFile":"APIItem\\UsingPlanItem.cs"},{"SourceFile":"APIItem\\WelderItem.cs"},{"SourceFile":"APIItem\\WeldInfoItem.cs"},{"SourceFile":"APIItem\\WeldingSynItem.cs"},{"SourceFile":"APIItem\\JointInfoItem.cs"},{"SourceFile":"APIItem\\ResponeData.cs"},{"SourceFile":"APIItem\\UnitInfoItem.cs"},{"SourceFile":"Chart\\DataSourceChart.cs"},{"SourceFile":"Chart\\DataSourcePoint.cs"},{"SourceFile":"Chart\\DataSourceTeam.cs"},{"SourceFile":"CQMS\\CQMS_Incentive_IncentiveNewPerson.cs"},{"SourceFile":"CQMS\\CQMS_ProjectCheckItem.cs"},{"SourceFile":"CQMS_CheckControl.cs"},{"SourceFile":"ErrorInfo.cs"},{"SourceFile":"FastReportItem.cs"},{"SourceFile":"GJSX\\SpGetInfoCount.cs"},{"SourceFile":"HandleStep.cs"},{"SourceFile":"HJGL\\HJGL_SpRptBawZlfx.cs"},{"SourceFile":"HJGL\\HJGL_SpRptIsoAnalyze.cs"},{"SourceFile":"HJGL\\HJGL_SpRptIsoYzazjd.cs"},{"SourceFile":"HJGL\\HJGL_SpRptndtReport.cs"},{"SourceFile":"HJGL\\HJGL_SpRptService.cs"},{"SourceFile":"HJGL\\HJGL_SpRptUnitBawAnalyze.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWelderPerformance.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWeldReportExport.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWeldReportItem.cs"},{"SourceFile":"HSSE\\HSSE_DayReportDetail.cs"},{"SourceFile":"HSSE\\HSSE_HazardTemplate.cs"},{"SourceFile":"HSSE\\HSSE_IncentiveNewPerson.cs"},{"SourceFile":"HSSE\\HSSE_ProjectCheckItem.cs"},{"SourceFile":"Model.cs"},{"SourceFile":"ModelProc.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"QualityRatingItem.cs"},{"SourceFile":"SpCheckNonFilmingItem.cs"},{"SourceFile":"SpSysMenuItem.cs"},{"SourceFile":"SpSysUserItem.cs"},{"SourceFile":"SpTDesktopItem.cs"},{"SourceFile":"ToDoItem.cs"},{"SourceFile":"WBSDetailItem.cs"},{"SourceFile":"WBSSetInitItem.cs"},{"SourceFile":"WBSSetItem.cs"},{"SourceFile":"Welder.cs"},{"SourceFile":"YLRQ\\PV_QualityRatingItem.cs"},{"SourceFile":"obj\\Release\\.NETFramework,Version=v4.0.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\鼎盛\\HJGL_DS\\HJGL_DS\\packages\\Newtonsoft.Json.12.0.1\\lib\\net40\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Web.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"E:\\鼎盛\\HJGL_DS\\HJGL_DS\\Model\\bin\\Release\\Model.dll","OutputItemRelativePath":"Model.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}
\ No newline at end of file
+{"RootPath":"G:\\公司项目\\鼎盛\\HJGL_DS\\Model","ProjectFileName":"Model.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"APIItem\\BaseProjectItem.cs"},{"SourceFile":"APIItem\\BaseTeamgroupItem.cs"},{"SourceFile":"APIItem\\BaseUnitItem.cs"},{"SourceFile":"APIItem\\BSteelItem.cs"},{"SourceFile":"APIItem\\IsoInfoItem.cs"},{"SourceFile":"APIItem\\LocationItem.cs"},{"SourceFile":"APIItem\\ParmItem.cs"},{"SourceFile":"APIItem\\UsepositionItem.cs"},{"SourceFile":"APIItem\\UserItem.cs"},{"SourceFile":"APIItem\\UsingPlanItem.cs"},{"SourceFile":"APIItem\\WelderItem.cs"},{"SourceFile":"APIItem\\WeldInfoItem.cs"},{"SourceFile":"APIItem\\WeldingSynItem.cs"},{"SourceFile":"APIItem\\JointInfoItem.cs"},{"SourceFile":"APIItem\\ResponeData.cs"},{"SourceFile":"APIItem\\UnitInfoItem.cs"},{"SourceFile":"BlowingCleaningItem.cs"},{"SourceFile":"Chart\\DataSourceChart.cs"},{"SourceFile":"Chart\\DataSourcePoint.cs"},{"SourceFile":"Chart\\DataSourceTeam.cs"},{"SourceFile":"CQMS\\CQMS_Incentive_IncentiveNewPerson.cs"},{"SourceFile":"CQMS\\CQMS_ProjectCheckItem.cs"},{"SourceFile":"CQMS_CheckControl.cs"},{"SourceFile":"ErrorInfo.cs"},{"SourceFile":"FastReportItem.cs"},{"SourceFile":"GJSX\\SpGetInfoCount.cs"},{"SourceFile":"HandleStep.cs"},{"SourceFile":"HJGL\\HJGL_SpRptBawZlfx.cs"},{"SourceFile":"HJGL\\HJGL_SpRptIsoAnalyze.cs"},{"SourceFile":"HJGL\\HJGL_SpRptIsoYzazjd.cs"},{"SourceFile":"HJGL\\HJGL_SpRptndtReport.cs"},{"SourceFile":"HJGL\\HJGL_SpRptService.cs"},{"SourceFile":"HJGL\\HJGL_SpRptUnitBawAnalyze.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWelderPerformance.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWeldReportExport.cs"},{"SourceFile":"HJGL\\HJGL_SpRpWeldReportItem.cs"},{"SourceFile":"HSSE\\HSSE_DayReportDetail.cs"},{"SourceFile":"HSSE\\HSSE_HazardTemplate.cs"},{"SourceFile":"HSSE\\HSSE_IncentiveNewPerson.cs"},{"SourceFile":"HSSE\\HSSE_ProjectCheckItem.cs"},{"SourceFile":"Model.cs"},{"SourceFile":"ModelProc.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"QualityRatingItem.cs"},{"SourceFile":"SpCheckNonFilmingItem.cs"},{"SourceFile":"SpSysMenuItem.cs"},{"SourceFile":"SpSysUserItem.cs"},{"SourceFile":"SpTDesktopItem.cs"},{"SourceFile":"ToDoItem.cs"},{"SourceFile":"WBSDetailItem.cs"},{"SourceFile":"WBSSetInitItem.cs"},{"SourceFile":"WBSSetItem.cs"},{"SourceFile":"Welder.cs"},{"SourceFile":"YLRQ\\PV_QualityRatingItem.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.0.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\Microsoft.CSharp\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"G:\\公司项目\\鼎盛\\HJGL_DS\\packages\\Newtonsoft.Json.12.0.1\\lib\\net40\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Core\\v4.0_4.0.0.0__b77a5c561934e089\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Data.DataSetExtensions\\v4.0_4.0.0.0__b77a5c561934e089\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_64\\System.Data\\v4.0_4.0.0.0__b77a5c561934e089\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Data.Linq\\v4.0_4.0.0.0__b77a5c561934e089\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System\\v4.0_4.0.0.0__b77a5c561934e089\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Web.DataVisualization\\v4.0_4.0.0.0__31bf3856ad364e35\\System.Web.DataVisualization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Xml\\v4.0_4.0.0.0__b77a5c561934e089\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Xml.Linq\\v4.0_4.0.0.0__b77a5c561934e089\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"G:\\公司项目\\鼎盛\\HJGL_DS\\Model\\bin\\Debug\\Model.dll","OutputItemRelativePath":"Model.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}
\ No newline at end of file
diff --git a/HJGL_DS/Model/BlowingCleaningItem.cs b/HJGL_DS/Model/BlowingCleaningItem.cs
new file mode 100644
index 0000000..a8a6efe
--- /dev/null
+++ b/HJGL_DS/Model/BlowingCleaningItem.cs
@@ -0,0 +1,94 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace Model
+{
+ ///
+ /// 交工资料-管道吹扫/清洗检验记录
+ ///
+ public class BlowingCleaningItem
+ {
+ ///
+ /// 主键
+ ///
+ public string BlowingCleaningItemId
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 主表Id
+ ///
+ public string BlowingCleaningId
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 管线Id
+ ///
+ public string ISO_Id
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 管线号
+ ///
+ public string ISO_IsoNo
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 材质Id
+ ///
+ public string STE_ID
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 材质编号
+ ///
+ public string STE_Code
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 操作介质
+ ///
+ public string OperatingMedium
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 吹扫介质
+ ///
+ public string ScrubbingMedium
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// 清洗介质
+ ///
+ public string CleaningMedium
+ {
+ get;
+ set;
+ }
+ }
+}
diff --git a/HJGL_DS/Model/Model.cs b/HJGL_DS/Model/Model.cs
index 45196eb..ba866bc 100644
--- a/HJGL_DS/Model/Model.cs
+++ b/HJGL_DS/Model/Model.cs
@@ -374,6 +374,12 @@ namespace Model
partial void InsertJGZL_AcceptanceCertificate(JGZL_AcceptanceCertificate instance);
partial void UpdateJGZL_AcceptanceCertificate(JGZL_AcceptanceCertificate instance);
partial void DeleteJGZL_AcceptanceCertificate(JGZL_AcceptanceCertificate instance);
+ partial void InsertJGZL_BlowingCleaning(JGZL_BlowingCleaning instance);
+ partial void UpdateJGZL_BlowingCleaning(JGZL_BlowingCleaning instance);
+ partial void DeleteJGZL_BlowingCleaning(JGZL_BlowingCleaning instance);
+ partial void InsertJGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem instance);
+ partial void UpdateJGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem instance);
+ partial void DeleteJGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem instance);
partial void InsertJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void UpdateJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void DeleteJGZL_CommencementReport(JGZL_CommencementReport instance);
@@ -383,9 +389,15 @@ namespace Model
partial void InsertJGZL_Contact(JGZL_Contact instance);
partial void UpdateJGZL_Contact(JGZL_Contact instance);
partial void DeleteJGZL_Contact(JGZL_Contact instance);
+ partial void InsertJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
+ partial void UpdateJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
+ partial void DeleteJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
+ partial void InsertJGZL_MaterialQualityCertificateDoc(JGZL_MaterialQualityCertificateDoc instance);
+ partial void UpdateJGZL_MaterialQualityCertificateDoc(JGZL_MaterialQualityCertificateDoc instance);
+ partial void DeleteJGZL_MaterialQualityCertificateDoc(JGZL_MaterialQualityCertificateDoc instance);
partial void InsertJGZL_MeasuringInstruments(JGZL_MeasuringInstruments instance);
partial void UpdateJGZL_MeasuringInstruments(JGZL_MeasuringInstruments instance);
partial void DeleteJGZL_MeasuringInstruments(JGZL_MeasuringInstruments instance);
@@ -1768,6 +1780,22 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_BlowingCleaning
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table JGZL_BlowingCleaningItem
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table JGZL_CommencementReport
{
get
@@ -1792,6 +1820,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_ElectrostaticGrounding
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table JGZL_HandoverCertificate
{
get
@@ -1800,6 +1836,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_MaterialQualityCertificateDoc
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table JGZL_MeasuringInstruments
{
get
@@ -4439,14 +4483,20 @@ namespace Model
private EntitySet _JGZL_AcceptanceCertificate;
+ private EntitySet _JGZL_BlowingCleaning;
+
private EntitySet _JGZL_CommencementReport;
private EntitySet _JGZL_ConDrawingVerification;
private EntitySet _JGZL_Contact;
+ private EntitySet _JGZL_ElectrostaticGrounding;
+
private EntitySet _JGZL_HandoverCertificate;
+ private EntitySet _JGZL_MaterialQualityCertificateDoc;
+
private EntitySet _JGZL_MeasuringInstruments;
private EntitySet _JGZL_NDTPerson;
@@ -4582,10 +4632,13 @@ namespace Model
this._HJGL_WeldingProcedure_WeldRepairCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldRepairCard), new Action(this.detach_HJGL_WeldingProcedure_WeldRepairCard));
this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard));
this._JGZL_AcceptanceCertificate = new EntitySet(new Action(this.attach_JGZL_AcceptanceCertificate), new Action(this.detach_JGZL_AcceptanceCertificate));
+ this._JGZL_BlowingCleaning = new EntitySet(new Action(this.attach_JGZL_BlowingCleaning), new Action(this.detach_JGZL_BlowingCleaning));
this._JGZL_CommencementReport = new EntitySet(new Action(this.attach_JGZL_CommencementReport), new Action(this.detach_JGZL_CommencementReport));
this._JGZL_ConDrawingVerification = new EntitySet(new Action(this.attach_JGZL_ConDrawingVerification), new Action(this.detach_JGZL_ConDrawingVerification));
this._JGZL_Contact = new EntitySet(new Action(this.attach_JGZL_Contact), new Action(this.detach_JGZL_Contact));
+ this._JGZL_ElectrostaticGrounding = new EntitySet(new Action(this.attach_JGZL_ElectrostaticGrounding), new Action(this.detach_JGZL_ElectrostaticGrounding));
this._JGZL_HandoverCertificate = new EntitySet(new Action(this.attach_JGZL_HandoverCertificate), new Action(this.detach_JGZL_HandoverCertificate));
+ this._JGZL_MaterialQualityCertificateDoc = new EntitySet(new Action(this.attach_JGZL_MaterialQualityCertificateDoc), new Action(this.detach_JGZL_MaterialQualityCertificateDoc));
this._JGZL_MeasuringInstruments = new EntitySet(new Action(this.attach_JGZL_MeasuringInstruments), new Action(this.detach_JGZL_MeasuringInstruments));
this._JGZL_NDTPerson = new EntitySet(new Action(this.attach_JGZL_NDTPerson), new Action(this.detach_JGZL_NDTPerson));
this._JGZL_QualityControlPointInspection = new EntitySet(new Action(this.attach_JGZL_QualityControlPointInspection), new Action(this.detach_JGZL_QualityControlPointInspection));
@@ -5671,6 +5724,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaning_Base_Project", Storage="_JGZL_BlowingCleaning", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_BlowingCleaning
+ {
+ get
+ {
+ return this._JGZL_BlowingCleaning;
+ }
+ set
+ {
+ this._JGZL_BlowingCleaning.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_CommencementReport_Base_Project", Storage="_JGZL_CommencementReport", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet JGZL_CommencementReport
{
@@ -5710,6 +5776,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Base_Project", Storage="_JGZL_ElectrostaticGrounding", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_ElectrostaticGrounding
+ {
+ get
+ {
+ return this._JGZL_ElectrostaticGrounding;
+ }
+ set
+ {
+ this._JGZL_ElectrostaticGrounding.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_HandoverCertificate_Base_Project", Storage="_JGZL_HandoverCertificate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet JGZL_HandoverCertificate
{
@@ -5723,6 +5802,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_MaterialQualityCertificateDoc_Base_Project", Storage="_JGZL_MaterialQualityCertificateDoc", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_MaterialQualityCertificateDoc
+ {
+ get
+ {
+ return this._JGZL_MaterialQualityCertificateDoc;
+ }
+ set
+ {
+ this._JGZL_MaterialQualityCertificateDoc.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_MeasuringInstruments_Base_Project", Storage="_JGZL_MeasuringInstruments", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet JGZL_MeasuringInstruments
{
@@ -6458,6 +6550,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_JGZL_BlowingCleaning(JGZL_BlowingCleaning entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_JGZL_BlowingCleaning(JGZL_BlowingCleaning entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_JGZL_CommencementReport(JGZL_CommencementReport entity)
{
this.SendPropertyChanging();
@@ -6494,6 +6598,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_JGZL_HandoverCertificate(JGZL_HandoverCertificate entity)
{
this.SendPropertyChanging();
@@ -6506,6 +6622,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_JGZL_MaterialQualityCertificateDoc(JGZL_MaterialQualityCertificateDoc entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_JGZL_MaterialQualityCertificateDoc(JGZL_MaterialQualityCertificateDoc entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_JGZL_MeasuringInstruments(JGZL_MeasuringInstruments entity)
{
this.SendPropertyChanging();
@@ -23590,6 +23718,8 @@ namespace Model
private EntitySet _HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1;
+ private EntitySet _JGZL_BlowingCleaningItem;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -23627,6 +23757,7 @@ namespace Model
this._HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1 = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1));
this._HJGL_WeldingProcedure_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure));
this._HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1 = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1));
+ this._JGZL_BlowingCleaningItem = new EntitySet(new Action(this.attach_JGZL_BlowingCleaningItem), new Action(this.detach_JGZL_BlowingCleaningItem));
OnCreated();
}
@@ -23953,6 +24084,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_HJGL_BS_Steel", Storage="_JGZL_BlowingCleaningItem", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_BlowingCleaningItem
+ {
+ get
+ {
+ return this._JGZL_BlowingCleaningItem;
+ }
+ set
+ {
+ this._JGZL_BlowingCleaningItem.Assign(value);
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -24104,6 +24248,18 @@ namespace Model
this.SendPropertyChanging();
entity.STE_ID2HJGL_BS_Steel = null;
}
+
+ private void attach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.HJGL_BS_Steel = this;
+ }
+
+ private void detach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.HJGL_BS_Steel = null;
+ }
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_TestStandard")]
@@ -45496,6 +45652,8 @@ namespace Model
private EntitySet _HJGL_PW_JointInfo;
+ private EntitySet _JGZL_BlowingCleaningItem;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -45602,6 +45760,7 @@ namespace Model
this._HJGL_BS_Steel = default(EntityRef);
this._Project_WorkArea = default(EntityRef);
this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo));
+ this._JGZL_BlowingCleaningItem = new EntitySet(new Action(this.attach_JGZL_BlowingCleaningItem), new Action(this.detach_JGZL_BlowingCleaningItem));
OnCreated();
}
@@ -46814,6 +46973,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_HJGL_PW_IsoInfo", Storage="_JGZL_BlowingCleaningItem", ThisKey="ISO_ID", OtherKey="ISO_Id", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_BlowingCleaningItem
+ {
+ get
+ {
+ return this._JGZL_BlowingCleaningItem;
+ }
+ set
+ {
+ this._JGZL_BlowingCleaningItem.Assign(value);
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -46965,6 +47137,18 @@ namespace Model
this.SendPropertyChanging();
entity.HJGL_PW_IsoInfo = null;
}
+
+ private void attach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.HJGL_PW_IsoInfo = this;
+ }
+
+ private void detach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.HJGL_PW_IsoInfo = null;
+ }
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_JointChange")]
@@ -79938,6 +80122,675 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_BlowingCleaning")]
+ public partial class JGZL_BlowingCleaning : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _BlowingCleaningId;
+
+ private string _ProjectId;
+
+ private System.Nullable _BlowingCleaningDate;
+
+ private string _SystemName;
+
+ private string _SystemCode;
+
+ private string _Results;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntitySet _JGZL_BlowingCleaningItem;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnBlowingCleaningIdChanging(string value);
+ partial void OnBlowingCleaningIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnBlowingCleaningDateChanging(System.Nullable value);
+ partial void OnBlowingCleaningDateChanged();
+ partial void OnSystemNameChanging(string value);
+ partial void OnSystemNameChanged();
+ partial void OnSystemCodeChanging(string value);
+ partial void OnSystemCodeChanged();
+ partial void OnResultsChanging(string value);
+ partial void OnResultsChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ #endregion
+
+ public JGZL_BlowingCleaning()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._JGZL_BlowingCleaningItem = new EntitySet(new Action(this.attach_JGZL_BlowingCleaningItem), new Action(this.detach_JGZL_BlowingCleaningItem));
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BlowingCleaningId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string BlowingCleaningId
+ {
+ get
+ {
+ return this._BlowingCleaningId;
+ }
+ set
+ {
+ if ((this._BlowingCleaningId != value))
+ {
+ this.OnBlowingCleaningIdChanging(value);
+ this.SendPropertyChanging();
+ this._BlowingCleaningId = value;
+ this.SendPropertyChanged("BlowingCleaningId");
+ this.OnBlowingCleaningIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BlowingCleaningDate", DbType="DateTime")]
+ public System.Nullable BlowingCleaningDate
+ {
+ get
+ {
+ return this._BlowingCleaningDate;
+ }
+ set
+ {
+ if ((this._BlowingCleaningDate != value))
+ {
+ this.OnBlowingCleaningDateChanging(value);
+ this.SendPropertyChanging();
+ this._BlowingCleaningDate = value;
+ this.SendPropertyChanged("BlowingCleaningDate");
+ this.OnBlowingCleaningDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(50)")]
+ public string SystemName
+ {
+ get
+ {
+ return this._SystemName;
+ }
+ set
+ {
+ if ((this._SystemName != value))
+ {
+ this.OnSystemNameChanging(value);
+ this.SendPropertyChanging();
+ this._SystemName = value;
+ this.SendPropertyChanged("SystemName");
+ this.OnSystemNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemCode", DbType="NVarChar(50)")]
+ public string SystemCode
+ {
+ get
+ {
+ return this._SystemCode;
+ }
+ set
+ {
+ if ((this._SystemCode != value))
+ {
+ this.OnSystemCodeChanging(value);
+ this.SendPropertyChanging();
+ this._SystemCode = value;
+ this.SendPropertyChanged("SystemCode");
+ this.OnSystemCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Results", DbType="NVarChar(500)")]
+ public string Results
+ {
+ get
+ {
+ return this._Results;
+ }
+ set
+ {
+ if ((this._Results != value))
+ {
+ this.OnResultsChanging(value);
+ this.SendPropertyChanging();
+ this._Results = value;
+ this.SendPropertyChanged("Results");
+ this.OnResultsChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaning_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.JGZL_BlowingCleaning.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_BlowingCleaning.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaning_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.JGZL_BlowingCleaning.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_BlowingCleaning.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_JGZL_BlowingCleaning", Storage="_JGZL_BlowingCleaningItem", ThisKey="BlowingCleaningId", OtherKey="BlowingCleaningId", DeleteRule="NO ACTION")]
+ public EntitySet JGZL_BlowingCleaningItem
+ {
+ get
+ {
+ return this._JGZL_BlowingCleaningItem;
+ }
+ set
+ {
+ this._JGZL_BlowingCleaningItem.Assign(value);
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+
+ private void attach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.JGZL_BlowingCleaning = this;
+ }
+
+ private void detach_JGZL_BlowingCleaningItem(JGZL_BlowingCleaningItem entity)
+ {
+ this.SendPropertyChanging();
+ entity.JGZL_BlowingCleaning = null;
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_BlowingCleaningItem")]
+ public partial class JGZL_BlowingCleaningItem : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _BlowingCleaningItemId;
+
+ private string _BlowingCleaningId;
+
+ private string _ISO_Id;
+
+ private string _STE_ID;
+
+ private string _OperatingMedium;
+
+ private string _ScrubbingMedium;
+
+ private string _CleaningMedium;
+
+ private EntityRef _HJGL_BS_Steel;
+
+ private EntityRef _HJGL_PW_IsoInfo;
+
+ private EntityRef _JGZL_BlowingCleaning;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnBlowingCleaningItemIdChanging(string value);
+ partial void OnBlowingCleaningItemIdChanged();
+ partial void OnBlowingCleaningIdChanging(string value);
+ partial void OnBlowingCleaningIdChanged();
+ partial void OnISO_IdChanging(string value);
+ partial void OnISO_IdChanged();
+ partial void OnSTE_IDChanging(string value);
+ partial void OnSTE_IDChanged();
+ partial void OnOperatingMediumChanging(string value);
+ partial void OnOperatingMediumChanged();
+ partial void OnScrubbingMediumChanging(string value);
+ partial void OnScrubbingMediumChanged();
+ partial void OnCleaningMediumChanging(string value);
+ partial void OnCleaningMediumChanged();
+ #endregion
+
+ public JGZL_BlowingCleaningItem()
+ {
+ this._HJGL_BS_Steel = default(EntityRef);
+ this._HJGL_PW_IsoInfo = default(EntityRef);
+ this._JGZL_BlowingCleaning = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BlowingCleaningItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string BlowingCleaningItemId
+ {
+ get
+ {
+ return this._BlowingCleaningItemId;
+ }
+ set
+ {
+ if ((this._BlowingCleaningItemId != value))
+ {
+ this.OnBlowingCleaningItemIdChanging(value);
+ this.SendPropertyChanging();
+ this._BlowingCleaningItemId = value;
+ this.SendPropertyChanged("BlowingCleaningItemId");
+ this.OnBlowingCleaningItemIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BlowingCleaningId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+ public string BlowingCleaningId
+ {
+ get
+ {
+ return this._BlowingCleaningId;
+ }
+ set
+ {
+ if ((this._BlowingCleaningId != value))
+ {
+ if (this._JGZL_BlowingCleaning.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnBlowingCleaningIdChanging(value);
+ this.SendPropertyChanging();
+ this._BlowingCleaningId = value;
+ this.SendPropertyChanged("BlowingCleaningId");
+ this.OnBlowingCleaningIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
+ public string ISO_Id
+ {
+ get
+ {
+ return this._ISO_Id;
+ }
+ set
+ {
+ if ((this._ISO_Id != value))
+ {
+ if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnISO_IdChanging(value);
+ this.SendPropertyChanging();
+ this._ISO_Id = value;
+ this.SendPropertyChanged("ISO_Id");
+ this.OnISO_IdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")]
+ public string STE_ID
+ {
+ get
+ {
+ return this._STE_ID;
+ }
+ set
+ {
+ if ((this._STE_ID != value))
+ {
+ if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnSTE_IDChanging(value);
+ this.SendPropertyChanging();
+ this._STE_ID = value;
+ this.SendPropertyChanged("STE_ID");
+ this.OnSTE_IDChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingMedium", DbType="NVarChar(50)")]
+ public string OperatingMedium
+ {
+ get
+ {
+ return this._OperatingMedium;
+ }
+ set
+ {
+ if ((this._OperatingMedium != value))
+ {
+ this.OnOperatingMediumChanging(value);
+ this.SendPropertyChanging();
+ this._OperatingMedium = value;
+ this.SendPropertyChanged("OperatingMedium");
+ this.OnOperatingMediumChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ScrubbingMedium", DbType="NVarChar(50)")]
+ public string ScrubbingMedium
+ {
+ get
+ {
+ return this._ScrubbingMedium;
+ }
+ set
+ {
+ if ((this._ScrubbingMedium != value))
+ {
+ this.OnScrubbingMediumChanging(value);
+ this.SendPropertyChanging();
+ this._ScrubbingMedium = value;
+ this.SendPropertyChanged("ScrubbingMedium");
+ this.OnScrubbingMediumChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CleaningMedium", DbType="NVarChar(50)")]
+ public string CleaningMedium
+ {
+ get
+ {
+ return this._CleaningMedium;
+ }
+ set
+ {
+ if ((this._CleaningMedium != value))
+ {
+ this.OnCleaningMediumChanging(value);
+ this.SendPropertyChanging();
+ this._CleaningMedium = value;
+ this.SendPropertyChanged("CleaningMedium");
+ this.OnCleaningMediumChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)]
+ public HJGL_BS_Steel HJGL_BS_Steel
+ {
+ get
+ {
+ return this._HJGL_BS_Steel.Entity;
+ }
+ set
+ {
+ HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity;
+ if (((previousValue != value)
+ || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._HJGL_BS_Steel.Entity = null;
+ previousValue.JGZL_BlowingCleaningItem.Remove(this);
+ }
+ this._HJGL_BS_Steel.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_BlowingCleaningItem.Add(this);
+ this._STE_ID = value.STE_ID;
+ }
+ else
+ {
+ this._STE_ID = default(string);
+ }
+ this.SendPropertyChanged("HJGL_BS_Steel");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_Id", OtherKey="ISO_ID", IsForeignKey=true)]
+ public HJGL_PW_IsoInfo HJGL_PW_IsoInfo
+ {
+ get
+ {
+ return this._HJGL_PW_IsoInfo.Entity;
+ }
+ set
+ {
+ HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity;
+ if (((previousValue != value)
+ || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._HJGL_PW_IsoInfo.Entity = null;
+ previousValue.JGZL_BlowingCleaningItem.Remove(this);
+ }
+ this._HJGL_PW_IsoInfo.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_BlowingCleaningItem.Add(this);
+ this._ISO_Id = value.ISO_ID;
+ }
+ else
+ {
+ this._ISO_Id = default(string);
+ }
+ this.SendPropertyChanged("HJGL_PW_IsoInfo");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaningItem_JGZL_BlowingCleaning", Storage="_JGZL_BlowingCleaning", ThisKey="BlowingCleaningId", OtherKey="BlowingCleaningId", IsForeignKey=true)]
+ public JGZL_BlowingCleaning JGZL_BlowingCleaning
+ {
+ get
+ {
+ return this._JGZL_BlowingCleaning.Entity;
+ }
+ set
+ {
+ JGZL_BlowingCleaning previousValue = this._JGZL_BlowingCleaning.Entity;
+ if (((previousValue != value)
+ || (this._JGZL_BlowingCleaning.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._JGZL_BlowingCleaning.Entity = null;
+ previousValue.JGZL_BlowingCleaningItem.Remove(this);
+ }
+ this._JGZL_BlowingCleaning.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_BlowingCleaningItem.Add(this);
+ this._BlowingCleaningId = value.BlowingCleaningId;
+ }
+ else
+ {
+ this._BlowingCleaningId = default(string);
+ }
+ this.SendPropertyChanged("JGZL_BlowingCleaning");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_CommencementReport")]
public partial class JGZL_CommencementReport : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -81378,6 +82231,414 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_ElectrostaticGrounding")]
+ public partial class JGZL_ElectrostaticGrounding : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ElectrostaticGroundingId;
+
+ private string _ProjectId;
+
+ private string _PipelineCode;
+
+ private string _ConnectionType;
+
+ private string _BWSpecification;
+
+ private string _BWMaterial;
+
+ private System.Nullable _BWResistance;
+
+ private string _GWSpecification;
+
+ private string _GWMaterial;
+
+ private System.Nullable _GWResistance;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnElectrostaticGroundingIdChanging(string value);
+ partial void OnElectrostaticGroundingIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnPipelineCodeChanging(string value);
+ partial void OnPipelineCodeChanged();
+ partial void OnConnectionTypeChanging(string value);
+ partial void OnConnectionTypeChanged();
+ partial void OnBWSpecificationChanging(string value);
+ partial void OnBWSpecificationChanged();
+ partial void OnBWMaterialChanging(string value);
+ partial void OnBWMaterialChanged();
+ partial void OnBWResistanceChanging(System.Nullable value);
+ partial void OnBWResistanceChanged();
+ partial void OnGWSpecificationChanging(string value);
+ partial void OnGWSpecificationChanged();
+ partial void OnGWMaterialChanging(string value);
+ partial void OnGWMaterialChanged();
+ partial void OnGWResistanceChanging(System.Nullable value);
+ partial void OnGWResistanceChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ #endregion
+
+ public JGZL_ElectrostaticGrounding()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrostaticGroundingId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ElectrostaticGroundingId
+ {
+ get
+ {
+ return this._ElectrostaticGroundingId;
+ }
+ set
+ {
+ if ((this._ElectrostaticGroundingId != value))
+ {
+ this.OnElectrostaticGroundingIdChanging(value);
+ this.SendPropertyChanging();
+ this._ElectrostaticGroundingId = value;
+ this.SendPropertyChanged("ElectrostaticGroundingId");
+ this.OnElectrostaticGroundingIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(50)")]
+ public string PipelineCode
+ {
+ get
+ {
+ return this._PipelineCode;
+ }
+ set
+ {
+ if ((this._PipelineCode != value))
+ {
+ this.OnPipelineCodeChanging(value);
+ this.SendPropertyChanging();
+ this._PipelineCode = value;
+ this.SendPropertyChanged("PipelineCode");
+ this.OnPipelineCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConnectionType", DbType="NVarChar(50)")]
+ public string ConnectionType
+ {
+ get
+ {
+ return this._ConnectionType;
+ }
+ set
+ {
+ if ((this._ConnectionType != value))
+ {
+ this.OnConnectionTypeChanging(value);
+ this.SendPropertyChanging();
+ this._ConnectionType = value;
+ this.SendPropertyChanged("ConnectionType");
+ this.OnConnectionTypeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BWSpecification", DbType="NVarChar(50)")]
+ public string BWSpecification
+ {
+ get
+ {
+ return this._BWSpecification;
+ }
+ set
+ {
+ if ((this._BWSpecification != value))
+ {
+ this.OnBWSpecificationChanging(value);
+ this.SendPropertyChanging();
+ this._BWSpecification = value;
+ this.SendPropertyChanged("BWSpecification");
+ this.OnBWSpecificationChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BWMaterial", DbType="NVarChar(50)")]
+ public string BWMaterial
+ {
+ get
+ {
+ return this._BWMaterial;
+ }
+ set
+ {
+ if ((this._BWMaterial != value))
+ {
+ this.OnBWMaterialChanging(value);
+ this.SendPropertyChanging();
+ this._BWMaterial = value;
+ this.SendPropertyChanged("BWMaterial");
+ this.OnBWMaterialChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BWResistance", DbType="Decimal(18,2)")]
+ public System.Nullable BWResistance
+ {
+ get
+ {
+ return this._BWResistance;
+ }
+ set
+ {
+ if ((this._BWResistance != value))
+ {
+ this.OnBWResistanceChanging(value);
+ this.SendPropertyChanging();
+ this._BWResistance = value;
+ this.SendPropertyChanged("BWResistance");
+ this.OnBWResistanceChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GWSpecification", DbType="NVarChar(50)")]
+ public string GWSpecification
+ {
+ get
+ {
+ return this._GWSpecification;
+ }
+ set
+ {
+ if ((this._GWSpecification != value))
+ {
+ this.OnGWSpecificationChanging(value);
+ this.SendPropertyChanging();
+ this._GWSpecification = value;
+ this.SendPropertyChanged("GWSpecification");
+ this.OnGWSpecificationChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GWMaterial", DbType="NVarChar(50)")]
+ public string GWMaterial
+ {
+ get
+ {
+ return this._GWMaterial;
+ }
+ set
+ {
+ if ((this._GWMaterial != value))
+ {
+ this.OnGWMaterialChanging(value);
+ this.SendPropertyChanging();
+ this._GWMaterial = value;
+ this.SendPropertyChanged("GWMaterial");
+ this.OnGWMaterialChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GWResistance", DbType="Decimal(18,2)")]
+ public System.Nullable GWResistance
+ {
+ get
+ {
+ return this._GWResistance;
+ }
+ set
+ {
+ if ((this._GWResistance != value))
+ {
+ this.OnGWResistanceChanging(value);
+ this.SendPropertyChanging();
+ this._GWResistance = value;
+ this.SendPropertyChanged("GWResistance");
+ this.OnGWResistanceChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.JGZL_ElectrostaticGrounding.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_ElectrostaticGrounding.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.JGZL_ElectrostaticGrounding.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_ElectrostaticGrounding.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_HandoverCertificate")]
public partial class JGZL_HandoverCertificate : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -81738,6 +82999,558 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_MaterialQualityCertificateDoc")]
+ public partial class JGZL_MaterialQualityCertificateDoc : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _MaterialId;
+
+ private string _ProjectId;
+
+ private string _MaterialCode;
+
+ private string _MaterialName;
+
+ private string _SerialCode;
+
+ private string _Material;
+
+ private string _Specification;
+
+ private string _Manufacturer;
+
+ private string _Unit;
+
+ private System.Nullable _TotalNum;
+
+ private string _ReInspectionReportCode;
+
+ private string _ReceivingUnit;
+
+ private System.Nullable _DrawNum;
+
+ private string _Remark;
+
+ private string _CompileMan;
+
+ private System.Nullable _CompileDate;
+
+ private string _Reviewer;
+
+ private System.Nullable _RevieweDate;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnMaterialIdChanging(string value);
+ partial void OnMaterialIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnMaterialCodeChanging(string value);
+ partial void OnMaterialCodeChanged();
+ partial void OnMaterialNameChanging(string value);
+ partial void OnMaterialNameChanged();
+ partial void OnSerialCodeChanging(string value);
+ partial void OnSerialCodeChanged();
+ partial void OnMaterialChanging(string value);
+ partial void OnMaterialChanged();
+ partial void OnSpecificationChanging(string value);
+ partial void OnSpecificationChanged();
+ partial void OnManufacturerChanging(string value);
+ partial void OnManufacturerChanged();
+ partial void OnUnitChanging(string value);
+ partial void OnUnitChanged();
+ partial void OnTotalNumChanging(System.Nullable value);
+ partial void OnTotalNumChanged();
+ partial void OnReInspectionReportCodeChanging(string value);
+ partial void OnReInspectionReportCodeChanged();
+ partial void OnReceivingUnitChanging(string value);
+ partial void OnReceivingUnitChanged();
+ partial void OnDrawNumChanging(System.Nullable value);
+ partial void OnDrawNumChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnReviewerChanging(string value);
+ partial void OnReviewerChanged();
+ partial void OnRevieweDateChanging(System.Nullable value);
+ partial void OnRevieweDateChanged();
+ #endregion
+
+ public JGZL_MaterialQualityCertificateDoc()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string MaterialId
+ {
+ get
+ {
+ return this._MaterialId;
+ }
+ set
+ {
+ if ((this._MaterialId != value))
+ {
+ this.OnMaterialIdChanging(value);
+ this.SendPropertyChanging();
+ this._MaterialId = value;
+ this.SendPropertyChanged("MaterialId");
+ this.OnMaterialIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")]
+ public string MaterialCode
+ {
+ get
+ {
+ return this._MaterialCode;
+ }
+ set
+ {
+ if ((this._MaterialCode != value))
+ {
+ this.OnMaterialCodeChanging(value);
+ this.SendPropertyChanging();
+ this._MaterialCode = value;
+ this.SendPropertyChanged("MaterialCode");
+ this.OnMaterialCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialName", DbType="NVarChar(50)")]
+ public string MaterialName
+ {
+ get
+ {
+ return this._MaterialName;
+ }
+ set
+ {
+ if ((this._MaterialName != value))
+ {
+ this.OnMaterialNameChanging(value);
+ this.SendPropertyChanging();
+ this._MaterialName = value;
+ this.SendPropertyChanged("MaterialName");
+ this.OnMaterialNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SerialCode", DbType="NVarChar(50)")]
+ public string SerialCode
+ {
+ get
+ {
+ return this._SerialCode;
+ }
+ set
+ {
+ if ((this._SerialCode != value))
+ {
+ this.OnSerialCodeChanging(value);
+ this.SendPropertyChanging();
+ this._SerialCode = value;
+ this.SendPropertyChanged("SerialCode");
+ this.OnSerialCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
+ public string Material
+ {
+ get
+ {
+ return this._Material;
+ }
+ set
+ {
+ if ((this._Material != value))
+ {
+ this.OnMaterialChanging(value);
+ this.SendPropertyChanging();
+ this._Material = value;
+ this.SendPropertyChanged("Material");
+ this.OnMaterialChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specification", DbType="NVarChar(50)")]
+ public string Specification
+ {
+ get
+ {
+ return this._Specification;
+ }
+ set
+ {
+ if ((this._Specification != value))
+ {
+ this.OnSpecificationChanging(value);
+ this.SendPropertyChanging();
+ this._Specification = value;
+ this.SendPropertyChanged("Specification");
+ this.OnSpecificationChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Manufacturer", DbType="NVarChar(50)")]
+ public string Manufacturer
+ {
+ get
+ {
+ return this._Manufacturer;
+ }
+ set
+ {
+ if ((this._Manufacturer != value))
+ {
+ this.OnManufacturerChanging(value);
+ this.SendPropertyChanging();
+ this._Manufacturer = value;
+ this.SendPropertyChanged("Manufacturer");
+ this.OnManufacturerChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(20)")]
+ public string Unit
+ {
+ get
+ {
+ return this._Unit;
+ }
+ set
+ {
+ if ((this._Unit != value))
+ {
+ this.OnUnitChanging(value);
+ this.SendPropertyChanging();
+ this._Unit = value;
+ this.SendPropertyChanged("Unit");
+ this.OnUnitChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNum", DbType="Int")]
+ public System.Nullable TotalNum
+ {
+ get
+ {
+ return this._TotalNum;
+ }
+ set
+ {
+ if ((this._TotalNum != value))
+ {
+ this.OnTotalNumChanging(value);
+ this.SendPropertyChanging();
+ this._TotalNum = value;
+ this.SendPropertyChanged("TotalNum");
+ this.OnTotalNumChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReInspectionReportCode", DbType="NVarChar(50)")]
+ public string ReInspectionReportCode
+ {
+ get
+ {
+ return this._ReInspectionReportCode;
+ }
+ set
+ {
+ if ((this._ReInspectionReportCode != value))
+ {
+ this.OnReInspectionReportCodeChanging(value);
+ this.SendPropertyChanging();
+ this._ReInspectionReportCode = value;
+ this.SendPropertyChanged("ReInspectionReportCode");
+ this.OnReInspectionReportCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivingUnit", DbType="NVarChar(50)")]
+ public string ReceivingUnit
+ {
+ get
+ {
+ return this._ReceivingUnit;
+ }
+ set
+ {
+ if ((this._ReceivingUnit != value))
+ {
+ this.OnReceivingUnitChanging(value);
+ this.SendPropertyChanging();
+ this._ReceivingUnit = value;
+ this.SendPropertyChanged("ReceivingUnit");
+ this.OnReceivingUnitChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DrawNum", DbType="Int")]
+ public System.Nullable DrawNum
+ {
+ get
+ {
+ return this._DrawNum;
+ }
+ set
+ {
+ if ((this._DrawNum != value))
+ {
+ this.OnDrawNumChanging(value);
+ this.SendPropertyChanging();
+ this._DrawNum = value;
+ this.SendPropertyChanged("DrawNum");
+ this.OnDrawNumChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Reviewer", DbType="NVarChar(50)")]
+ public string Reviewer
+ {
+ get
+ {
+ return this._Reviewer;
+ }
+ set
+ {
+ if ((this._Reviewer != value))
+ {
+ this.OnReviewerChanging(value);
+ this.SendPropertyChanging();
+ this._Reviewer = value;
+ this.SendPropertyChanged("Reviewer");
+ this.OnReviewerChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevieweDate", DbType="DateTime")]
+ public System.Nullable RevieweDate
+ {
+ get
+ {
+ return this._RevieweDate;
+ }
+ set
+ {
+ if ((this._RevieweDate != value))
+ {
+ this.OnRevieweDateChanging(value);
+ this.SendPropertyChanging();
+ this._RevieweDate = value;
+ this.SendPropertyChanged("RevieweDate");
+ this.OnRevieweDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_MaterialQualityCertificateDoc_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.JGZL_MaterialQualityCertificateDoc.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_MaterialQualityCertificateDoc.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_MaterialQualityCertificateDoc_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.JGZL_MaterialQualityCertificateDoc.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.JGZL_MaterialQualityCertificateDoc.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_MeasuringInstruments")]
public partial class JGZL_MeasuringInstruments : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -105936,14 +107749,20 @@ namespace Model
private EntitySet _JGZL_AcceptanceCertificate;
+ private EntitySet _JGZL_BlowingCleaning;
+
private EntitySet _JGZL_CommencementReport;
private EntitySet _JGZL_ConDrawingVerification;
private EntitySet _JGZL_Contact;
+ private EntitySet _JGZL_ElectrostaticGrounding;
+
private EntitySet _JGZL_HandoverCertificate;
+ private EntitySet _JGZL_MaterialQualityCertificateDoc;
+
private EntitySet _JGZL_MeasuringInstruments;
private EntitySet