From 76dbf237b76c957aca4206b9a42562c73bdda7b4 Mon Sep 17 00:00:00 2001
From: wendy <408182087@qq.com>
Date: Wed, 21 Jan 2026 17:31:17 +0800
Subject: [PATCH 1/3] =?UTF-8?q?20260121=20=E4=BA=A4=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E6=96=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../版本日志/HJGLDB_DS_2026-01-21_bwj.sql | 259 ++++
HJGL_DS/BLL/BLL.csproj | 3 +
HJGL_DS/BLL/Common/Const.cs | 10 +
.../BLL/JGZL/BlowingCleaningItemService.cs | 133 ++
HJGL_DS/BLL/JGZL/BlowingCleaningService.cs | 75 +
.../BLL/JGZL/ElectrostaticGroundingService.cs | 88 ++
HJGL_DS/FineUIPro.Web/ErrLog.txt | 371 ++---
.../JGZL/管道吹扫、清洗检验记录.frx | 248 ++++
.../Fastreport/JGZL/管道焊口检测委托单.frx | 296 ++++
.../Fastreport/JGZL/管道焊口检测总委托单.frx | 273 ++++
.../Fastreport/JGZL/管道静电接地测试记录.frx | 163 +++
.../File/Fastreport/射线检测报告(新).frx | 4 +-
.../File/Fastreport/管道焊口检测委托单.frx | 4 +-
.../File/Fastreport/管道焊缝检测委托单.frx | 4 +-
HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 56 +
.../FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +-
.../FineUIPro.Web/JGZL/BlowingCleaning.aspx | 115 ++
.../JGZL/BlowingCleaning.aspx.cs | 420 ++++++
.../JGZL/BlowingCleaning.aspx.designer.cs | 206 +++
.../JGZL/BlowingCleaningEdit.aspx | 131 ++
.../JGZL/BlowingCleaningEdit.aspx.cs | 329 +++++
.../JGZL/BlowingCleaningEdit.aspx.designer.cs | 233 +++
.../JGZL/BlowingCleaningSearch.aspx | 50 +
.../JGZL/BlowingCleaningSearch.aspx.cs | 205 +++
.../BlowingCleaningSearch.aspx.designer.cs | 98 ++
.../JGZL/ElectrostaticGrounding.aspx | 137 ++
.../JGZL/ElectrostaticGrounding.aspx.cs | 479 ++++++
.../ElectrostaticGrounding.aspx.designer.cs | 233 +++
.../JGZL/ElectrostaticGroundingEdit.aspx | 81 ++
.../JGZL/ElectrostaticGroundingEdit.aspx.cs | 141 ++
...lectrostaticGroundingEdit.aspx.designer.cs | 206 +++
.../JGZL/PipelineTotalTrust.aspx | 129 ++
.../JGZL/PipelineTotalTrust.aspx.cs | 276 ++++
.../JGZL/PipelineTotalTrust.aspx.designer.cs | 170 +++
.../JGZL/PipelineWeldJointTrust.aspx | 107 ++
.../JGZL/PipelineWeldJointTrust.aspx.cs | 304 ++++
.../PipelineWeldJointTrust.aspx.designer.cs | 161 +++
HJGL_DS/FineUIPro.Web/Web.config | 2 +-
HJGL_DS/Model/BlowingCleaningItem.cs | 94 ++
HJGL_DS/Model/Model.cs | 1278 +++++++++++++++++
HJGL_DS/Model/Model.csproj | 1 +
HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +-
42 files changed, 7334 insertions(+), 243 deletions(-)
create mode 100644 DataBase/版本日志/HJGLDB_DS_2026-01-21_bwj.sql
create mode 100644 HJGL_DS/BLL/JGZL/BlowingCleaningItemService.cs
create mode 100644 HJGL_DS/BLL/JGZL/BlowingCleaningService.cs
create mode 100644 HJGL_DS/BLL/JGZL/ElectrostaticGroundingService.cs
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道吹扫、清洗检验记录.frx
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测委托单.frx
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊口检测总委托单.frx
create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道静电接地测试记录.frx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaning.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningEdit.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/BlowingCleaningSearch.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGrounding.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/ElectrostaticGroundingEdit.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineTotalTrust.aspx.designer.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.cs
create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/PipelineWeldJointTrust.aspx.designer.cs
create mode 100644 HJGL_DS/Model/BlowingCleaningItem.cs
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/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj
index 992ccb0..12c60b3 100644
--- a/HJGL_DS/BLL/BLL.csproj
+++ b/HJGL_DS/BLL/BLL.csproj
@@ -247,9 +247,12 @@
+
+
+
diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs
index eca9512..b12f0d1 100644
--- a/HJGL_DS/BLL/Common/Const.cs
+++ b/HJGL_DS/BLL/Common/Const.cs
@@ -1805,6 +1805,16 @@ 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";
#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/FineUIPro.Web/ErrLog.txt b/HJGL_DS/FineUIPro.Web/ErrLog.txt
index 42a2752..c43370d 100644
--- a/HJGL_DS/FineUIPro.Web/ErrLog.txt
+++ b/HJGL_DS/FineUIPro.Web/ErrLog.txt
@@ -1,185 +1,11 @@
-错误信息开始=====>
-错误类型: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 指令或程序集引用?)
+错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx(12): error CS1061: “ASP.jgzl_blowingcleaningedit_aspx”不包含“PageManager1_CustomEvent”的定义,并且找不到可接受类型为“ASP.jgzl_blowingcleaningedit_aspx”的第一个参数的扩展方法“PageManager1_CustomEvent”(是否缺少 using 指令或程序集引用?)
错误堆栈:
- 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
+ 在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
+ 在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
+ 在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
在 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)
@@ -188,71 +14,148 @@ IP地址:::1
在 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
+出错时间:01/16/2026 14:21:20
+出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?projectId=6231b1e7-b890-4ad3-bdb4-03e7632f3672
IP地址:::1
-出错时间:12/19/2025 11:12:55
+出错时间:01/16/2026 14:21:20
错误信息开始=====>
-错误类型: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 指令或程序集引用?)
+错误类型:SqlException
+错误信息:不能将值 NULL 插入列 'BlowingCleaningId',表 'HJGLDB_DS.dbo.JGZL_BlowingCleaningItem';列不允许有 Null 值。INSERT 失败。
+语句已终止。
错误堆栈:
- 在 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
+ 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
+ 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
+ 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
+ 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
+ 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
+ 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
+ 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
+ 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
+ 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
+ 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
+ 在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
+ 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
+ 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
+ 在 BLL.BlowingCleaningItemService.AddBlowingCleaningItem(JGZL_BlowingCleaningItem item) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\BLL\JGZL\BlowingCleaningItemService.cs:行号 54
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnSave_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 181
在 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
+出错时间:01/16/2026 15:11:26
+出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?projectId=b4b024bd-0129-4a3b-a792-46390a4e5f90
IP地址:::1
操作人员:管理员
-出错时间:12/19/2025 11:16:01
+出错时间:01/16/2026 15:11:26
+
+
+错误信息开始=====>
+错误类型:ArgumentNullException
+错误信息:值不能为 null。
+参数名: source
+错误堆栈:
+ 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/19/2026 10:01:20
+出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=a83d8661-88b6-4558-ade9-bb9eee39c70f
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/19/2026 10:01:20
+
+
+错误信息开始=====>
+错误类型:ArgumentNullException
+错误信息:值不能为 null。
+参数名: source
+错误堆栈:
+ 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/19/2026 10:01:22
+出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=a83d8661-88b6-4558-ade9-bb9eee39c70f
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/19/2026 10:01:22
+
+
+错误信息开始=====>
+错误类型:ArgumentNullException
+错误信息:值不能为 null。
+参数名: source
+错误堆栈:
+ 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
+ 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
+ 在 FineUIPro.MenuButton.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/19/2026 10:23:08
+出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=c25b5e3f-3f55-40ac-85ad-fe5532b67de7
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/19/2026 10:23:08
+
+
+错误信息开始=====>
+错误类型:IndexOutOfRangeException
+错误信息:无法找到列 JOT_JointDesc。
+错误堆栈:
+ 在 System.Data.DataTable.ParseSortString(String sortString)
+ 在 System.Data.DataView.set_Sort(String value)
+ 在 FineUIPro.Web.PageBase.GetPagedDataTable(Grid Grid1, DataTable tb) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\PageBase.cs:行号 328
+ 在 FineUIPro.Web.JGZL.PipelineTotalTrust.BindGrid() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 122
+ 在 FineUIPro.Web.JGZL.PipelineTotalTrust.Grid1_Sort(Object sender, GridSortEventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 149
+ 在 FineUIPro.Grid.OnSort(GridSortEventArgs e)
+ 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/21/2026 14:56:39
+出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/21/2026 14:56:39
+
+
+错误信息开始=====>
+错误类型:IndexOutOfRangeException
+错误信息:无法找到列 ISO_IsoNo。
+错误堆栈:
+ 在 System.Data.DataTable.ParseSortString(String sortString)
+ 在 System.Data.DataView.set_Sort(String value)
+ 在 FineUIPro.Web.JGZL.PipelineTotalTrust.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 225
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/21/2026 14:56:55
+出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/21/2026 14:56:55
+
+
+错误信息开始=====>
+错误类型:IndexOutOfRangeException
+错误信息:无法找到列 ISO_IsoNo。
+错误堆栈:
+ 在 System.Data.DataTable.ParseSortString(String sortString)
+ 在 System.Data.DataView.set_Sort(String value)
+ 在 FineUIPro.Web.JGZL.PipelineTotalTrust.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 225
+ 在 FineUIPro.Button.OnClick(EventArgs e)
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:01/21/2026 14:56:57
+出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
+IP地址:::1
+操作人员:管理员
+
+出错时间:01/21/2026 14:56:57
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..c996bad 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1243,18 +1243,25 @@
+
+
+
+
+
+
+
@@ -6558,6 +6565,27 @@
AcceptanceCertificateEdit.aspx
+
+ BlowingCleaning.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaning.aspx
+
+
+ BlowingCleaningEdit.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaningEdit.aspx
+
+
+ BlowingCleaningSearch.aspx
+ ASPXCodeBehind
+
+
+ BlowingCleaningSearch.aspx
+
CommencementReport.aspx
ASPXCodeBehind
@@ -6600,6 +6628,20 @@
ContactEdit.aspx
+
+ ElectrostaticGrounding.aspx
+ ASPXCodeBehind
+
+
+ ElectrostaticGrounding.aspx
+
+
+ ElectrostaticGroundingEdit.aspx
+ ASPXCodeBehind
+
+
+ ElectrostaticGroundingEdit.aspx
+
HandoverCertificate.aspx
ASPXCodeBehind
@@ -6642,6 +6684,20 @@
NDTPersonEdit.aspx
+
+ PipelineTotalTrust.aspx
+ ASPXCodeBehind
+
+
+ PipelineTotalTrust.aspx
+
+
+ PipelineWeldJointTrust.aspx
+ ASPXCodeBehind
+
+
+ PipelineWeldJointTrust.aspx
+
PipeWeldingWorkRecord.aspx
ASPXCodeBehind
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
index a1d9585..72b6a27 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -2,7 +2,7 @@
true
- Release|Any CPU
+ Debug|Any CPU
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/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/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index 30834b7..6bfb6c8 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -67,7 +67,7 @@
-
+
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..228b499 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,6 +389,9 @@ 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);
@@ -1768,6 +1777,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 +1817,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table JGZL_ElectrostaticGrounding
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table JGZL_HandoverCertificate
{
get
@@ -4439,12 +4472,16 @@ 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_MeasuringInstruments;
@@ -4582,9 +4619,11 @@ 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_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));
@@ -5671,6 +5710,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 +5762,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
{
@@ -6458,6 +6523,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 +6571,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();
@@ -23590,6 +23679,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 +23718,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 +24045,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 +24209,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 +45613,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 +45721,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 +46934,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 +47098,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 +80083,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 +82192,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
{
@@ -105936,12 +107158,16 @@ 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_MeasuringInstruments;
@@ -106036,9 +107262,11 @@ namespace Model
this._HJGL_Sys_UserShowColumns = new EntitySet(new Action(this.attach_HJGL_Sys_UserShowColumns), new Action(this.detach_HJGL_Sys_UserShowColumns));
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_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));
@@ -106696,6 +107924,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_BlowingCleaning_Sys_User", Storage="_JGZL_BlowingCleaning", ThisKey="UserId", OtherKey="CompileMan", 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_Sys_User", Storage="_JGZL_CommencementReport", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet JGZL_CommencementReport
{
@@ -106735,6 +107976,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Sys_User", Storage="_JGZL_ElectrostaticGrounding", ThisKey="UserId", OtherKey="CompileMan", 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_Sys_User", Storage="_JGZL_HandoverCertificate", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet JGZL_HandoverCertificate
{
@@ -107192,6 +108446,18 @@ namespace Model
entity.Sys_User = null;
}
+ private void attach_JGZL_BlowingCleaning(JGZL_BlowingCleaning entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = this;
+ }
+
+ private void detach_JGZL_BlowingCleaning(JGZL_BlowingCleaning entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = null;
+ }
+
private void attach_JGZL_CommencementReport(JGZL_CommencementReport entity)
{
this.SendPropertyChanging();
@@ -107228,6 +108494,18 @@ namespace Model
entity.Sys_User = null;
}
+ private void attach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = this;
+ }
+
+ private void detach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
+ {
+ this.SendPropertyChanging();
+ entity.Sys_User = null;
+ }
+
private void attach_JGZL_HandoverCertificate(JGZL_HandoverCertificate entity)
{
this.SendPropertyChanging();
diff --git a/HJGL_DS/Model/Model.csproj b/HJGL_DS/Model/Model.csproj
index 4f5bf29..f6bdbd3 100644
--- a/HJGL_DS/Model/Model.csproj
+++ b/HJGL_DS/Model/Model.csproj
@@ -69,6 +69,7 @@
+
diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user
index 28be9c4..a48b337 100644
--- a/HJGL_DS/WebAPI/WebAPI.csproj.user
+++ b/HJGL_DS/WebAPI/WebAPI.csproj.user
@@ -1,7 +1,7 @@
- Release|Any CPU
+ Debug|Any CPU
FolderProfile
true
From 0c9cfc2ae57c895ac01137bede970a6718b1b07e Mon Sep 17 00:00:00 2001
From: xiaju <1784803958@qq.com>
Date: Wed, 21 Jan 2026 20:42:08 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E6=9D=90=E6=96=99=E8=B4=A8=E9=87=8F?=
=?UTF-8?q?=E8=AF=81=E6=98=8E=E6=96=87=E4=BB=B6=E4=B8=80=E8=A7=88=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 5 +
CreateModel2017.bat | 33 ------
HJGL_DS/FineUIPro.Web/ErrLog.txt | 161 -----------------------------
HJGL_DS/FineUIPro.Web/Web.config | 171 -------------------------------
HJGL_DS/Model/packages.config | 4 -
HJGL_DS/WebAPI/Web.config | 79 --------------
6 files changed, 5 insertions(+), 448 deletions(-)
delete mode 100644 CreateModel2017.bat
delete mode 100644 HJGL_DS/FineUIPro.Web/ErrLog.txt
delete mode 100644 HJGL_DS/FineUIPro.Web/Web.config
delete mode 100644 HJGL_DS/Model/packages.config
delete mode 100644 HJGL_DS/WebAPI/Web.config
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/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/HJGL_DS/FineUIPro.Web/ErrLog.txt b/HJGL_DS/FineUIPro.Web/ErrLog.txt
deleted file mode 100644
index c43370d..0000000
--- a/HJGL_DS/FineUIPro.Web/ErrLog.txt
+++ /dev/null
@@ -1,161 +0,0 @@
-
-错误信息开始=====>
-错误类型:HttpCompileException
-错误信息:e:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx(12): error CS1061: “ASP.jgzl_blowingcleaningedit_aspx”不包含“PageManager1_CustomEvent”的定义,并且找不到可接受类型为“ASP.jgzl_blowingcleaningedit_aspx”的第一个参数的扩展方法“PageManager1_CustomEvent”(是否缺少 using 指令或程序集引用?)
-错误堆栈:
- 在 System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
- 在 System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
- 在 System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
- 在 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)
-出错时间:01/16/2026 14:21:20
-出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?projectId=6231b1e7-b890-4ad3-bdb4-03e7632f3672
-IP地址:::1
-
-出错时间:01/16/2026 14:21:20
-
-
-错误信息开始=====>
-错误类型:SqlException
-错误信息:不能将值 NULL 插入列 'BlowingCleaningId',表 'HJGLDB_DS.dbo.JGZL_BlowingCleaningItem';列不允许有 Null 值。INSERT 失败。
-语句已终止。
-错误堆栈:
- 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
- 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
- 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
- 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
- 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
- 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
- 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
- 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
- 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
- 在 System.Data.Linq.ChangeDirector.StandardChangeDirector.DynamicInsert(TrackedObject item)
- 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
- 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
- 在 BLL.BlowingCleaningItemService.AddBlowingCleaningItem(JGZL_BlowingCleaningItem item) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\BLL\JGZL\BlowingCleaningItemService.cs:行号 54
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnSave_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 181
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/16/2026 15:11:26
-出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?projectId=b4b024bd-0129-4a3b-a792-46390a4e5f90
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/16/2026 15:11:26
-
-
-错误信息开始=====>
-错误类型:ArgumentNullException
-错误信息:值不能为 null。
-参数名: source
-错误堆栈:
- 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/19/2026 10:01:20
-出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=a83d8661-88b6-4558-ade9-bb9eee39c70f
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/19/2026 10:01:20
-
-
-错误信息开始=====>
-错误类型:ArgumentNullException
-错误信息:值不能为 null。
-参数名: source
-错误堆栈:
- 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/19/2026 10:01:22
-出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=a83d8661-88b6-4558-ade9-bb9eee39c70f
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/19/2026 10:01:22
-
-
-错误信息开始=====>
-错误类型:ArgumentNullException
-错误信息:值不能为 null。
-参数名: source
-错误堆栈:
- 在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.CollectGridJointInfo() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 220
- 在 FineUIPro.Web.JGZL.BlowingCleaningEdit.btnMenuDelete_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\BlowingCleaningEdit.aspx.cs:行号 268
- 在 FineUIPro.MenuButton.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/19/2026 10:23:08
-出错文件:http://localhost:60961/JGZL/BlowingCleaningEdit.aspx?blowingCleaningId=c25b5e3f-3f55-40ac-85ad-fe5532b67de7
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/19/2026 10:23:08
-
-
-错误信息开始=====>
-错误类型:IndexOutOfRangeException
-错误信息:无法找到列 JOT_JointDesc。
-错误堆栈:
- 在 System.Data.DataTable.ParseSortString(String sortString)
- 在 System.Data.DataView.set_Sort(String value)
- 在 FineUIPro.Web.PageBase.GetPagedDataTable(Grid Grid1, DataTable tb) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\common\PageBase.cs:行号 328
- 在 FineUIPro.Web.JGZL.PipelineTotalTrust.BindGrid() 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 122
- 在 FineUIPro.Web.JGZL.PipelineTotalTrust.Grid1_Sort(Object sender, GridSortEventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 149
- 在 FineUIPro.Grid.OnSort(GridSortEventArgs e)
- 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/21/2026 14:56:39
-出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/21/2026 14:56:39
-
-
-错误信息开始=====>
-错误类型:IndexOutOfRangeException
-错误信息:无法找到列 ISO_IsoNo。
-错误堆栈:
- 在 System.Data.DataTable.ParseSortString(String sortString)
- 在 System.Data.DataView.set_Sort(String value)
- 在 FineUIPro.Web.JGZL.PipelineTotalTrust.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 225
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/21/2026 14:56:55
-出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/21/2026 14:56:55
-
-
-错误信息开始=====>
-错误类型:IndexOutOfRangeException
-错误信息:无法找到列 ISO_IsoNo。
-错误堆栈:
- 在 System.Data.DataTable.ParseSortString(String sortString)
- 在 System.Data.DataView.set_Sort(String value)
- 在 FineUIPro.Web.JGZL.PipelineTotalTrust.btnPrint_Click(Object sender, EventArgs e) 位置 E:\鼎盛\HJGL_DS\HJGL_DS\FineUIPro.Web\JGZL\PipelineTotalTrust.aspx.cs:行号 225
- 在 FineUIPro.Button.OnClick(EventArgs e)
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:01/21/2026 14:56:57
-出错文件:http://localhost:60961/JGZL/PipelineTotalTrust.aspx
-IP地址:::1
-操作人员:管理员
-
-出错时间:01/21/2026 14:56:57
-
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
deleted file mode 100644
index 0066e09..0000000
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-