Compare commits

..

23 Commits

Author SHA1 Message Date
gaofei db7cd6870c 1 2026-10-09 16:55:01 +08:00
gaofei f4adc645ac 1 2026-10-09 16:54:22 +08:00
biwj 7c81259fbb 20261009 2026-10-09 16:48:18 +08:00
biwj 466941bdaa 20261008 2026-10-08 14:11:45 +08:00
biwj a5660eda30 20260924 焊条烘烤记录 2026-09-24 20:23:22 +08:00
gaofei 9189e998ae 1 2026-09-24 14:32:21 +08:00
gaofei d5afc0d5c0 1 2026-09-24 14:31:43 +08:00
biwj 18173e2233 20260924 焊条烘烤记录 2026-09-24 14:04:50 +08:00
biwj 47c5ca0ce4 Merge branch 'master' of http://47.104.102.122:3000/gaofei/HJGL_DS 2026-09-24 14:00:54 +08:00
biwj e69276ce48 20260924 焊条烘烤记录 2026-09-24 14:00:51 +08:00
gaofei dcc9d3a345 1 2026-09-23 15:45:26 +08:00
gaofei 498b31cacd 1 2026-09-23 11:03:18 +08:00
gaofei c2c229df63 1 2026-09-22 17:47:19 +08:00
gaofei 159acc1d33 1 2026-09-22 14:38:37 +08:00
gaofei a9f54cdeb7 1 2026-09-22 10:08:42 +08:00
gaofei 13b8bbf2fe 1 2026-09-21 17:41:15 +08:00
gaofei 75123fa77a 1 2026-09-21 17:36:20 +08:00
gaofei a9bf304ad9 1 2026-09-21 17:07:40 +08:00
gaofei 156883656d 1 2026-09-21 17:05:59 +08:00
biwj 2b3539cd85 20260918 管道系统泄漏性试验记录 2026-09-18 11:31:28 +08:00
biwj 2a50577412 20260917 2026-09-17 14:50:16 +08:00
biwj 5a8271ef13 20260917 1 2026-09-17 13:18:56 +08:00
biwj b4874d3399 20260917 管道安装 2026-09-17 08:31:52 +08:00
52 changed files with 1880 additions and 538 deletions
@@ -0,0 +1,126 @@
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','工业管道安装汇总表(舟山特检院要求表)','JGZL/IndustrialInstallationSummaryZhoushan.aspx',52,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
go
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('7D9788EA-5015-4C75-9345-6413C5CE31B7','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','增加',1)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('4F1EFB19-F2B0-45FA-A23D-E099B0F349C6','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','修改',2)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('987AB25A-D7ED-4955-B871-21CD85B75282','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','删除',3)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('868F695F-2963-49AE-A479-4E6BCB90B061','BC7616E5-E6B2-4C32-A3C4-8B2877B73DD0','提交',4)
go
CREATE TABLE [dbo].[JGZL_IndustrialInstallationSummaryZhoushan](
[SummaryId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[InstallationName] [nvarchar](50) NULL,
[TestPackageCode] [nvarchar](50) NULL,
[PipelineName] [nvarchar](50) NULL,
[PipelineCode] [nvarchar](50) NULL,
[PipelineLevel] [nvarchar](50) NULL,
[Material] [nvarchar](50) NULL,
[Medium] [nvarchar](50) NULL,
[Diameter] [decimal](18, 2) NULL,
[WallThickness] [decimal](18, 2) NULL,
[PipelineLength] [decimal](18, 2) NULL,
[WeldJointsCount] [int] NULL,
[PipeFittings] [int] NULL,
[StartPoint] [nvarchar](50) NULL,
[EndPoint] [nvarchar](50) NULL,
[DesignTemperature] [decimal](18, 2) NULL,
[DesignPressure] [decimal](18, 2) NULL,
[OperatingTemperature] [decimal](18, 2) NULL,
[OperatingPressure] [decimal](18, 2) NULL,
[PressureTestMedium] [nvarchar](50) NULL,
[PressureTestPressure] [decimal](18, 2) NULL,
[TestDate] [datetime] NULL,
CONSTRAINT [PK_JGZL_IndustrialInstallationSummaryZhoushan] PRIMARY KEY CLUSTERED
(
[SummaryId] 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_IndustrialInstallationSummaryZhoushan] WITH CHECK ADD CONSTRAINT [FK_JGZL_IndustrialInstallationSummaryZhoushan_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[JGZL_IndustrialInstallationSummaryZhoushan] CHECK CONSTRAINT [FK_JGZL_IndustrialInstallationSummaryZhoushan_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'SummaryId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @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_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'InstallationName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'试压包编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'TestPackageCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @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_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineLevel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Material'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'介质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Medium'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公称直径(mm)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'Diameter'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公称壁厚(mm)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'WallThickness'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道长度(m)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipelineLength'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊口总数(个)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'WeldJointsCount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管件数量(个)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PipeFittings'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'起点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'StartPoint'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'终点' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'EndPoint'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计温度(℃)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'DesignTemperature'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计压力(MPa)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'DesignPressure'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作温度℃' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'OperatingTemperature'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作压力Mpa' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'OperatingPressure'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力试验介质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PressureTestMedium'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力试验压力Mpa' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'PressureTestPressure'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'试压时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan', @level2type=N'COLUMN',@level2name=N'TestDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'压力管道安装汇总表(舟山特检院要求表)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_IndustrialInstallationSummaryZhoushan'
GO
@@ -0,0 +1,2 @@
alter table [dbo].[OAM_User] add IsSelfCreate bit null
GO
@@ -0,0 +1,2 @@
alter table HJGL_BS_Welder add IsSelfCreate bit null
GO
@@ -0,0 +1,67 @@
CREATE VIEW [dbo].[View_UnitWeldPerformance]
AS
SELECT
NEWID() AS Id,
'' as ProjectCode,
total.WED_Unit,
un.UnitCode,-- 单位代码
un.UnitName,--单位名称
-------------本期start
ISNULL(MRPerson.MRPersonNum,0) AS MRPersonNum, --维保在岗人数
ISNULL(TTPerson.TTPersonNum,0) AS TTPersonNum, --技改在岗人数
ISNULL(WeldJoint.totalSize,0) AS TotalSize, --当日焊接量
ISNULL(WorkProject.WorkProjectNum,0) AS WorkProjectNum --维保工作项数
FROM
--总达因值 --总焊口
(SELECT SUM(joint.JOT_Size) AS totalSize,COUNT(*) AS totalJoint
,joint.WED_Unit
FROM View_JointWelder joint
LEFT JOIN HJGL_BO_WeldReportMain report ON joint.DReportID = report.DReportID
WHERE joint.DReportID IS NOT NULL and report.JOT_WeldDate >= '2026-01-01'
GROUP BY joint.WED_Unit) AS total
--维保在岗人数,有几个人领用了焊材就是几个人
LEFT JOIN (SELECT COUNT(usingMat.UsingMatId) AS MRPersonNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date)
GROUP BY welder.WED_Unit) AS MRPerson
ON MRPerson.WED_Unit = total.WED_Unit
--技改在岗人数,当焊材领用时选择了管道焊接的人数
LEFT JOIN (SELECT COUNT(distinct usingMat.UsingMan) AS TTPersonNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
left join dbo.Weld_UsingPlan usingPlan on usingPlan.UsingPlanId=usingMat.UsingPlanId
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date) and usingPlan.IsSteelStru=0
GROUP BY welder.WED_Unit) AS TTPerson
ON TTPerson.WED_Unit = total.WED_Unit
--当日焊接量,只统计自建焊工的总工作量
LEFT JOIN (SELECT SUM(joint.JOT_Size) AS totalSize
,joint.WED_Unit
FROM View_JointWelder joint
LEFT JOIN HJGL_BO_WeldReportMain report ON joint.DReportID = report.DReportID
LEFT JOIN HJGL_BS_Welder wed on wed.WED_ID=joint.Welder
WHERE joint.DReportID IS NOT NULL and report.JOT_WeldDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and report.JOT_WeldDate<CAST(GETDATE() AS date)
and wed.IsSelfCreate=1
GROUP BY joint.WED_Unit) AS WeldJoint
ON WeldJoint.WED_Unit = total.WED_Unit
--维保工作项数,自建焊工领用的项目数量
LEFT JOIN (SELECT COUNT(distinct usingMat.ProjectId) AS WorkProjectNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date)
and welder.IsSelfCreate=1
GROUP BY welder.WED_Unit) AS WorkProject
ON WorkProject.WED_Unit = total.WED_Unit
LEFT JOIN dbo.Base_Unit un ON un.UnitId=total.WED_Unit
GO
@@ -0,0 +1,68 @@
ALTER VIEW [dbo].[View_UnitWeldPerformance]
AS
SELECT
NEWID() AS Id,
'' as ProjectCode,
total.WED_Unit,
un.UnitCode,-- 单位代码
un.UnitName,--单位名称
-------------本期start
DATEADD(day, -1, CAST(GETDATE() AS date)) as ReportDate, --统计日期
ISNULL(MRPerson.MRPersonNum,0) AS MRPersonNum, --维保在岗人数
ISNULL(TTPerson.TTPersonNum,0) AS TTPersonNum, --技改在岗人数
ISNULL(WeldJoint.totalSize,0) AS TotalSize, --当日焊接量
ISNULL(WorkProject.WorkProjectNum,0) AS WorkProjectNum --维保工作项数
FROM
--总达因值 --总焊口
(SELECT SUM(joint.JOT_Size) AS totalSize,COUNT(*) AS totalJoint
,joint.WED_Unit
FROM View_JointWelder joint
LEFT JOIN HJGL_BO_WeldReportMain report ON joint.DReportID = report.DReportID
WHERE joint.DReportID IS NOT NULL and report.JOT_WeldDate >= '2026-01-01'
GROUP BY joint.WED_Unit) AS total
--维保在岗人数,有几个人领用了焊材就是几个人
LEFT JOIN (SELECT COUNT(usingMat.UsingMatId) AS MRPersonNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date)
GROUP BY welder.WED_Unit) AS MRPerson
ON MRPerson.WED_Unit = total.WED_Unit
--技改在岗人数,当焊材领用时选择了管道焊接的人数
LEFT JOIN (SELECT COUNT(distinct usingMat.UsingMan) AS TTPersonNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
left join dbo.Weld_UsingPlan usingPlan on usingPlan.UsingPlanId=usingMat.UsingPlanId
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date) and usingPlan.IsSteelStru=0
GROUP BY welder.WED_Unit) AS TTPerson
ON TTPerson.WED_Unit = total.WED_Unit
--当日焊接量,只统计自建焊工的总工作量
LEFT JOIN (SELECT SUM(joint.JOT_Size) AS totalSize
,joint.WED_Unit
FROM View_JointWelder joint
LEFT JOIN HJGL_BO_WeldReportMain report ON joint.DReportID = report.DReportID
LEFT JOIN HJGL_BS_Welder wed on wed.WED_ID=joint.Welder
WHERE joint.DReportID IS NOT NULL and report.JOT_WeldDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and report.JOT_WeldDate<CAST(GETDATE() AS date)
and wed.IsSelfCreate=1
GROUP BY joint.WED_Unit) AS WeldJoint
ON WeldJoint.WED_Unit = total.WED_Unit
--维保工作项数,自建焊工领用的项目数量
LEFT JOIN (SELECT COUNT(distinct usingMat.ProjectId) AS WorkProjectNum,
welder.WED_Unit
FROM dbo.HJGL_BS_Welder welder
left join dbo.Weld_UsingMat usingMat on usingMat.UsingMan=welder.WED_ID
WHERE usingMat.UsingDate>= DATEADD(day, -1, CAST(GETDATE() AS date)) and usingMat.UsingDate<CAST(GETDATE() AS date)
and welder.IsSelfCreate=1
GROUP BY welder.WED_Unit) AS WorkProject
ON WorkProject.WED_Unit = total.WED_Unit
LEFT JOIN dbo.Base_Unit un ON un.UnitId=total.WED_Unit
GO
@@ -0,0 +1,4 @@
update Sys_Menu set MenuName='工艺管线数据表识别',SortIndex=5,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='EFD1E914-E79C-4F5E-A2F7-CFF4F7821284'
update Sys_Menu set SortIndex=15,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='34BAD63E-EF7C-4D7E-8641-C706BBFCD85F'
update Sys_Menu set SortIndex=21,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='6B16D1D4-FBDA-4B2B-AE0A-B465C686C27D'
GO
+1
View File
@@ -264,6 +264,7 @@
<Compile Include="JGZL\ArchivalTransferService.cs" />
<Compile Include="JGZL\DocumentDescriptionService.cs" />
<Compile Include="JGZL\FileDirectoryService.cs" />
<Compile Include="JGZL\IndustrialInstallationSummaryZhoushanService.cs" />
<Compile Include="JGZL\InsulationAcceptanceRecordItemService.cs" />
<Compile Include="JGZL\InsulationAcceptanceRecordService.cs" />
<Compile Include="JGZL\LeakageVacuumService.cs" />
@@ -52,7 +52,7 @@ namespace BLL
newWelder.ProjectId = welder.ProjectId;
newWelder.IdentityCard = welder.IdentityCard;
newWelder.SignatureUrl = welder.SignatureUrl;
newWelder.IsSelfCreate = welder.IsSelfCreate;
newWelder.MaxHanTiao = welder.MaxHanTiao;
newWelder.MaxWeldingWire = welder.MaxWeldingWire;
@@ -95,6 +95,7 @@ namespace BLL
newWelder.MaxHanTiao = welder.MaxHanTiao;
newWelder.MaxWeldingWire = welder.MaxWeldingWire;
newWelder.IsOAM = welder.IsOAM;
newWelder.IsSelfCreate = welder.IsSelfCreate;
if (!string.IsNullOrEmpty(welder.PhotoUrl) && newWelder.PhotoUrl != welder.PhotoUrl)
{
newWelder.PhotoUrl = welder.PhotoUrl;
@@ -0,0 +1,76 @@
using Model;
using Org.BouncyCastle.Bcpg.OpenPgp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 压力管道安装汇总表(舟山特检院要求表)
/// </summary>
public class IndustrialInstallationSummaryZhoushanService
{
/// <summary>
/// 根据项目Id获取压力管道安装汇总表(舟山特检院要求表)
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static List<Model.JGZL_IndustrialInstallationSummaryZhoushan> GetInstallationSummaryZhoushanByProjectId(string projectId)
{
return (from x in Funs.DB.JGZL_IndustrialInstallationSummaryZhoushan where x.ProjectId == projectId select x).ToList();
}
/// <summary>
/// 增加
/// </summary>
/// <param name="zs"></param>
public static void AddIndustrialInstallationSummaryZhoushan(Model.JGZL_IndustrialInstallationSummaryZhoushan zs)
{
SGGLDB db = Funs.DB;
Model.JGZL_IndustrialInstallationSummaryZhoushan newZS = new JGZL_IndustrialInstallationSummaryZhoushan();
newZS.SummaryId = zs.SummaryId;
newZS.ProjectId= zs.ProjectId;
newZS.InstallationName= zs.InstallationName;
newZS.TestPackageCode = zs.TestPackageCode;
newZS.PipelineName = zs.PipelineName;
newZS.PipelineCode = zs.PipelineCode;
newZS.PipelineLevel = zs.PipelineLevel;
newZS.Material = zs.Material;
newZS.Medium= zs.Medium;
newZS.Diameter= zs.Diameter;
newZS.WallThickness= zs.WallThickness;
newZS.PipelineLength = zs.PipelineLength;
newZS.WeldJointsCount= zs.WeldJointsCount;
newZS.PipeFittings= zs.PipeFittings;
newZS.StartPoint= zs.StartPoint;
newZS.EndPoint= zs.EndPoint;
newZS.DesignTemperature= zs.DesignTemperature;
newZS.DesignPressure= zs.DesignPressure;
newZS.OperatingTemperature= zs.OperatingTemperature;
newZS.OperatingPressure = zs.OperatingPressure;
newZS.PressureTestPressure= zs.PressureTestPressure;
newZS.PressureTestMedium = zs.PressureTestMedium;
newZS.TestDate= zs.TestDate;
db.JGZL_IndustrialInstallationSummaryZhoushan.InsertOnSubmit(newZS);
db.SubmitChanges();
}
/// <summary>
/// 根据项目Id删除压力管道安装汇总表(舟山特检院要求表)
/// </summary>
/// <param name="projectId"></param>
public static void DeleteIndustrialInstallationSummaryZhoushanByProjectId(string projectId)
{
SGGLDB db = Funs.DB;
var q = (from x in db.JGZL_IndustrialInstallationSummaryZhoushan where x.ProjectId == projectId select x).ToList();
if (q.Count>0)
{
db.JGZL_IndustrialInstallationSummaryZhoushan.DeleteAllOnSubmit(q);
db.SubmitChanges();
}
}
}
}
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="09/09/2026 16:50:18" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="10/09/2026 09:24:39" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFPBBtNNSbxRL0XXYTtAoVIA==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFzsQOzZJGNfutOS1d36ZVeQ==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>
@@ -79,8 +79,8 @@ namespace FastReport
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="236.25" Guides="0,18.9,56.7,85.05,236.25,37.8,151.2,94.5">
<TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/1.2025" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/>
<TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="工业管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text4" Left="132.3" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text3" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text4" Left="132.3" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableObject Name="Table1" Top="85.05" Width="1009.26" Height="151.2" Border.Lines="Bottom">
<TableColumn Name="Column1" Width="18.9"/>
<TableColumn Name="Column23" Width="85.05"/>
@@ -106,11 +106,11 @@ namespace FastReport
<TableColumn Name="Column21" Width="47.25"/>
<TableColumn Name="Column22" Width="47.25"/>
<TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="4"/>
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell175" Border.Lines="Top" Text="[DeliveryUnit]" VertAlign="Center" Font="宋体, 12pt" ColSpan="9"/>
<TableCell Name="Cell175" Border.Lines="Top" Text="[DeliveryUnit]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="9"/>
<TableCell Name="Cell172" Border.Lines="Top" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell4" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell5" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
@@ -119,10 +119,10 @@ namespace FastReport
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="3"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="宋体, 12pt" ColSpan="7"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
@@ -131,54 +131,54 @@ namespace FastReport
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
<TableRow Name="Row2" Height="56.7">
<TableCell Name="Cell6" Border.Lines="All" Text="管道编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="3" RowSpan="2"/>
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell176" Border.Lines="All" Text="起止点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="2"/>
<TableCell Name="Cell173" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell44" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell46" Border.Lines="All" Text="规格&#13;&#10;(mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" Text="长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell50" Border.Lines="All" Text="无损检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" Text="耐压试验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell52" Border.Lines="All" Text="耐压试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell53" Border.Lines="All" Text="耐压试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell55" Border.Lines="All" Text="泄漏试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹扫、清洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell58" Border.Lines="All" Text="腐蚀控制方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/>
<TableCell Name="Cell6" Border.Lines="All" Text="管道编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3" RowSpan="2"/>
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell176" Border.Lines="All" Text="起止点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell173" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell44" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell46" Border.Lines="All" Text="规格&#13;&#10;(mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" Text="长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell50" Border.Lines="All" Text="无损检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" Text="耐压试验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell52" Border.Lines="All" Text="耐压试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell53" Border.Lines="All" Text="耐压试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell55" Border.Lines="All" Text="泄漏试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹扫、清洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell58" Border.Lines="All" Text="腐蚀控制方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
</TableRow>
<TableRow Name="Row3" Height="56.7">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell177" Border.Lines="All" Text="起&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell174" Border.Lines="All" Text="终&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell177" Border.Lines="All" Text="起&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell174" Border.Lines="All" Text="终&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
@@ -208,29 +208,29 @@ namespace FastReport
<TableColumn Name="Column45" Width="47.25"/>
<TableColumn Name="Column46" Width="47.25"/>
<TableRow Name="Row6" Height="85.05">
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="3"/>
<TableCell Name="Cell127" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell179" Border.Lines="All" Text="[Data.PipelineStartPoint]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell178" Border.Lines="All" Text="[Data.PipelineEndPoint]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.Remark]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell127" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell179" Border.Lines="All" Text="[Data.PipelineStartPoint]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell178" Border.Lines="All" Text="[Data.PipelineEndPoint]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.Remark]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="09/10/2026 09:47:10" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="10/09/2026 09:24:54" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFSNC6k3/Jky1tLKNl3mNErg==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF8J+BXWHdtZvMXnZn54GHNw==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>
@@ -80,7 +80,7 @@ namespace FastReport
<TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 15pt"/>
<TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="二、压力管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TextObject Name="Text3" Left="500.85" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text4" Left="642.6" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text4" Left="642.6" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableObject Name="Table1" Top="85.05" Width="1009.26" Height="151.2" Border.Lines="Bottom">
<TableColumn Name="Column1" Width="18.9"/>
<TableColumn Name="Column23" Width="85.05"/>
@@ -106,11 +106,11 @@ namespace FastReport
<TableColumn Name="Column21" Width="37.8"/>
<TableColumn Name="Column22" Width="47.25"/>
<TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" ColSpan="4"/>
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell4" Border.Lines="All" Text="[DeliveryUnit]" VertAlign="Center" ColSpan="8"/>
<TableCell Name="Cell4" Border.Lines="All" Text="[DeliveryUnit]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell5" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell172"/>
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center"/>
@@ -118,10 +118,10 @@ namespace FastReport
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" ColSpan="8"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
@@ -131,54 +131,54 @@ namespace FastReport
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell78" Border.Lines="All" Text="单线号" HorzAlign="Center" VertAlign="Center" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell173" Text="操作温度℃" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell44" Border.Lines="All" Text="输送介质" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" Text="管道材质牌号及标准" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell46" Border.Lines="All" Text="管道规格&#13;&#10;(外径×壁厚mm)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" Text="管道长度(m)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell50" Border.Lines="All" Text="检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" Text="压力试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell178"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹洗方法" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell58" Border.Lines="All" Text="防腐方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell78" Border.Lines="All" Text="单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell173" Text="操作温度℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell44" Border.Lines="All" Text="输送介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" Text="管道材质牌号及标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell46" Border.Lines="All" Text="管道规格&#13;&#10;(外径×壁厚mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" Text="管道长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell50" Border.Lines="All" Text="检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" Text="压力试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell178" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell58" Border.Lines="All" Text="防腐方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
</TableRow>
<TableRow Name="Row3" Height="75.6">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell174"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell68" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell69" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell70" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell71" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell72" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell179" Text="日期" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell174" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell179" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
@@ -208,29 +208,29 @@ namespace FastReport
<TableColumn Name="Column45" Width="37.8"/>
<TableColumn Name="Column46" Width="47.25"/>
<TableRow Name="Row6" Height="85.05">
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt" ColSpan="2"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell175" Border.Lines="All" Text="[Data.OperatingTemperature]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell180" Border.Lines="All" Text="[Data.LeakageTestDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/>
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell175" Border.Lines="All" Text="[Data.OperatingTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell180" Border.Lines="All" Text="[Data.LeakageTestDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="09/09/2026 10:05:21" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="10/08/2026 14:03:50" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjoj0apwefOc2l/sd78fdnQ==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF433RPidlV17rLTooM9L7Rg==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="EngineeringName" DataType="System.String" PropName="image_series"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="04/22/2026 23:04:05" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="09/24/2026 13:25:49" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -39,7 +39,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjpTGEarsSxENa6kYDYyuhA==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFXRA52hHA2Zz6d5lLvCYfUA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
<Column Name="BakeDateMonth" DataType="System.String"/>
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
@@ -65,9 +65,9 @@ namespace FastReport
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="0,1011.67,330.2,33.91,100.06,52.81,729.89,81.16,43.36,822.17,744.9,778.81,788.26,812.72,856.08,899.44,933.35,77.27,177.33,277.39,383.01,464.17,507.53,618.71,797.71,575.35,662.07,78.32,541.44,695.98,763.8,9.45,1001.7,708.75,1011.51,43.38,77.31,177.39,277.47,383.13,52.83,464.31,507.69,541.62,575.55,618.93,662.31,696.24,730.17,764.1,798.03,821.9301,855.86,899.24,933.17,1011.63,515.05,33.89,100.04,52.79,62.24,71.69,3.84,43.34,63.18">
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="205.81" Guides="56.7,205.81,0,78.25,101.87,23.62,149.11,125.49,28.35,37.8">
<TableObject Name="Table1" Top="56.7" Width="1011.67" Height="149.11">
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="0,1011.67,330.2,33.91,100.06,52.81,729.89,81.16,43.36,822.17,24.46,78.32,77.27,177.33,277.39,383.01,464.17,507.53,618.71,797.71,899.44,933.35,575.35,662.07,856.08,541.44,695.98,763.8,1011.51,43.38,77.31,177.39,277.47,383.13,52.83,464.31,507.69,541.62,575.55,618.93,662.31,696.24,730.17,764.1,798.03,821.9301,855.86,899.24,933.17,1011.63,515.05,33.89,100.04,52.79,62.24,71.69,3.84,43.34,63.18">
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="149.11" Guides="0,149.11,78.25,101.87,23.62,125.49">
<TableObject Name="Table1" Width="1011.67" Height="149.11">
<TableColumn Name="Column1" Width="43.36"/>
<TableColumn Name="Column2" Width="33.91"/>
<TableColumn Name="Column3" Width="100.06"/>
@@ -182,10 +182,8 @@ namespace FastReport
<TableCell Name="Cell89" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
<TextObject Name="Text1" Left="9.45" Width="992.25" Height="28.35" Text="浙 江 鼎 盛 石 化 工 程 有 限 公 司" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TextObject Name="Text2" Left="708.75" Top="37.8" Width="292.95" Height="18.9" Text="ZDS-T6.37.075.A/1.2020" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="209.81" Width="1012.28" Height="33.07" Guides="0,33.07">
<DataBand Name="Data1" Top="153.11" Width="1012.28" Height="33.07" Guides="0,33.07">
<TableObject Name="Table2" Width="1011.51" Height="33.07" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column22" Width="43.38"/>
<TableColumn Name="Column23" Width="33.93"/>
@@ -233,8 +231,8 @@ namespace FastReport
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="283.95" Width="1012.28">
<ChildBand Name="Child1" Top="246.88" Width="1012.28" Height="33.07" Guides="0,33.07" FillUnusedSpace="true">
<ColumnFooterBand Name="ColumnFooter1" Top="227.25" Width="1012.28">
<ChildBand Name="Child1" Top="190.18" Width="1012.28" Height="33.07" Guides="0,33.07" FillUnusedSpace="true">
<TableObject Name="Table3" Width="1011.67" Height="33.07">
<TableColumn Name="Column43" Width="43.36"/>
<TableColumn Name="Column44" Width="33.91"/>
@@ -283,7 +281,7 @@ namespace FastReport
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="287.95" Width="1012.28" Height="43.47" Guides="0,43.47">
<PageFooterBand Name="PageFooter1" Top="231.25" Width="1012.28" Height="43.47" Guides="0,43.47">
<TableObject Name="Table4" Width="1011.63" Height="43.47">
<TableColumn Name="Column64" Width="33.89"/>
<TableColumn Name="Column65" Width="33.89"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="09/15/2026 16:22:39" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="09/18/2026 11:22:49" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF9KaaYnf752kTTcgAAMfUGw==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFlDGVCtBD9EyVLKcJ6YVUug==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="11/05/2024 15:06:25" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/26/2024 15:04:43" ReportInfo.Modified="09/24/2026 13:53:49" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -39,7 +39,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJIsLkZzjrsv+NOSh6uCq6Ug==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFUQPsnPetCK/eKuGGko7kWA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="HJGL_BakeRecords" Enabled="true" TableName="Data">
<Column Name="BakeDateMonth" DataType="System.String"/>
<Column Name="BakeDateDay" DataType="System.String" PropName="Column"/>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
+23 -2
View File
@@ -340,6 +340,7 @@
newWelder.MaxHanTiao = q.MID_HanTiao;
newWelder.MaxWeldingWire = q.MID_WeldingWire;
newWelder.IsOAM = true;
newWelder.IsSelfCreate = q.IsSelfCreate;
if (s.Count() > 0)
{
newWelder.WED_ID = s.First().WED_ID;
@@ -377,9 +378,22 @@
{
if (!string.IsNullOrEmpty(q.MIDWelder_QualifiedProjectCode))
{
if (q.MIDWelder_QualifiedProjectCode.Contains("+"))
if (q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("和"))
{
string[] codes = q.MIDWelder_QualifiedProjectCode.Split('+');
string[] codes = null;
if (q.MIDWelder_QualifiedProjectCode.Contains("+"))
{
codes = q.MIDWelder_QualifiedProjectCode.Split('+');
}
if (q.MIDWelder_QualifiedProjectCode.Contains("+"))
{
codes = q.MIDWelder_QualifiedProjectCode.Split('+');
}
if (q.MIDWelder_QualifiedProjectCode.Contains("和"))
{
codes = q.MIDWelder_QualifiedProjectCode.Split('和');
}
foreach (string c in codes)
{
var oldCode = from x in Funs.DB.HJGL_BS_WelderQualifiedProject where x.WED_ID == s.First().WED_ID && x.QualifiedProjectCode == c && x.LimitDate.Value.Date == q.MIDWelder_LimitDate.Value.Date select x;
@@ -425,10 +439,17 @@
BLL.HJGL_WelderQualifiedProjectService.UpdateWelderQualifiedLimitDate(welderQualifiedProjectId, limitDate, q.MIDWelder_sfxgjgbl, q.MIDWelder_jjsybl, q.MIDWelder_jjsy);
}
}
// 回写表OAM_UesrQualified
long welder_ID = q.MIDWelder_ID;
bool isSync = true;
BLL.HJGL_WelderQualifiedProjectService.UpdateOAWelderQue(welder_ID, isSync);
//List<SqlParameter> listStr = new List<SqlParameter>();
//listStr.Add(new SqlParameter("@MIDWelder_ID", q.MIDWelder_ID));
//SqlParameter[] parameter = listStr.ToArray();
//BLL.SQLHelper.ExecutSql("UPDATE dbo.OAM_UesrQualified SET IsSync=1 WHERE MIDWelder_ID=@MIDWelder_ID", parameter);
}
}
}
@@ -20,17 +20,19 @@
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true"
KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId"
DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC"
OnSort="Grid1_Sort" EnableTextSelection="True">
OnSort="Grid1_Sort" EnableTextSelection="True" AllowPaging="true" IsDatabasePaging="true" PageSize="50"
OnPageIndexChange="Grid1_PageIndexChange" >
<Toolbars>
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="265px"
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="200px"
EnableEdit="true">
</f:DropDownList>
<f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker>
<f:Label ID="Label1" runat="server" Text="-"></f:Label>
<f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="300px" LabelAlign="right"></f:TextBox>
<f:DropDownList ID="drpUnitStore" runat="server" Label="焊材库" LabelAlign="Right" Width="220px" LabelWidth="80px"></f:DropDownList>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="200px" LabelAlign="right"></f:TextBox>
<f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
@@ -30,6 +30,8 @@ namespace FineUIPro.Web.HJGL.MaterialManage
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectList("1");
this.drpProjectId.DataBind();
Funs.FineUIPleaseSelect(this.drpProjectId);
BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, null, true);
BindGrid();
}
}
@@ -82,13 +84,18 @@ namespace FineUIPro.Web.HJGL.MaterialManage
strSql += " AND BakeRecords.BakeDate <= @endDate";
listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim()));
}
if (this.drpUnitStore.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpUnitStore.SelectedValue))
{
strSql += " AND BakeRecords.UnitStoreId = @UnitStoreId";
listStr.Add(new SqlParameter("@UnitStoreId", this.drpUnitStore.SelectedValue));
}
strSql += " order by BakeRecords.BakeDate desc";
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
//var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = tb;
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
}
#endregion
@@ -107,6 +114,19 @@ namespace FineUIPro.Web.HJGL.MaterialManage
}
#endregion
#region 页索引改变事件
/// <summary>
/// 页索引改变事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
Grid1.PageIndex = e.NewPageIndex;
BindGrid();
}
#endregion
#region 提交
/// <summary>
/// 确定按钮
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HJGL.MaterialManage {
public partial class ElectrodeBakeRecordNewSelect {
namespace FineUIPro.Web.HJGL.MaterialManage
{
public partial class ElectrodeBakeRecordNewSelect
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// panelCenterRegion 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelCenterRegion;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar3 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar3;
/// <summary>
/// drpProjectId 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpProjectId;
/// <summary>
/// txtStartDate 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtStartDate;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtEndDate 控件。
/// </summary>
@@ -101,7 +103,16 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtEndDate;
/// <summary>
/// drpUnitStore 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitStore;
/// <summary>
/// txtBrand 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBrand;
/// <summary>
/// btnSearch 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSearch;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSure 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSure;
/// <summary>
/// Window2 控件。
/// </summary>
+1 -1
View File
@@ -53,7 +53,7 @@
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:TextBox ID="txtCode" runat="server" Label="卷号" LabelAlign="Right"></f:TextBox>
<f:Button ID="btnPrint" Text="封面打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
<f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
@@ -111,13 +111,19 @@
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位(使用单位)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="20% 40% 40%">
<f:FormRow ColumnWidths="10% 90%">
<Items>
<f:Label ID="lblRemark" runat="server" Text="本工业管道的安装经质量检验,符合"></f:Label>
<f:Label ID="Label1" runat="server"></f:Label>
<f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和"></f:Label>
<%--<f:TextBox ID="txtRemark" runat="server"></f:TextBox>--%>
<f:DropDownList ID="drpRemark" runat="server" >
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范"/>
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范"/>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 55% 35%">
<Items>
<f:Label ID="Label2" runat="server"></f:Label>
<f:DropDownList ID="drpRemark" runat="server">
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
</f:DropDownList>
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
</Items>
@@ -169,8 +169,12 @@ namespace FineUIPro.Web.JGZL
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
}
var pipeLineLength = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID);
if (pipeLineLength != null)
{
this.txtPipelineLength.Text = pipeLineLength.Value.ToString(".##");
}
}
}
}
}
@@ -382,7 +386,7 @@ namespace FineUIPro.Web.JGZL
newRow["InstallationInspection"] = report.InstallationInspection;
newRow["ConstructionUnit"] = report.ConstructionUnit;
newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode;
newRow["Remark"] = " 本工业管道的安装经质量检验,符合" + report.Remark + "要求。";
newRow["Remark"] = " 本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和" + report.Remark + "要求。";
dt.Rows.Add(newRow);
BLL.Common.FastReportService.AddFastreportTable(dt);
@@ -706,17 +710,26 @@ namespace FineUIPro.Web.JGZL
Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"];
if (pipelineLevel != null)
{
pipelineLevel.Text = report.PipelineLevel;
if (report.PipelineLevel != null)
{
pipelineLevel.Text = report.PipelineLevel;
}
}
Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"];
if (pipelineLength != null)
{
pipelineLength.Text = report.PipelineLength;
if (report.PipelineLength != null)
{
pipelineLength.Text = report.PipelineLength;
}
}
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
if (designUnit != null)
{
designUnit.Text = report.DesignUnit;
if (report.DesignUnit != null)
{
designUnit.Text = report.DesignUnit;
}
}
Bookmark losslessTestingAgency = doc.Range.Bookmarks["LosslessTestingAgency"];
if (losslessTestingAgency != null)
@@ -239,6 +239,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtConstructionUnit;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// lblRemark 控件。
/// </summary>
@@ -248,6 +257,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.Label lblRemark;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// drpRemark 控件。
/// </summary>
@@ -146,7 +146,7 @@ namespace FineUIPro.Web.JGZL
var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (jointInfo != null)
{
newSummary.Specifications = jointInfo.JOT_JointDesc;
newSummary.Specifications = HttpUtility.HtmlDecode(jointInfo.JOT_JointDesc);
}
newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : "";
newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString();
@@ -401,7 +401,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString();
newRow["Specifications"] = HttpUtility.HtmlDecode(row["Specifications"].ToString());
newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString();
@@ -621,7 +621,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
DesignTemperature = values.Value<string>("DesignTemperature"),
Medium = values.Value<string>("Medium"),
Material = values.Value<string>("Material"),
Specifications = values.Value<string>("Specifications"),
Specifications = HttpUtility.HtmlDecode(values.Value<string>("Specifications").Replace('×', 'x')),
Length = values.Value<string>("Length"),
LayingMethod = values.Value<string>("LayingMethod"),
WeldsNum = values.Value<string>("WeldsNum"),
@@ -667,7 +667,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
string filePath = string.Empty;
//每页显示的固定数据行数
int rowsPerPage = 4;
int rowsPerPage = 5;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
@@ -739,7 +739,9 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
for (int i = 0; i < tb.Rows.Count; i++)
{
//创建行
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
//row.RowFormat.Height = 50;
//row.RowFormat.HeightRule = HeightRule.Exactly;
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineCode"].ToString(), doc, 32.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineLevel"].ToString(), doc, 33.7, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineStartPoint"].ToString(), doc, 31.75, "", ""));
@@ -748,7 +750,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
row.Cells.Add(CreateCell(tb.Rows[i]["DesignTemperature"].ToString(), doc, 36, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Medium"].ToString(), doc, 30.6, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Material"].ToString(), doc, 31.47, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Specifications"].ToString(), doc, 32.3, "", ""));
row.Cells.Add(CreateCell(HttpUtility.HtmlDecode(tb.Rows[i]["Specifications"].ToString()), doc, 32.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Length"].ToString(), doc, 30, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LayingMethod"].ToString(), doc, 31.49, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["WeldsNum"].ToString(), doc, 30, "", ""));
@@ -760,7 +762,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestPressure"].ToString(), doc, 41.67, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["CleaningMethod"].ToString(), doc, 34.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["CorrosionControlMethod"].ToString(), doc, 31.2, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["InsulationMethod"].ToString(), doc, 43.9, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["InsulationMethod"].ToString(), doc, 43.9, "", ""));
table.Rows.Insert(i + 3, row);
}
@@ -775,6 +777,8 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
for (int i = 0; i < needBlankRows - 1; i++)
{
Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
blankRow.RowFormat.Height = 50;
blankRow.RowFormat.HeightRule = HeightRule.Exactly;
// 空白行的单元格宽度和数据行保持一致
blankRow.Cells.Add(CreateCell("", doc, 32.3, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 33.7, "", ""));
@@ -839,6 +843,17 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
{
Cell cell = new Cell(doc);
Paragraph p = new Paragraph(doc);
if (!string.IsNullOrEmpty(CenterPage))
{
//序号,在最开始就拼接空格
value = " " + value;
}
Run run = new Run(doc, value);
run.Font.Size = 8;
run.Font.Name = "楷体";
if (!string.IsNullOrEmpty(cellMerge))
{
if (cellMerge == "0")
@@ -847,19 +862,14 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的后续单元格
}
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
}
if (!string.IsNullOrEmpty(CenterPage))
{
//序号
value = " " + value;
}
if (!string.IsNullOrEmpty(cellUnitLeft))
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
@@ -869,19 +879,26 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
}
p.AppendChild(new Run(doc, value));
// 把带字体样式的run加入段落
p.AppendChild(run);
cell.CellFormat.Width = cellWidth;
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
cell.CellFormat.Borders.LineWidth = 0.75;
// 单元格内边距
cell.CellFormat.LeftPadding = 1;
cell.CellFormat.RightPadding = 1;
cell.CellFormat.TopPadding = 1;
cell.CellFormat.BottomPadding = 1;
//清除段落段前段后间距
p.ParagraphFormat.SpaceBefore = 0;
p.ParagraphFormat.SpaceAfter = 0;
cell.AppendChild(p);
return cell;
}
#endregion
}
}
@@ -147,7 +147,7 @@ namespace FineUIPro.Web.JGZL
var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (jointInfo != null)
{
newSummary.Specifications = jointInfo.JOT_JointDesc;
newSummary.Specifications = HttpUtility.HtmlDecode(jointInfo.JOT_JointDesc);
}
newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : "";
newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString();
@@ -401,7 +401,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString();
newRow["Specifications"] = HttpUtility.HtmlDecode(row["Specifications"].ToString());
newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString();
@@ -622,7 +622,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
OperatingTemperature = values.Value<string>("OperatingTemperature"),
Medium = values.Value<string>("Medium"),
Material = values.Value<string>("Material"),
Specifications = values.Value<string>("Specifications"),
Specifications = HttpUtility.HtmlDecode(values.Value<string>("Specifications").Replace('×', 'x')),
Length = values.Value<string>("Length"),
LayingMethod = values.Value<string>("LayingMethod"),
WeldsNum = values.Value<string>("WeldsNum"),
@@ -670,7 +670,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
string filePath = string.Empty;
//每页显示的固定数据行数
int rowsPerPage = 4;
int rowsPerPage = 8;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
@@ -756,7 +756,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
row.Cells.Add(CreateCell(tb.Rows[i]["OperatingTemperature"].ToString(), doc, 28, "", ""));//操作温度
row.Cells.Add(CreateCell(tb.Rows[i]["Medium"].ToString(), doc, 34.87, "", ""));//输送介质
row.Cells.Add(CreateCell(tb.Rows[i]["Material"].ToString(), doc, 43.66, "", ""));//管道材质牌号及标准
row.Cells.Add(CreateCell(tb.Rows[i]["Specifications"].ToString(), doc, 59.82, "", ""));//管道规格(外径×壁厚mm)
row.Cells.Add(CreateCell(HttpUtility.HtmlDecode(tb.Rows[i]["Specifications"].ToString()), doc, 59.82, "", ""));//管道规格(外径×壁厚mm)
row.Cells.Add(CreateCell(tb.Rows[i]["Length"].ToString(), doc, 34.58, "", ""));//管道长度(m)
row.Cells.Add(CreateCell(tb.Rows[i]["LayingMethod"].ToString(), doc, 33.74, "", ""));//铺设方式
row.Cells.Add(CreateCell(tb.Rows[i]["WeldsNum"].ToString(), doc, 27, "", ""));//焊口数量
@@ -784,6 +784,8 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
for (int i = 0; i < needBlankRows - 1; i++)
{
Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
blankRow.RowFormat.Height = 33;
blankRow.RowFormat.HeightRule = HeightRule.Exactly;
// 空白行的单元格宽度和数据行保持一致
blankRow.Cells.Add(CreateCell("", doc, 22.68, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 65.49, "", ""));
@@ -844,6 +846,17 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
{
Cell cell = new Cell(doc);
Paragraph p = new Paragraph(doc);
if (!string.IsNullOrEmpty(CenterPage))
{
//序号,在最开始就拼接空格
value = " " + value;
}
Run run = new Run(doc, value);
run.Font.Size = 8;
run.Font.Name = "楷体";
if (!string.IsNullOrEmpty(cellMerge))
{
if (cellMerge == "0")
@@ -852,19 +865,14 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的后续单元格
}
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
}
if (!string.IsNullOrEmpty(CenterPage))
{
//序号
value = " " + value;
}
if (!string.IsNullOrEmpty(cellUnitLeft))
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
@@ -874,15 +882,23 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
}
p.AppendChild(new Run(doc, value));
// 把带字体样式的run加入段落
p.AppendChild(run);
cell.CellFormat.Width = cellWidth;
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
cell.CellFormat.Borders.LineWidth = 0.75;
// 单元格内边距
cell.CellFormat.LeftPadding = 1;
cell.CellFormat.RightPadding = 1;
cell.CellFormat.TopPadding = 1;
cell.CellFormat.BottomPadding = 1;
//清除段落段前段后间距
p.ParagraphFormat.SpaceBefore = 0;
p.ParagraphFormat.SpaceAfter = 0;
cell.AppendChild(p);
return cell;
}
@@ -103,14 +103,19 @@
<f:TextBox ID="txtConstructionUnit" runat="server" Label="使用单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="20% 40% 40%">
<Items>
<f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合"></f:Label>
<f:DropDownList ID="drpRemark" runat="server">
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
</f:DropDownList>
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
<f:FormRow ColumnWidths="10% 90%">
<Items><f:Label ID="Label1" runat="server" ></f:Label>
<f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 55% 35%">
<Items><f:Label ID="Label2" runat="server" ></f:Label>
<f:DropDownList ID="drpRemark" runat="server">
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
</f:DropDownList>
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
@@ -151,7 +151,11 @@ namespace FineUIPro.Web.JGZL
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
var pipeLineLength = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID);
if (pipeLineLength != null)
{
this.txtPipelineLength.Text = pipeLineLength.Value.ToString(".##");
}
}
}
}
@@ -284,7 +288,7 @@ namespace FineUIPro.Web.JGZL
newRow["InstallationInspection"] = report.InstallationInspection;
newRow["ConstructionUnit"] = report.ConstructionUnit;
newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode;
newRow["Remark"] = " 本工业管道的安装经质量检验,符合" + report.Remark + "要求。";
newRow["Remark"] = " 本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和" + report.Remark + "要求。";
dt.Rows.Add(newRow);
BLL.Common.FastReportService.AddFastreportTable(dt);
@@ -446,12 +450,18 @@ namespace FineUIPro.Web.JGZL
Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"];
if (pipelineLevel != null)
{
pipelineLevel.Text = report.PipelineLevel;
if (report.PipelineLevel != null)
{
pipelineLevel.Text = report.PipelineLevel;
}
}
Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"];
if (pipelineLength != null)
{
pipelineLength.Text = report.PipelineLength;
if (report.PipelineLength != null)
{
pipelineLength.Text = report.PipelineLength;
}
}
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
if (designUnit != null)
@@ -275,6 +275,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtConstructionUnit;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// lblRemark 控件。
/// </summary>
@@ -284,6 +293,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.Label lblRemark;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary>
/// drpRemark 控件。
/// </summary>
+67 -55
View File
@@ -45,7 +45,7 @@
<f:Button ID="btnPrint" Text="打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true">
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items>
</f:Toolbar>
@@ -62,62 +62,74 @@
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<%-- <f:SimpleForm ID="SimpleForm2" runat="server"
ShowHeader="false" ShowBorder="false" EnableTableStyle="true" MessageTarget="Qtip">
<Items>
<f:FormRow>
<Items>--%>
<f:DropDownList ID="drpCheckResult1" runat="server" Label="管道压力试验合格" LabelAlign="Right" LabelWidth="350px">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpCheckResult2" runat="server" Label="压力试验采用的临时法兰、螺栓、垫片等均已更换" LabelAlign="Right" LabelWidth="350px">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpCheckResult3" runat="server" Label="未参与压力试验的安全附件及仪表等已安装复位" LabelAlign="Right" LabelWidth="350px">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpCheckResult4" runat="server" Label="试验管道系统的阀门已全部开启" LabelAlign="Right" LabelWidth="350px">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpCheckResult5" runat="server" Label="试压用压力表、精度等级、检定状态符合规范要求" LabelAlign="Right" LabelWidth="350px">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<%-- </Items>
</f:SimpleForm>
</Items>
</f:FormRow>--%>
</Rows>
</f:Form>
<f:SimpleForm ID="SimpleForm2" runat="server" BodyPadding="10px"
ShowHeader="false" ShowBorder="false" EnableTableStyle="true" MessageTarget="Qtip">
<Items>
<f:Form ID="Form2" ShowBorder="true" ShowHeader="false" AutoScroll="true" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:Label Label="Label2" runat="server" Text="检查项目与要求" ShowLabel="false" CssStyle="text-align:center;"></f:Label>
<f:Label Label="Label5" runat="server" Text="检查结果" ShowLabel="false" CssStyle="text-align:center;"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label Label="Label1" runat="server" Text="管道压力试验合格" ShowLabel="false"></f:Label>
<f:DropDownList ID="drpCheckResult1" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label Label="Label1" runat="server" Text="压力试验采用的临时法兰、螺栓、垫片等均已更换" ShowLabel="false"></f:Label>
<f:DropDownList ID="drpCheckResult2" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label Label="Label1" runat="server" Text="未参与压力试验的安全附件及仪表等已安装复位" ShowLabel="false"></f:Label>
<f:DropDownList ID="drpCheckResult3" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label Label="Label1" runat="server" Text="试验管道系统的阀门已全部开启" ShowLabel="false"></f:Label>
<f:DropDownList ID="drpCheckResult4" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label Label="Label1" runat="server" Text="试压用压力表、精度等级、检定状态符合规范要求" ShowLabel="false"></f:Label>
<f:DropDownList ID="drpCheckResult5" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:SimpleForm>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="试验记录" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LeakageVacuumTestRecordId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="LeakageVacuumTestRecordId" AllowSorting="true"
+168 -183
View File
@@ -110,6 +110,7 @@ namespace FineUIPro.Web.JGZL
itemLists.Clear();
if (!string.IsNullOrEmpty(this.ProjectId))
{
var isoInfos = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
var record = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(this.ProjectId);
if (record != null)
{
@@ -121,8 +122,7 @@ namespace FineUIPro.Web.JGZL
this.drpCheckResult3.SelectedValue = record.CheckItemResult3;
this.drpCheckResult4.SelectedValue = record.CheckItemResult4;
this.drpCheckResult5.SelectedValue = record.CheckItemResult5;
var isoInfos = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
itemLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(this.LeakageVacuumId);
if (itemLists.Count > 0)
{
@@ -143,7 +143,7 @@ namespace FineUIPro.Web.JGZL
}
}
else
{
{
foreach (var item in isoInfos)
{
Model.JGZL_LeakageVacuumTestRecord newItem = new JGZL_LeakageVacuumTestRecord();
@@ -156,9 +156,23 @@ namespace FineUIPro.Web.JGZL
itemLists.Add(newItem);
}
}
this.Grid1.DataSource = itemLists;
this.Grid1.DataBind();
}
else
{
foreach (var item in isoInfos)
{
Model.JGZL_LeakageVacuumTestRecord newItem = new JGZL_LeakageVacuumTestRecord();
newItem.LeakageVacuumTestRecordId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuumTestRecord));
newItem.PipelineId = item.ISO_ID;
newItem.PipelineCode = item.ISO_IsoNo;
newItem.DesignPressure = item.ISO_DesignPress.HasValue ? item.ISO_DesignPress.Value.ToString("0.##########") : "";
newItem.DesignTem = item.ISO_DesignTemperature.HasValue ? item.ISO_DesignTemperature.Value.ToString("0.##########") : "";
newItem.LeakPressure = item.LeakageTest.ToString();
itemLists.Add(newItem);
}
}
this.Grid1.DataSource = itemLists;
this.Grid1.DataBind();
}
}
#endregion
@@ -579,192 +593,163 @@ namespace FineUIPro.Web.JGZL
protected void btnOut_Click(object sender, EventArgs e)
{
string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty;
string newUrl = string.Empty;
string filePath = string.Empty;
//每页显示的固定数据行数
int rowsPerPage = 8;
string initTemplatePath = Const.JGZL_LeakageVacuumUrl;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
var report = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(projectId);
if (report != null)
{
initTemplatePath = Const.JGZL_LeakageVacuumUrl;
uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("管道系统泄漏性试验记录导出模板", "管道系统泄漏性试验记录");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
}
File.Copy(uploadfilepath, newUrl);
//更新书签内容
Document doc = new Aspose.Words.Document(newUrl);
DocumentBuilder builder = new DocumentBuilder(doc);
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
if (projectName != null)
{
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
}
Bookmark systemName = doc.Range.Bookmarks["SystemName"];
if (systemName != null)
{
systemName.Text = report.SystemName;
}
Bookmark systemCode = doc.Range.Bookmarks["SystemCode"];
if (systemCode != null)
{
systemCode.Text = report.SystemCode;
}
Bookmark checkItemResult1 = doc.Range.Bookmarks["CheckItemResult1"];
if (checkItemResult1 != null)
{
checkItemResult1.Text = report.CheckItemResult1;
}
Bookmark checkItemResult2 = doc.Range.Bookmarks["CheckItemResult2"];
if (checkItemResult2 != null)
{
checkItemResult2.Text = report.CheckItemResult2;
}
Bookmark checkItemResult3 = doc.Range.Bookmarks["CheckItemResult3"];
if (checkItemResult3 != null)
{
checkItemResult3.Text = report.CheckItemResult3;
}
Bookmark checkItemResult4 = doc.Range.Bookmarks["CheckItemResult4"];
if (checkItemResult4 != null)
{
checkItemResult4.Text = report.CheckItemResult4;
}
Bookmark checkItemResult5 = doc.Range.Bookmarks["CheckItemResult5"];
if (checkItemResult5 != null)
{
checkItemResult5.Text = report.CheckItemResult5;
}
// 设置表头行重复显示
table.Rows[0].RowFormat.HeadingFormat = true;
table.Rows[1].RowFormat.HeadingFormat = true;
table.Rows[2].RowFormat.HeadingFormat = true;
table.Rows[3].RowFormat.HeadingFormat = true;
table.Rows[4].RowFormat.HeadingFormat = true;
table.Rows[5].RowFormat.HeadingFormat = true;
table.Rows[6].RowFormat.HeadingFormat = true;
table.Rows[7].RowFormat.HeadingFormat = true;
table.Rows[8].RowFormat.HeadingFormat = true;
table.Rows[9].RowFormat.HeadingFormat = true;
table.Rows[10].RowFormat.HeadingFormat = true;
// ====固定表格布局=====
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
table.AllowAutoFit = false;
table.Alignment = TableAlignment.Center;
// 先记录页尾行,并从表格中移除
//Row footerRow = table.Rows[table.Rows.Count - 1];
//table.Rows.RemoveAt(table.Rows.Count - 1);
var recordLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId);
if (recordLists.Count == Grid1.GetMergedData().Count)
{
int i = 0;
foreach (var item in recordLists)
{
//创建行
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
row.Cells.Add(CreateCell(item.PipelineCode, doc, 128.42, "", ""));//管道编号/单线号
row.Cells.Add(CreateCell(item.DesignPressure, doc, 35.72, "", ""));//设计压力
row.Cells.Add(CreateCell(item.DesignTem, doc, 41.96, "", ""));//设计温度
row.Cells.Add(CreateCell(item.TestAmbientTemp, doc, 52.73, "", ""));//试验环境温度℃
row.Cells.Add(CreateCell(item.TestMediumTemp, doc, 41.96, "", ""));//试验介质温度℃
row.Cells.Add(CreateCell(item.LeakPressure, doc, 39.4, "", ""));//泄漏性试验-压力
row.Cells.Add(CreateCell(item.LeakMedium, doc, 41.96, "", ""));//泄漏性试验-介质
row.Cells.Add(CreateCell(item.VacuumPressure, doc, 45.07, "", ""));//真空试验-压力
row.Cells.Add(CreateCell(item.VacuumMedium, doc, 41.39, "", ""));//真空试验-介质
table.Rows.Insert(i + 11, row);
}
// 计算并插入空白行,填满整页
// 计算总数据行数
int totalDataRows = recordLists.Count;
// 计算需要补充的空白行数量
int remainder = totalDataRows % rowsPerPage;
int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
// 插入空白行(和数据行格式保持一致,仅内容为空)
//for (int i = 0; i < needBlankRows - 1; i++)
//{
// Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
// 空白行的单元格宽度和数据行保持一致
//blankRow.Cells.Add(CreateCell("", doc, 22.68, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 65.49, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 27.78, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 28.06, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 28, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 34.87, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 43.66, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 59.82, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 34.58, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 33.74, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 27, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 45.93, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 30.62, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 25.23, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 28.92, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 26.08, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 56.7, "", ""));
//blankRow.Cells.Add(CreateCell("", doc, 22.11, "", ""));
// 插入到表格最后一行
// table.Rows.Add(blankRow);
//}
//把页尾行重新加回表格最后
//table.Rows.Add(footerRow);
doc.Save(newUrl);
}
else
{
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
return;
}
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{
Alert.ShowInTop("没有要导出的数据!", MessageBoxIcon.Warning);
return;
}
}
else
if (string.IsNullOrEmpty(projectId))
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
var report = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(projectId);
if (report == null)
{
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
return;
}
else
{
var lists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId);
if (lists.Count != Grid1.GetMergedData().Count)
{
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
return;
}
}
string templateFullPath = Path.Combine(rootPath, initTemplatePath);
if (!File.Exists(templateFullPath))
{
Alert.ShowInTop("导出模板文件不存在!", MessageBoxIcon.Warning);
return;
}
Document doc = new Aspose.Words.Document(templateFullPath);
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
#region 顶层书签赋值(工程名称、系统、检查项)
SafeSetBookmarkText(doc, "ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId)?.ProjectName);
SafeSetBookmarkText(doc, "SystemName", report.SystemName);
SafeSetBookmarkText(doc, "SystemCode", report.SystemCode);
SafeSetBookmarkText(doc, "CheckItemResult1", report.CheckItemResult1);
SafeSetBookmarkText(doc, "CheckItemResult2", report.CheckItemResult2);
SafeSetBookmarkText(doc, "CheckItemResult3", report.CheckItemResult3);
SafeSetBookmarkText(doc, "CheckItemResult4", report.CheckItemResult4);
SafeSetBookmarkText(doc, "CheckItemResult5", report.CheckItemResult5);
#endregion
#region 表头跨页重复设置
for (int r = 0; r <= 10; r++)
{
table.Rows[r].RowFormat.HeadingFormat = true;
}
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
table.AllowAutoFit = false;
table.Alignment = TableAlignment.Center;
#endregion
var recordLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId);
Aspose.Words.Tables.Row templateDataRow = table.Rows[11];
if (recordLists.Count > 0)
{
foreach (var item in recordLists)
{
Aspose.Words.Tables.Row newDataRow = (Aspose.Words.Tables.Row)templateDataRow.Clone(true);
SafeSetRowBookmarkText(newDataRow, "Bk_PipelineCode", item.PipelineCode);
SafeSetRowBookmarkText(newDataRow, "Bk_DesignPressure", item.DesignPressure);
SafeSetRowBookmarkText(newDataRow, "Bk_DesignTem", item.DesignTem);
SafeSetRowBookmarkText(newDataRow, "Bk_TestAmbientTemp", item.TestAmbientTemp);
SafeSetRowBookmarkText(newDataRow, "Bk_TestMediumTemp", item.TestMediumTemp);
SafeSetRowBookmarkText(newDataRow, "Bk_LeakPressure", item.LeakPressure);
SafeSetRowBookmarkText(newDataRow, "Bk_LeakMedium", item.LeakMedium);
SafeSetRowBookmarkText(newDataRow, "Bk_VacuumPressure", item.VacuumPressure);
SafeSetRowBookmarkText(newDataRow, "Bk_VacuumMedium", item.VacuumMedium);
table.InsertBefore(newDataRow, templateDataRow);
}
}
#region 补充空白行填满每页8行
int rowsPerPage = 8;
int totalDataRows = recordLists.Count;
int remainder = totalDataRows % rowsPerPage;
int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
for (int i = 0; i < needBlankRows; i++)
{
Aspose.Words.Tables.Row blankRow = (Aspose.Words.Tables.Row)templateDataRow.Clone(true);
SafeSetRowBookmarkText(blankRow, "Bk_PipelineCode", "");
SafeSetRowBookmarkText(blankRow, "Bk_DesignPressure", "");
SafeSetRowBookmarkText(blankRow, "Bk_DesignTem", "");
SafeSetRowBookmarkText(blankRow, "Bk_TestAmbientTemp", "");
SafeSetRowBookmarkText(blankRow, "Bk_TestMediumTemp", "");
SafeSetRowBookmarkText(blankRow, "Bk_LeakPressure", "");
SafeSetRowBookmarkText(blankRow, "Bk_LeakMedium", "");
SafeSetRowBookmarkText(blankRow, "Bk_VacuumPressure", "");
SafeSetRowBookmarkText(blankRow, "Bk_VacuumMedium", "");
table.InsertBefore(blankRow, templateDataRow);
}
#endregion
templateDataRow.Remove();
using (MemoryStream ms = new MemoryStream())
{
doc.Save(ms, Aspose.Words.SaveFormat.Docx);
ms.Position = 0;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
string downloadFileName = "管道系统泄漏性试验记录.docx";
Response.AddHeader("Content-Disposition", $"attachment;filename={System.Web.HttpUtility.UrlEncode(downloadFileName, System.Text.Encoding.UTF8)}");
Response.BinaryWrite(ms.ToArray());
Response.Flush();
Response.End();
}
}
/// <summary>
/// 设置文档全局书签文本
/// </summary>
private static void SafeSetBookmarkText(Document doc, string bookmarkName, string text)
{
Bookmark bm = doc.Range.Bookmarks[bookmarkName];
if (bm == null) return;
bm.Text = text ?? "";
}
/// <summary>
/// 在指定Row行节点范围内查找书签并赋值
/// </summary>
private static void SafeSetRowBookmarkText(Row row, string bookmarkName, string text)
{
text = text ?? "";
BookmarkStart bkStart = null;
NodeCollection childNodes = row.GetChildNodes(NodeType.BookmarkStart, true);
foreach (Node childNode in childNodes)
{
BookmarkStart bs = childNode as BookmarkStart;
if (bs != null && bs.Name == bookmarkName)
{
bkStart = bs;
break;
}
}
if (bkStart == null) return;
Node cur = bkStart.NextSibling;
while (cur != null && cur.NodeType != NodeType.BookmarkEnd)
{
Node next = cur.NextSibling;
cur.Remove();
cur = next;
}
Run run = new Run(row.Document, text);
bkStart.ParentNode.InsertAfter(run, bkStart);
}
public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "")
{
Cell cell = new Cell(doc);
@@ -167,6 +167,24 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtSystemCode;
/// <summary>
/// SimpleForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.SimpleForm SimpleForm2;
/// <summary>
/// Form2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// drpCheckResult1 控件。
/// </summary>
@@ -150,7 +150,13 @@ namespace FineUIPro.Web.JGZL
this.txtNotificationCode.Text = "0XXX-91330921MA2A2R3F6G-" + DateTime.Now.Year;
this.txtUseUnit.Text = "浙江石油化工有限公司";
this.txtUseUSCC.Text = "913309003440581426";
this.txtUseAddress.Text = pro.ProjectName;
string installationName = string.Empty;
var install = Funs.DB.Project_Installation.FirstOrDefault(x => x.ProjectId == projectId);
if(install!=null)
{
installationName = install.InstallationName;
}
this.txtUseAddress.Text = "浙江石油化工有限公司4000万吨/年炼化本项目" + installationName;
this.txtModRepairProject.Text = "压力管道(" + pro.ProjectName + ")";
}
}
@@ -801,16 +807,16 @@ namespace FineUIPro.Web.JGZL
{
completionDate.Text = report.CompletionDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.CompletionDate) : "";
}
Bookmark inspector = doc.Range.Bookmarks["QC_Inspector"];
if (inspector != null)
{
inspector.Text = report.QC_Inspector;
}
Bookmark engineer = doc.Range.Bookmarks["QA_Engineer"];
if (engineer != null)
{
engineer.Text = report.QA_Engineer;
}
//Bookmark inspector = doc.Range.Bookmarks["QC_Inspector"];
//if (inspector != null)
//{
// inspector.Text = report.QC_Inspector;
//}
//Bookmark engineer = doc.Range.Bookmarks["QA_Engineer"];
//if (engineer != null)
//{
// engineer.Text = report.QA_Engineer;
//}
doc.Save(newUrl);
@@ -19,17 +19,19 @@
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true"
KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId"
DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC"
OnSort="Grid1_Sort" EnableTextSelection="True">
OnSort="Grid1_Sort" EnableTextSelection="True" AllowPaging="true" IsDatabasePaging="true" PageSize="50"
OnPageIndexChange="Grid1_PageIndexChange" >
<Toolbars>
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="265px"
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="200px"
EnableEdit="true">
</f:DropDownList>
<f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker>
<f:Label ID="Label1" runat="server" Text="-"></f:Label>
<f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="300px" LabelAlign="right"></f:TextBox>
<f:DropDownList ID="drpUnitStore" runat="server" Label="焊材库" LabelAlign="Right" Width="320px" LabelWidth="80px"></f:DropDownList>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="220px" LabelAlign="right"></f:TextBox>
<f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
@@ -33,7 +33,10 @@ namespace FineUIPro.Web.JGZL
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectList("1");
this.drpProjectId.DataBind();
Funs.FineUIPleaseSelect(this.drpProjectId);
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, null, true);
BindGrid();
}
}
@@ -86,13 +89,18 @@ namespace FineUIPro.Web.JGZL
strSql += " AND BakeRecords.BakeDate <= @endDate";
listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim()));
}
if (this.drpUnitStore.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpUnitStore.SelectedValue))
{
strSql += " AND BakeRecords.UnitStoreId =@unitStoreId ";
listStr.Add(new SqlParameter("@unitStoreId", this.drpUnitStore.SelectedValue));
}
strSql += " order by BakeRecords.BakeDate desc";
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
//var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = tb;
var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = table;
Grid1.DataBind();
}
#endregion
@@ -111,6 +119,19 @@ namespace FineUIPro.Web.JGZL
}
#endregion
#region 页索引改变事件
/// <summary>
/// 页索引改变事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
Grid1.PageIndex = e.NewPageIndex;
BindGrid();
}
#endregion
#region 提交
/// <summary>
/// 确定按钮
@@ -229,7 +250,7 @@ namespace FineUIPro.Web.JGZL
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
BLL.Common.FastReportService.AddFastreportTable(dt);
initTemplatePath = "File\\Fastreport\\JGZL\\焊条烘烤记录.frx";
initTemplatePath = "File\\Fastreport\\焊条烘烤记录.frx";
if (File.Exists(rootPath + initTemplatePath))
{
@@ -104,6 +104,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.DatePicker txtEndDate;
/// <summary>
/// drpUnitStore 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitStore;
/// <summary>
/// txtBrand 控件。
/// </summary>
+2 -2
View File
@@ -11,7 +11,7 @@
<FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings>
<!--连接字符串-->
<add key="ConnectionString" value="Server=.\MSSQLSERVER2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<add key="ConnectionString" value="Server=.\SQL2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<!--系统名称-->
<add key="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
@@ -67,7 +67,7 @@
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</httpHandlers>
<compilation debug="true" targetFramework="4.6.1">
<compilation debug="false" targetFramework="4.6.1">
<assemblies>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
@@ -117,7 +117,7 @@
HeaderText="使用位置" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="90px" ColumnID="IsSteelStru" DataField="IsSteelStru" FieldType="String"
HeaderText="是否钢结构" HeaderTextAlign="Center" TextAlign="Center">
HeaderText="是否管道焊接" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="STE_Name" DataField="STE_Name" FieldType="String"
HeaderText="焊件材质" HeaderTextAlign="Center" TextAlign="Center">
@@ -141,7 +141,7 @@ namespace FineUIPro.Web.WeldMat.UsingPlan
string strSql = @"SELECT UsingPlan.UsingPlanId, UsingPlan.WeldId, UsingPlan.ProjectId, UsingPlan.UsePosition,TeamGroupId,UsingPlan.STE_Name,UnitStore.UnitStoreName,
unit.UnitName AS UsingUnit,UsingPlan.Amount, UsingPlan.UsingManOne, UsingPlan.InPutDate,
CONVERT(varchar(100), UsingPlan.OrderDate, 23)+' '+UsingPlan.OrderTime as OrderTime, UsingPlan.CancelDate,UsingPlan.IsNeedConfirm,
(CASE UsingPlan.IsSteelStru WHEN 1 THEN '是' WHEN 0 THEN '否' ELSE '' END) AS IsSteelStru,
(CASE UsingPlan.IsSteelStru WHEN 1 THEN '否' WHEN 0 THEN '是' ELSE '' END) AS IsSteelStru,
(CASE UsingPlan.IsSubmit WHEN 1 THEN '是' WHEN 0 THEN '否' ELSE '' END) AS IsSubmit,
(CASE UsingPlan.IsCancel WHEN 1 THEN '是' WHEN 0 THEN '否' ELSE '' END) AS IsCancel,
Weld.WeldCode,Weld.WeldName,Weld.WeldSpec,WeldType.WeldUnit,WeldType.WeldTypeName,
@@ -61,9 +61,9 @@
<f:FormRow ColumnWidths="50% 45% 5%">
<Items>
<f:DropDownList ID="drpIsSteelStru" runat="server" Label="是否钢结构" LabelAlign="Right" Required="true" ShowRedStar="true" >
<f:ListItem Text="否" Value="0" />
<f:ListItem Text="是" Value="1" />
<f:DropDownList ID="drpIsSteelStru" runat="server" Label="是否管道焊接" LabelAlign="Right" LabelWidth="120px" Required="true" ShowRedStar="true" >
<f:ListItem Text="是" Value="0" />
<f:ListItem Text="否" Value="1" />
</f:DropDownList>
<f:TextBox ID="txtUsingManOne" runat="server" Label="领料人" LabelAlign="Right" Readonly="true"
@@ -88,7 +88,9 @@
<f:RenderField Width="120px" ColumnID="ProjectCode" DataField="ProjectCode" FieldType="String"
HeaderText="施工号" HeaderTextAlign="Center" TextAlign="Center" SortField="ProjectCode">
</f:RenderField>
<f:RenderField Width="120px" ColumnID="ProjectName" DataField="ProjectName" FieldType="String"
HeaderText="项目名称" HeaderTextAlign="Center" TextAlign="Center" SortField="ProjectName">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="WeldName" DataField="WeldName" FieldType="String"
HeaderText="焊材牌号" HeaderTextAlign="Center" TextAlign="Center" SortField="WeldName">
</f:RenderField>
@@ -343,7 +343,7 @@ namespace FineUIPro.Web.WeldMat.UsingSentMat
BindGrid();
foreach (GridColumn column in grid.Columns)
{
if (column.ColumnIndex < 24)
if (column.ColumnIndex < 25)
{
sb.AppendFormat("<td>{0}</td>", column.HeaderText);
}
@@ -355,7 +355,7 @@ namespace FineUIPro.Web.WeldMat.UsingSentMat
sb.Append("<tr>");
foreach (GridColumn column in grid.Columns)
{
if (column.ColumnIndex < 24)
if (column.ColumnIndex < 25)
{
string html = row.Values[column.ColumnIndex].ToString();
if (column.ColumnID == "tfNumber")
@@ -57,9 +57,17 @@
<f:TextBox ID="txtClassS" runat="server" Label="焊工等级" EmptyText="输入查询条件" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
Width="170px" LabelWidth="70px">
</f:TextBox>
<f:RadioButtonList runat="server" ID="rblIsSelfCreate" Width="260px" AutoPostBack="true" Label="焊工类型" LabelAlign="Right"
OnSelectedIndexChanged="TextBox_TextChanged">
<f:RadioItem Selected="true" Value="2" Text="全部" />
<f:RadioItem Value="1" Text="自建" />
<f:RadioItem Value="0" Text="外协" />
</f:RadioButtonList>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:Button ID="btnSync" Text="同步" Icon="PackageIn" runat="server" OnClick="btnSync_Click" ToolTip="从OA同步焊工信息及焊工合格项目">
</f:Button>
<f:Button ID="btnSync2" Text="同步2" Icon="PackageIn" runat="server" OnClick="btnSync2_Click" ToolTip="从OA同步焊工信息及焊工合格项目" Hidden="true">
</f:Button>
<f:Button ID="btnNew" Text="增加" Icon="Add" runat="server" OnClick="btnNew_Click" Hidden="true">
</f:Button>
<f:Button ID="btnIn" Text="导入" Icon="PackageIn" runat="server" OnClick="btnIn_Click" Hidden="true">
@@ -119,7 +119,11 @@ namespace FineUIPro.Web.Welder
strSql += " AND Welder.WED_Class LIKE @WED_Class";
listStr.Add(new SqlParameter("@WED_Class", "%" + this.txtClassS.Text.Trim() + "%"));
}
if (this.rblIsSelfCreate.SelectedValue != "2")
{
strSql += " AND Welder.IsSelfCreate = @IsSelfCreate";
listStr.Add(new SqlParameter("@IsSelfCreate", this.rblIsSelfCreate.SelectedValue));
}
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
@@ -158,6 +162,42 @@ namespace FineUIPro.Web.Welder
}
#endregion
protected void btnSync2_Click(object sender, EventArgs e)
{
var welders = from x in Funs.DB.OAM_User select x;
foreach (var q in welders)
{
var s = from x in Funs.DB.HJGL_BS_Welder where x.IdentityCard == q.MID_IdentityCard select x;
var u = BLL.Base_UnitService.GetUnit2(q.MID_Unit);
if (u != null)
{
Model.HJGL_BS_Welder newWelder = new Model.HJGL_BS_Welder();
newWelder.WED_Code = q.MID_Code;
newWelder.WED_Name = q.MID_Name;
newWelder.WED_Unit = u.UnitId;
newWelder.WED_Sex = q.MID_Sex;
newWelder.IdentityCard = q.MID_IdentityCard;
newWelder.WED_WorkCode = q.MID_WordCode;
newWelder.WED_IfOnGuard = q.MID_IfOnGuard;
newWelder.WED_Remark = q.MID_Remark;
newWelder.MaxHanTiao = q.MID_HanTiao;
newWelder.MaxWeldingWire = q.MID_WeldingWire;
newWelder.IsOAM = true;
newWelder.IsSelfCreate = q.IsSelfCreate;
if (s.Count() > 0)
{
newWelder.WED_ID = s.First().WED_ID;
BLL.HJGL_PersonManageService.UpdateBSWelder(newWelder);
}
else
{
BLL.HJGL_PersonManageService.AddBSWelder(newWelder);
}
}
}
}
protected void btnSync_Click(object sender, EventArgs e)
{
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.Welder_WelderMenuId, Const.BtnSync))
@@ -203,6 +243,7 @@ namespace FineUIPro.Web.Welder
newWelder.MaxHanTiao = q.MID_HanTiao;
newWelder.MaxWeldingWire = q.MID_WeldingWire;
newWelder.IsOAM = true;
newWelder.IsSelfCreate = q.IsSelfCreate;
if (s.Count() > 0)
{
a++;
@@ -241,7 +282,7 @@ namespace FineUIPro.Web.Welder
{
if (!string.IsNullOrEmpty(q.MIDWelder_QualifiedProjectCode))
{
if (q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("+")|| q.MIDWelder_QualifiedProjectCode.Contains("和"))
if (q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("和"))
{
string[] codes = null;
if (q.MIDWelder_QualifiedProjectCode.Contains("+"))
@@ -747,7 +788,7 @@ namespace FineUIPro.Web.Welder
{
foreach (var q in quas)
{
if (q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("+")|| q.MIDWelder_QualifiedProjectCode.Contains("和"))
if (q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("+") || q.MIDWelder_QualifiedProjectCode.Contains("和"))
{
string[] codes = null;
if (q.MIDWelder_QualifiedProjectCode.Contains("+"))
@@ -983,7 +1024,7 @@ namespace FineUIPro.Web.Welder
this.InitTreeMenu();
this.BindGrid();
}
protected void TextBox_TextChanged(object sender, EventArgs e)
{
this.BindGrid();
@@ -147,6 +147,15 @@ namespace FineUIPro.Web.Welder {
/// </remarks>
protected global::FineUIPro.TextBox txtClassS;
/// <summary>
/// rblIsSelfCreate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIsSelfCreate;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -165,6 +174,15 @@ namespace FineUIPro.Web.Welder {
/// </remarks>
protected global::FineUIPro.Button btnSync;
/// <summary>
/// btnSync2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSync2;
/// <summary>
/// btnNew 控件。
/// </summary>
+718
View File
@@ -419,6 +419,9 @@ namespace Model
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void InsertJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
partial void UpdateJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
partial void DeleteJGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan instance);
partial void InsertJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
partial void UpdateJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
partial void DeleteJGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate instance);
@@ -2058,6 +2061,14 @@ namespace Model
}
}
public System.Data.Linq.Table<JGZL_IndustrialInstallationSummaryZhoushan> JGZL_IndustrialInstallationSummaryZhoushan
{
get
{
return this.GetTable<JGZL_IndustrialInstallationSummaryZhoushan>();
}
}
public System.Data.Linq.Table<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
{
get
@@ -5027,6 +5038,8 @@ namespace Model
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
private EntitySet<JGZL_IndustrialInstallationSummaryZhoushan> _JGZL_IndustrialInstallationSummaryZhoushan;
private EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> _JGZL_IndustrialPipelineInstallationQualityCertificate;
private EntitySet<JGZL_IndustrialPipelineInstallationSummary> _JGZL_IndustrialPipelineInstallationSummary;
@@ -5231,6 +5244,7 @@ namespace Model
this._JGZL_ElectrostaticGrounding = new EntitySet<JGZL_ElectrostaticGrounding>(new Action<JGZL_ElectrostaticGrounding>(this.attach_JGZL_ElectrostaticGrounding), new Action<JGZL_ElectrostaticGrounding>(this.detach_JGZL_ElectrostaticGrounding));
this._JGZL_FileDirectory = new EntitySet<JGZL_FileDirectory>(new Action<JGZL_FileDirectory>(this.attach_JGZL_FileDirectory), new Action<JGZL_FileDirectory>(this.detach_JGZL_FileDirectory));
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
this._JGZL_IndustrialInstallationSummaryZhoushan = new EntitySet<JGZL_IndustrialInstallationSummaryZhoushan>(new Action<JGZL_IndustrialInstallationSummaryZhoushan>(this.attach_JGZL_IndustrialInstallationSummaryZhoushan), new Action<JGZL_IndustrialInstallationSummaryZhoushan>(this.detach_JGZL_IndustrialInstallationSummaryZhoushan));
this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate>(new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate));
this._JGZL_IndustrialPipelineInstallationSummary = new EntitySet<JGZL_IndustrialPipelineInstallationSummary>(new Action<JGZL_IndustrialPipelineInstallationSummary>(this.attach_JGZL_IndustrialPipelineInstallationSummary), new Action<JGZL_IndustrialPipelineInstallationSummary>(this.detach_JGZL_IndustrialPipelineInstallationSummary));
this._JGZL_InsulationAcceptanceRecord = new EntitySet<JGZL_InsulationAcceptanceRecord>(new Action<JGZL_InsulationAcceptanceRecord>(this.attach_JGZL_InsulationAcceptanceRecord), new Action<JGZL_InsulationAcceptanceRecord>(this.detach_JGZL_InsulationAcceptanceRecord));
@@ -6526,6 +6540,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialInstallationSummaryZhoushan_Base_Project", Storage="_JGZL_IndustrialInstallationSummaryZhoushan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_IndustrialInstallationSummaryZhoushan> JGZL_IndustrialInstallationSummaryZhoushan
{
get
{
return this._JGZL_IndustrialInstallationSummaryZhoushan;
}
set
{
this._JGZL_IndustrialInstallationSummaryZhoushan.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialPipelineInstallationQualityCertificate_Base_Project", Storage="_JGZL_IndustrialPipelineInstallationQualityCertificate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate> JGZL_IndustrialPipelineInstallationQualityCertificate
{
@@ -7744,6 +7771,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_JGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_JGZL_IndustrialInstallationSummaryZhoushan(JGZL_IndustrialInstallationSummaryZhoushan entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_JGZL_IndustrialPipelineInstallationQualityCertificate(JGZL_IndustrialPipelineInstallationQualityCertificate entity)
{
this.SendPropertyChanging();
@@ -26469,6 +26508,8 @@ namespace Model
private string _PhotoUrl;
private System.Nullable<bool> _IsSelfCreate;
private EntitySet<HJGL_BO_Batch> _HJGL_BO_Batch;
private EntitySet<HJGL_BO_PreWeldReportMain> _HJGL_BO_PreWeldReportMain;
@@ -26585,6 +26626,8 @@ namespace Model
partial void OnMaxHanTiaoChanged();
partial void OnPhotoUrlChanging(string value);
partial void OnPhotoUrlChanged();
partial void OnIsSelfCreateChanging(System.Nullable<bool> value);
partial void OnIsSelfCreateChanged();
#endregion
public HJGL_BS_Welder()
@@ -27431,6 +27474,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelfCreate", DbType="Bit")]
public System.Nullable<bool> IsSelfCreate
{
get
{
return this._IsSelfCreate;
}
set
{
if ((this._IsSelfCreate != value))
{
this.OnIsSelfCreateChanging(value);
this.SendPropertyChanging();
this._IsSelfCreate = value;
this.SendPropertyChanged("IsSelfCreate");
this.OnIsSelfCreateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Welder", Storage="_HJGL_BO_Batch", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")]
public EntitySet<HJGL_BO_Batch> HJGL_BO_Batch
{
@@ -88788,6 +88851,637 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_IndustrialInstallationSummaryZhoushan")]
public partial class JGZL_IndustrialInstallationSummaryZhoushan : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _SummaryId;
private string _ProjectId;
private string _InstallationName;
private string _TestPackageCode;
private string _PipelineName;
private string _PipelineCode;
private string _PipelineLevel;
private string _Material;
private string _Medium;
private System.Nullable<decimal> _Diameter;
private System.Nullable<decimal> _WallThickness;
private System.Nullable<decimal> _PipelineLength;
private System.Nullable<int> _WeldJointsCount;
private System.Nullable<int> _PipeFittings;
private string _StartPoint;
private string _EndPoint;
private System.Nullable<decimal> _DesignTemperature;
private System.Nullable<decimal> _DesignPressure;
private System.Nullable<decimal> _OperatingTemperature;
private System.Nullable<decimal> _OperatingPressure;
private string _PressureTestMedium;
private System.Nullable<decimal> _PressureTestPressure;
private System.Nullable<System.DateTime> _TestDate;
private EntityRef<Base_Project> _Base_Project;
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnSummaryIdChanging(string value);
partial void OnSummaryIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnInstallationNameChanging(string value);
partial void OnInstallationNameChanged();
partial void OnTestPackageCodeChanging(string value);
partial void OnTestPackageCodeChanged();
partial void OnPipelineNameChanging(string value);
partial void OnPipelineNameChanged();
partial void OnPipelineCodeChanging(string value);
partial void OnPipelineCodeChanged();
partial void OnPipelineLevelChanging(string value);
partial void OnPipelineLevelChanged();
partial void OnMaterialChanging(string value);
partial void OnMaterialChanged();
partial void OnMediumChanging(string value);
partial void OnMediumChanged();
partial void OnDiameterChanging(System.Nullable<decimal> value);
partial void OnDiameterChanged();
partial void OnWallThicknessChanging(System.Nullable<decimal> value);
partial void OnWallThicknessChanged();
partial void OnPipelineLengthChanging(System.Nullable<decimal> value);
partial void OnPipelineLengthChanged();
partial void OnWeldJointsCountChanging(System.Nullable<int> value);
partial void OnWeldJointsCountChanged();
partial void OnPipeFittingsChanging(System.Nullable<int> value);
partial void OnPipeFittingsChanged();
partial void OnStartPointChanging(string value);
partial void OnStartPointChanged();
partial void OnEndPointChanging(string value);
partial void OnEndPointChanged();
partial void OnDesignTemperatureChanging(System.Nullable<decimal> value);
partial void OnDesignTemperatureChanged();
partial void OnDesignPressureChanging(System.Nullable<decimal> value);
partial void OnDesignPressureChanged();
partial void OnOperatingTemperatureChanging(System.Nullable<decimal> value);
partial void OnOperatingTemperatureChanged();
partial void OnOperatingPressureChanging(System.Nullable<decimal> value);
partial void OnOperatingPressureChanged();
partial void OnPressureTestMediumChanging(string value);
partial void OnPressureTestMediumChanged();
partial void OnPressureTestPressureChanging(System.Nullable<decimal> value);
partial void OnPressureTestPressureChanged();
partial void OnTestDateChanging(System.Nullable<System.DateTime> value);
partial void OnTestDateChanged();
#endregion
public JGZL_IndustrialInstallationSummaryZhoushan()
{
this._Base_Project = default(EntityRef<Base_Project>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SummaryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string SummaryId
{
get
{
return this._SummaryId;
}
set
{
if ((this._SummaryId != value))
{
this.OnSummaryIdChanging(value);
this.SendPropertyChanging();
this._SummaryId = value;
this.SendPropertyChanged("SummaryId");
this.OnSummaryIdChanged();
}
}
}
[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="_InstallationName", DbType="NVarChar(50)")]
public string InstallationName
{
get
{
return this._InstallationName;
}
set
{
if ((this._InstallationName != value))
{
this.OnInstallationNameChanging(value);
this.SendPropertyChanging();
this._InstallationName = value;
this.SendPropertyChanged("InstallationName");
this.OnInstallationNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPackageCode", DbType="NVarChar(50)")]
public string TestPackageCode
{
get
{
return this._TestPackageCode;
}
set
{
if ((this._TestPackageCode != value))
{
this.OnTestPackageCodeChanging(value);
this.SendPropertyChanging();
this._TestPackageCode = value;
this.SendPropertyChanged("TestPackageCode");
this.OnTestPackageCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineName", DbType="NVarChar(50)")]
public string PipelineName
{
get
{
return this._PipelineName;
}
set
{
if ((this._PipelineName != value))
{
this.OnPipelineNameChanging(value);
this.SendPropertyChanging();
this._PipelineName = value;
this.SendPropertyChanged("PipelineName");
this.OnPipelineNameChanged();
}
}
}
[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="_PipelineLevel", DbType="NVarChar(50)")]
public string PipelineLevel
{
get
{
return this._PipelineLevel;
}
set
{
if ((this._PipelineLevel != value))
{
this.OnPipelineLevelChanging(value);
this.SendPropertyChanging();
this._PipelineLevel = value;
this.SendPropertyChanged("PipelineLevel");
this.OnPipelineLevelChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")]
public string Material
{
get
{
return this._Material;
}
set
{
if ((this._Material != value))
{
this.OnMaterialChanging(value);
this.SendPropertyChanging();
this._Material = value;
this.SendPropertyChanged("Material");
this.OnMaterialChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Medium", DbType="NVarChar(50)")]
public string Medium
{
get
{
return this._Medium;
}
set
{
if ((this._Medium != value))
{
this.OnMediumChanging(value);
this.SendPropertyChanging();
this._Medium = value;
this.SendPropertyChanged("Medium");
this.OnMediumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Diameter", DbType="Decimal(18,2)")]
public System.Nullable<decimal> Diameter
{
get
{
return this._Diameter;
}
set
{
if ((this._Diameter != value))
{
this.OnDiameterChanging(value);
this.SendPropertyChanging();
this._Diameter = value;
this.SendPropertyChanged("Diameter");
this.OnDiameterChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WallThickness", DbType="Decimal(18,2)")]
public System.Nullable<decimal> WallThickness
{
get
{
return this._WallThickness;
}
set
{
if ((this._WallThickness != value))
{
this.OnWallThicknessChanging(value);
this.SendPropertyChanging();
this._WallThickness = value;
this.SendPropertyChanged("WallThickness");
this.OnWallThicknessChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineLength", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PipelineLength
{
get
{
return this._PipelineLength;
}
set
{
if ((this._PipelineLength != value))
{
this.OnPipelineLengthChanging(value);
this.SendPropertyChanging();
this._PipelineLength = value;
this.SendPropertyChanged("PipelineLength");
this.OnPipelineLengthChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJointsCount", DbType="Int")]
public System.Nullable<int> WeldJointsCount
{
get
{
return this._WeldJointsCount;
}
set
{
if ((this._WeldJointsCount != value))
{
this.OnWeldJointsCountChanging(value);
this.SendPropertyChanging();
this._WeldJointsCount = value;
this.SendPropertyChanged("WeldJointsCount");
this.OnWeldJointsCountChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeFittings", DbType="Int")]
public System.Nullable<int> PipeFittings
{
get
{
return this._PipeFittings;
}
set
{
if ((this._PipeFittings != value))
{
this.OnPipeFittingsChanging(value);
this.SendPropertyChanging();
this._PipeFittings = value;
this.SendPropertyChanged("PipeFittings");
this.OnPipeFittingsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartPoint", DbType="NVarChar(50)")]
public string StartPoint
{
get
{
return this._StartPoint;
}
set
{
if ((this._StartPoint != value))
{
this.OnStartPointChanging(value);
this.SendPropertyChanging();
this._StartPoint = value;
this.SendPropertyChanged("StartPoint");
this.OnStartPointChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndPoint", DbType="NVarChar(50)")]
public string EndPoint
{
get
{
return this._EndPoint;
}
set
{
if ((this._EndPoint != value))
{
this.OnEndPointChanging(value);
this.SendPropertyChanging();
this._EndPoint = value;
this.SendPropertyChanged("EndPoint");
this.OnEndPointChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignTemperature", DbType="Decimal(18,2)")]
public System.Nullable<decimal> DesignTemperature
{
get
{
return this._DesignTemperature;
}
set
{
if ((this._DesignTemperature != value))
{
this.OnDesignTemperatureChanging(value);
this.SendPropertyChanging();
this._DesignTemperature = value;
this.SendPropertyChanged("DesignTemperature");
this.OnDesignTemperatureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignPressure", DbType="Decimal(18,2)")]
public System.Nullable<decimal> DesignPressure
{
get
{
return this._DesignPressure;
}
set
{
if ((this._DesignPressure != value))
{
this.OnDesignPressureChanging(value);
this.SendPropertyChanging();
this._DesignPressure = value;
this.SendPropertyChanged("DesignPressure");
this.OnDesignPressureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingTemperature", DbType="Decimal(18,2)")]
public System.Nullable<decimal> OperatingTemperature
{
get
{
return this._OperatingTemperature;
}
set
{
if ((this._OperatingTemperature != value))
{
this.OnOperatingTemperatureChanging(value);
this.SendPropertyChanging();
this._OperatingTemperature = value;
this.SendPropertyChanged("OperatingTemperature");
this.OnOperatingTemperatureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingPressure", DbType="Decimal(18,2)")]
public System.Nullable<decimal> OperatingPressure
{
get
{
return this._OperatingPressure;
}
set
{
if ((this._OperatingPressure != value))
{
this.OnOperatingPressureChanging(value);
this.SendPropertyChanging();
this._OperatingPressure = value;
this.SendPropertyChanged("OperatingPressure");
this.OnOperatingPressureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestMedium", DbType="NVarChar(50)")]
public string PressureTestMedium
{
get
{
return this._PressureTestMedium;
}
set
{
if ((this._PressureTestMedium != value))
{
this.OnPressureTestMediumChanging(value);
this.SendPropertyChanging();
this._PressureTestMedium = value;
this.SendPropertyChanged("PressureTestMedium");
this.OnPressureTestMediumChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPressure", DbType="Decimal(18,2)")]
public System.Nullable<decimal> PressureTestPressure
{
get
{
return this._PressureTestPressure;
}
set
{
if ((this._PressureTestPressure != value))
{
this.OnPressureTestPressureChanging(value);
this.SendPropertyChanging();
this._PressureTestPressure = value;
this.SendPropertyChanged("PressureTestPressure");
this.OnPressureTestPressureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestDate", DbType="DateTime")]
public System.Nullable<System.DateTime> TestDate
{
get
{
return this._TestDate;
}
set
{
if ((this._TestDate != value))
{
this.OnTestDateChanging(value);
this.SendPropertyChanging();
this._TestDate = value;
this.SendPropertyChanged("TestDate");
this.OnTestDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialInstallationSummaryZhoushan_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_IndustrialInstallationSummaryZhoushan.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.JGZL_IndustrialInstallationSummaryZhoushan.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
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_IndustrialPipelineInstallationQualityCertificate")]
public partial class JGZL_IndustrialPipelineInstallationQualityCertificate : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -102588,6 +103282,8 @@ namespace Model
private System.Nullable<bool> _IsUsed;
private System.Nullable<bool> _IsSelfCreate;
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -102618,6 +103314,8 @@ namespace Model
partial void OnMID_HanTiaoChanged();
partial void OnIsUsedChanging(System.Nullable<bool> value);
partial void OnIsUsedChanged();
partial void OnIsSelfCreateChanging(System.Nullable<bool> value);
partial void OnIsSelfCreateChanged();
#endregion
public OAM_User()
@@ -102885,6 +103583,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelfCreate", DbType="Bit")]
public System.Nullable<bool> IsSelfCreate
{
get
{
return this._IsSelfCreate;
}
set
{
if ((this._IsSelfCreate != value))
{
this.OnIsSelfCreateChanging(value);
this.SendPropertyChanging();
this._IsSelfCreate = value;
this.SendPropertyChanged("IsSelfCreate");
this.OnIsSelfCreateChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -85,13 +85,13 @@
<publishTime>04/12/2024 09:54:20</publishTime>
</File>
<File Include="bin/BLL.dll">
<publishTime>09/10/2026 10:23:02</publishTime>
<publishTime>09/23/2026 09:02:17</publishTime>
</File>
<File Include="bin/BLL.dll.config">
<publishTime>12/31/2025 16:32:37</publishTime>
</File>
<File Include="bin/BLL.pdb">
<publishTime>09/10/2026 10:23:02</publishTime>
<publishTime>09/23/2026 09:02:17</publishTime>
</File>
<File Include="bin/BouncyCastle.Crypto.dll">
<publishTime>12/17/2020 21:32:28</publishTime>
@@ -121,10 +121,10 @@
<publishTime>07/25/2012 11:48:56</publishTime>
</File>
<File Include="bin/Model.dll">
<publishTime>09/10/2026 10:23:01</publishTime>
<publishTime>09/23/2026 09:02:10</publishTime>
</File>
<File Include="bin/Model.pdb">
<publishTime>09/10/2026 10:23:01</publishTime>
<publishTime>09/23/2026 09:02:10</publishTime>
</File>
<File Include="bin/Newtonsoft.Json.dll">
<publishTime>11/28/2018 02:07:34</publishTime>
@@ -295,13 +295,13 @@
<publishTime>05/24/2018 13:38:24</publishTime>
</File>
<File Include="bin/SgManager.AI.dll">
<publishTime>09/10/2026 10:23:03</publishTime>
<publishTime>09/23/2026 09:02:22</publishTime>
</File>
<File Include="bin/SgManager.AI.dll.config">
<publishTime>07/28/2025 11:00:31</publishTime>
</File>
<File Include="bin/SgManager.AI.pdb">
<publishTime>09/10/2026 10:23:03</publishTime>
<publishTime>09/23/2026 09:02:22</publishTime>
</File>
<File Include="bin/System.Net.Http.Formatting.dll">
<publishTime>02/01/2018 12:17:18</publishTime>
@@ -337,10 +337,10 @@
<publishTime>06/29/2015 16:49:52</publishTime>
</File>
<File Include="bin/WebAPI.dll">
<publishTime>09/10/2026 10:23:04</publishTime>
<publishTime>09/23/2026 09:02:27</publishTime>
</File>
<File Include="bin/WebAPI.pdb">
<publishTime>09/10/2026 10:23:04</publishTime>
<publishTime>09/23/2026 09:02:27</publishTime>
</File>
<File Include="bin/WebGrease.dll">
<publishTime>01/23/2014 13:57:34</publishTime>
@@ -466,7 +466,7 @@
<publishTime>07/03/2024 11:01:07</publishTime>
</File>
<File Include="Web.config">
<publishTime>09/10/2026 10:23:37</publishTime>
<publishTime>09/23/2026 09:02:39</publishTime>
</File>
</ItemGroup>
</Project>
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />