From b2f446f93d3779406594acbfc8e3fbb46ccb6249 Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Wed, 16 Sep 2026 17:21:02 +0800 Subject: [PATCH] =?UTF-8?q?20260916=20=E7=AE=A1=E9=81=93=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/HJGLDB_DS_2026-09-14_bwj.sql | 74 ++ .../版本日志/HJGLDB_DS_2026-09-16_bwj.sql | 7 + HJGL_DS/BLL/BLL.csproj | 2 + HJGL_DS/BLL/Common/Const.cs | 12 + HJGL_DS/BLL/JGZL/LeakageVacuumService.cs | 85 ++ .../BLL/JGZL/LeakageVacuumTestRecordServic.cs | 72 ++ ...�“系统泄漏性、真空试验条件确认与试验记录.frx | 285 ++++++ .../JGZL/管道系统泄漏性试验记录.frx | 4 +- .../JGZL/管道系统泄漏性试验记录导出模板.docx | Bin 0 -> 15913 bytes HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 8 + .../FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +- ...lineInstallationQualityCertificate.aspx.cs | 10 +- ...rialPipelineQualityCertificate2020.aspx.cs | 7 + HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx | 225 +++++ .../FineUIPro.Web/JGZL/LeakageVacuum.aspx.cs | 817 ++++++++++++++++++ .../JGZL/LeakageVacuum.aspx.designer.cs | 341 ++++++++ .../JGZL/ModRepairQualityCertificate.aspx | 15 +- .../JGZL/ModRepairQualityCertificate.aspx.cs | 35 +- ...dRepairQualityCertificate.aspx.designer.cs | 40 +- HJGL_DS/FineUIPro.Web/Web.config | 2 +- HJGL_DS/Model/Model.cs | 764 ++++++++++++++++ HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +- 22 files changed, 2744 insertions(+), 65 deletions(-) create mode 100644 DataBase/版本日志/HJGLDB_DS_2026-09-14_bwj.sql create mode 100644 DataBase/版本日志/HJGLDB_DS_2026-09-16_bwj.sql create mode 100644 HJGL_DS/BLL/JGZL/LeakageVacuumService.cs create mode 100644 HJGL_DS/BLL/JGZL/LeakageVacuumTestRecordServic.cs create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性、真空试验条件确认与试验记录.frx create mode 100644 HJGL_DS/FineUIPro.Web/File/Word/JGZL/管道系统泄漏性试验记录导出模板.docx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.designer.cs diff --git a/DataBase/版本日志/HJGLDB_DS_2026-09-14_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2026-09-14_bwj.sql new file mode 100644 index 0000000..61a765c --- /dev/null +++ b/DataBase/版本日志/HJGLDB_DS_2026-09-14_bwj.sql @@ -0,0 +1,74 @@ + +CREATE TABLE [dbo].[JGZL_LeakageVacuum]( + [LeakageVacuumId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NOT NULL, + [SystemName] [nvarchar](50) NULL, + [SystemCode] [nvarchar](50) NULL, + [CheckItemResult1] [nvarchar](50) NULL, + [CheckItemResult2] [nvarchar](50) NULL, + [CheckItemResult3] [nvarchar](50) NULL, + [CheckItemResult4] [nvarchar](50) NULL, + [CheckItemResult5] [nvarchar](50) NULL, + [Conclusion] [nvarchar](500) NULL, + CONSTRAINT [PK_JGZL_LeakageVacuum] PRIMARY KEY CLUSTERED +( + [LeakageVacuumId] 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_LeakageVacuum] WITH CHECK ADD CONSTRAINT [FK_JGZL_LeakageVacuum_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[JGZL_LeakageVacuum] CHECK CONSTRAINT [FK_JGZL_LeakageVacuum_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_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'LeakageVacuumId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÏîĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @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_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'SystemName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵͳ±àºÅ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'SystemCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÊÔÑé½áÂÛ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum', @level2type=N'COLUMN',@level2name=N'Conclusion' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'¹ܵÀϵͳй©ÐÔ/Õæ¿ÕÊÔÑéÌõ¼þȷÈÏÓëÊÔÑé¼Ç¼' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_LeakageVacuum' +GO + + +CREATE TABLE [dbo].[JGZL_LeakageVacuumTestRecord]( + [LeakageVacuumTestRecordId] [nvarchar](50) NOT NULL, + [LeakageVacuumId] [nvarchar](50) NULL, + [PipelineId] [nvarchar](50) NULL, + [PipelineCode] [nvarchar](50) NULL, + [DesignPressure] [nvarchar](50) NULL, + [DesignTem] [nvarchar](50) NULL, + [TestAmbientTemp] [nvarchar](50) NULL, + [TestMediumTemp] [nvarchar](50) NULL, + [LeakPressure] [nvarchar](50) NULL, + [LeakMedium] [nvarchar](50) NULL, + [VacuumPressure] [nvarchar](50) NULL, + [VacuumMedium] [nvarchar](50) NULL, + CONSTRAINT [PK_JGZL_LeakageVacuumTestRecord] PRIMARY KEY CLUSTERED +( + [LeakageVacuumTestRecordId] 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_LeakageVacuumTestRecord] WITH CHECK ADD CONSTRAINT [FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum] FOREIGN KEY([LeakageVacuumId]) +REFERENCES [dbo].[JGZL_LeakageVacuum] ([LeakageVacuumId]) +GO + +ALTER TABLE [dbo].[JGZL_LeakageVacuumTestRecord] CHECK CONSTRAINT [FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum] +GO + +update Sys_Menu set MenuName='¹ܵÀϵͳй©ÐÔ/Õæ¿ÕÊÔÑéÌõ¼þȷÈÏÓëÊÔÑé¼Ç¼',Url='JGZL/LeakageVacuum.aspx' where MenuId='FF56CCBE-0B8C-4AF6-832E-EC6ED1584C94' +go \ No newline at end of file diff --git a/DataBase/版本日志/HJGLDB_DS_2026-09-16_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2026-09-16_bwj.sql new file mode 100644 index 0000000..e1badfb --- /dev/null +++ b/DataBase/版本日志/HJGLDB_DS_2026-09-16_bwj.sql @@ -0,0 +1,7 @@ + +update Sys_Menu set MenuName='¹¤ҵ¹ܵÀ°²װÖÊÁ¿֤Ã÷Ê飨°²װ2025°棩',SortIndex=50 where MenuId='F5833B38-65DF-4236-A676-EE75F9487061' +update Sys_Menu set MenuName='¹¤ҵ¹ܵÀ°²װ»ã×ܱí£¨°²װ2025°棩',SortIndex=51 where MenuId='C527812C-0FF8-4EAC-B1FD-3B561DBE46ED' +update Sys_Menu set MenuName='¹¤ҵ¹ܵÀ°²װÖÊÁ¿֤Ã÷Ê飨°²װ2020°棩',SortIndex=53 where MenuId='1B71BBF6-2686-458F-B6F9-639A5B71AE86' +update Sys_Menu set MenuName='¹¤ҵ¹ܵÀ°²װ»ã×ܱí£¨°²װ2020°棩',SortIndex=54 where MenuId='151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31' +update Sys_Menu set MenuName='ѹÁ¦¹ܵÀ¸ÄÔìάÐÞÖÊÁ¿֤Ã÷Ê飨¸ÄÔ졢ÖشóÐÞÀí¡¢άÐޣ©',SortIndex=55 where MenuId='087420E0-A459-4CD7-A1B6-A7A5E001ABF8' +go \ No newline at end of file diff --git a/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj index f1367b3..8a53395 100644 --- a/HJGL_DS/BLL/BLL.csproj +++ b/HJGL_DS/BLL/BLL.csproj @@ -266,6 +266,8 @@ + + diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs index fd17d98..86f5eac 100644 --- a/HJGL_DS/BLL/Common/Const.cs +++ b/HJGL_DS/BLL/Common/Const.cs @@ -1831,6 +1831,11 @@ namespace BLL /// public const string JGZL_BlowingCleaningMenuId = "E64FC226-8164-43F7-AA4D-6E268EDEC5BC"; + /// + /// 管道系统泄漏性/真空试验条件确认与试验记录 + /// + public const string JGZL_LeakageVacuumMenuId = "FF56CCBE-0B8C-4AF6-832E-EC6ED1584C94"; + /// /// 防腐工程质量验收记录 @@ -2625,6 +2630,11 @@ namespace BLL /// public const string JGZL_ArchivalTransferUrl = "File\\Word\\JGZL\\档案资料移交表导出模板.docx"; + /// + /// 管道系统泄漏性/真空试验条件确认与试验记录 + /// + public const string JGZL_LeakageVacuumUrl = "File\\Word\\JGZL\\管道系统泄漏性试验记录导出模板.docx"; + #endregion /// @@ -2636,5 +2646,7 @@ namespace BLL /// 焊缝返修台账导出模板 /// public const string HJGL_WeldRepairListsUrl = "File\\Excel\\焊缝返修台账导出模板.xlsx"; + + } } diff --git a/HJGL_DS/BLL/JGZL/LeakageVacuumService.cs b/HJGL_DS/BLL/JGZL/LeakageVacuumService.cs new file mode 100644 index 0000000..c0fd44e --- /dev/null +++ b/HJGL_DS/BLL/JGZL/LeakageVacuumService.cs @@ -0,0 +1,85 @@ +using Model; +using System; +using System.Collections.Generic; +using System.Diagnostics.Eventing.Reader; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 管道系统泄漏性/真空试验条件确认与试验记录 + /// + public class LeakageVacuumService + { + /// + /// 根据项目Id获取管道系统泄漏性/真空试验条件确认与试验记录 + /// + /// + /// + public static Model.JGZL_LeakageVacuum GetLeakageVacuumByProjectId(string projectId) + { + return Funs.DB.JGZL_LeakageVacuum.FirstOrDefault(e => e.ProjectId == projectId); + } + + /// + /// 添加获取管道系统泄漏性/真空试验条件确认与试验记录 + /// + /// + public static void AddLeakageVacuum(Model.JGZL_LeakageVacuum leakageVacuum) + { + Model.SGGLDB db = Funs.DB; + Model.JGZL_LeakageVacuum newLeakageVacuum = new Model.JGZL_LeakageVacuum(); + newLeakageVacuum.LeakageVacuumId = leakageVacuum.LeakageVacuumId; + newLeakageVacuum.ProjectId = leakageVacuum.ProjectId; + newLeakageVacuum.SystemName = leakageVacuum.SystemName; + newLeakageVacuum.SystemCode = leakageVacuum.SystemCode; + newLeakageVacuum.CheckItemResult1 = leakageVacuum.CheckItemResult1; + newLeakageVacuum.CheckItemResult2 = leakageVacuum.CheckItemResult2; + newLeakageVacuum.CheckItemResult3 = leakageVacuum.CheckItemResult3; + newLeakageVacuum.CheckItemResult4 = leakageVacuum.CheckItemResult4; + newLeakageVacuum.CheckItemResult5 = leakageVacuum.CheckItemResult5; + newLeakageVacuum.Conclusion = leakageVacuum.Conclusion; + db.JGZL_LeakageVacuum.InsertOnSubmit(newLeakageVacuum); + db.SubmitChanges(); + } + + /// + /// 修改管道系统泄漏性/真空试验条件确认与试验记录 + /// + /// + public static void UpdateLeakageVacuum(Model.JGZL_LeakageVacuum leakageVacuum) + { + Model.SGGLDB db = Funs.DB; + Model.JGZL_LeakageVacuum newLeakageVacuum = db.JGZL_LeakageVacuum.FirstOrDefault(e => e.LeakageVacuumId == leakageVacuum.LeakageVacuumId); + if (newLeakageVacuum != null) + { + newLeakageVacuum.SystemName = leakageVacuum.SystemName; + newLeakageVacuum.SystemCode = leakageVacuum.SystemCode; + newLeakageVacuum.CheckItemResult1 = leakageVacuum.CheckItemResult1; + newLeakageVacuum.CheckItemResult2 = leakageVacuum.CheckItemResult2; + newLeakageVacuum.CheckItemResult3 = leakageVacuum.CheckItemResult3; + newLeakageVacuum.CheckItemResult4 = leakageVacuum.CheckItemResult4; + newLeakageVacuum.CheckItemResult5 = leakageVacuum.CheckItemResult5; + newLeakageVacuum.Conclusion = leakageVacuum.Conclusion; + db.SubmitChanges(); + } + } + + /// + /// 根据主键删除管道系统泄漏性/真空试验条件确认与试验记录 + /// + /// + public static void DeleteLeakageVacuumById(string leakageVacuumId) + { + SGGLDB db = Funs.DB; + Model.JGZL_LeakageVacuum leakageVacuum = db.JGZL_LeakageVacuum.FirstOrDefault(e => e.LeakageVacuumId == leakageVacuumId); + if (leakageVacuum != null) + { + db.JGZL_LeakageVacuum.DeleteOnSubmit(leakageVacuum); + db.SubmitChanges(); + } + } + } +} diff --git a/HJGL_DS/BLL/JGZL/LeakageVacuumTestRecordServic.cs b/HJGL_DS/BLL/JGZL/LeakageVacuumTestRecordServic.cs new file mode 100644 index 0000000..ab0f221 --- /dev/null +++ b/HJGL_DS/BLL/JGZL/LeakageVacuumTestRecordServic.cs @@ -0,0 +1,72 @@ +using Model; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 管道系统泄漏性/真空试验条件确认与试验记录 + /// + public class LeakageVacuumTestRecordServic + { + /// + /// 根据主键获取明细信息 + /// + /// + /// + public static List GetLeakageVacuumTestRecordByLeakageVacuumId(string leakageVacuumId) + { + return (from x in Funs.DB.JGZL_LeakageVacuumTestRecord where x.LeakageVacuumId == leakageVacuumId select x).ToList(); + } + + /// + /// 添加试验记录 + /// + /// + public static void AddLeakageVacuumTestRecord(Model.JGZL_LeakageVacuumTestRecord record) + { + SGGLDB db = Funs.DB; + Model.JGZL_LeakageVacuumTestRecord newRecord = new JGZL_LeakageVacuumTestRecord(); + newRecord.LeakageVacuumTestRecordId = record.LeakageVacuumTestRecordId; + newRecord.LeakageVacuumId = record.LeakageVacuumId; + newRecord.PipelineId = record.PipelineId; + newRecord.PipelineCode = record.PipelineCode; + newRecord.DesignPressure = record.DesignPressure; + newRecord.DesignTem = record.DesignTem; + newRecord.TestAmbientTemp = record.TestAmbientTemp; + newRecord.TestMediumTemp = record.TestMediumTemp; + newRecord.LeakPressure = record.LeakPressure; + newRecord.LeakMedium = record.LeakMedium; + newRecord.VacuumPressure = record.VacuumPressure; + newRecord.VacuumMedium = record.VacuumMedium; + db.JGZL_LeakageVacuumTestRecord.InsertOnSubmit(newRecord); + db.SubmitChanges(); + } + + /// + /// 根据主键Id删除试验记录 + /// + /// + public static void DeleteLeakageVacuumTestRecordByLeakageVacuumId(string leakageVacuumId) + { + SGGLDB db = Funs.DB; + var q = (from x in db.JGZL_LeakageVacuumTestRecord where x.LeakageVacuumId == leakageVacuumId select x).ToList(); + if (q.Count > 0) + { + db.JGZL_LeakageVacuumTestRecord.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + } + + public static Model.JGZL_LeakageVacuumTestRecord GetItemByIsoNo(string projectId, string isoNo) + { + return (from x in Funs.DB.JGZL_LeakageVacuumTestRecord + join y in Funs.DB.JGZL_LeakageVacuum on x.LeakageVacuumId equals y.LeakageVacuumId + where y.ProjectId == projectId && x.PipelineCode == isoNo + select x).FirstOrDefault(); + } + } +} diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性、真空试验条件确认与试验记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性、真空试验条件确认与试验记录.frx new file mode 100644 index 0000000..880f831 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性、真空试验条件确认与试验记录.frx @@ -0,0 +1,285 @@ + + + using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.Windows.Forms; +using System.Drawing; +using System.Data; +using FastReport; +using FastReport.Data; +using FastReport.Dialog; +using FastReport.Barcode; +using FastReport.Table; +using FastReport.Utils; + +namespace FastReport +{ + public class ReportScript + { + + private void Table3_ManualBuild(object sender, EventArgs e) + { + DataSourceBase rowData = Report.GetDataSource("Data"); + // init the data source + rowData.Init(); + + // print the first table row - it is a header + + // now enumerate the data source and print the table body + while (rowData.HasMoreRows) + { + // print the table body + Table3.PrintRow(0); + Table3.PrintColumns(); + + // go next data source row + rowData.Next(); + } + } + } +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性试验记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性试验记录.frx index 2a2cb0c..1cb41a1 100644 --- a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性试验记录.frx +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道系统泄漏性试验记录.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -42,7 +42,7 @@ namespace FastReport } - + diff --git a/HJGL_DS/FineUIPro.Web/File/Word/JGZL/管道系统泄漏性试验记录导出模板.docx b/HJGL_DS/FineUIPro.Web/File/Word/JGZL/管道系统泄漏性试验记录导出模板.docx new file mode 100644 index 0000000000000000000000000000000000000000..16286c1b8a5234ab66407e12d7b9195b37b09eba GIT binary patch literal 15913 zcmeIZRdk$L&NgahW{R1anVDl|rkI)Sm>FVB%*@PXW@d(%nPO(n@9ycD?#}c&SLg1V zx7Mz**V>P&>XlU5dL${xfP$d`K>$Gk0Ra&Kt(WMag#ZHq6+i$1p#njHXp7j{I-A-$ z>#KO!n>y*zyW3b3=7NDxW&?q|@BiQRfA|j6s}5WCG9tBOJ|T)P8qpl(BpUIA(hssv z-GHK5q$e-OPssv0tJ?Y!<2mI57$6MyZ9MS@6KpiWtn8CxAFE+r2XS+vR~82nv`M%TEH8HeImgx zo~IA}W%8g|gH;TxS>G-|bSepxVIRa80va)J^lTi?_l>UgWYQKOD9k#BeDf;0?7kqs70i3ypn$msE(?$*t0fslGp#l4G zSPPrpDUuKF6`*A*v2(O~+p7~RAF30fbAC%O?_W<7(v$~rPs(S`rXY1U^clrlMfnr0 zqyA8t6^!a5TJeK;39>D6?AC_e3ZlsWLlYJ3fZ#%o5gPix026T}Ie00@jAuH1t1yXJxfq;Jg z1O-y~oBO7y`hbJIyYJS!cf!8AufC(HwG#vVZ_od8+yBG9`j@X>9zQAFD~L339&lbg z)}B%y5ypBX7PKz94GPyfOPc)Jd#19|=tdU?VL1~xnDMxuw&8u^=~Nx)d64XRPOX7K zM(Mhow%&l=#{MzVOF?P~8>ejt=1a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xB|QL{==6)(aAO88oEoghoed|G>b9BzbC z*MSxv=r&<>p7CuATt(Jm6L_Fp6B`xB2zMHoFJHu4Tv=Flgij)axk=SN zjj?8-2p&2ek@|3U-17Qnjo$|O@p7;C-Y!c^sl5I`vSji>cqsC#O! zbA)&+R?XM>jB}r`WrFUECJ{7o#hK!JWbnLBLY(dV>_7lTu096=f%r{GqyQ1OuXRr{5SG^9i7XuiYAY+TnKS@fI}F>G%faI{A>~7&Gq$S=G0lj6))qM1{H?5yIp^6 z_378;!nn;03u@W0`GO<9LVzG05Wb7UzWZvUl?*4IfRxRVJFjGJN##$f@XFPm8;*ap z8s5QIVBhy6=;XWQApJENGPJkrb54?fG)?DXCiPD> z{p+uPm{3)a`MZF>PsROJK<9gF$X{mUeg*!0GU%_soAKzG@oTZ} zPZ8yWe~9>N>F!tfuY~KLaEkY#uHQBB3;p`5guj!Uf8v3FUf(7B1J(JffWK2oe-$uA z{Z|2h5KF(pf6em$6yQwv?;G%+oc~wwukrp*a1q-dV6*o@?f*poU-5tc<^K~61hn=Z eD*p53|A+$$GT`s#4FrVn{_ubIka+Ij{`-GgG0^q^ literal 0 HcmV?d00001 diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj index 1f937f8..ea2bfce 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj @@ -1408,6 +1408,7 @@ + @@ -7090,6 +7091,13 @@ InsulationAcceptanceRecordEdit.aspx + + LeakageVacuum.aspx + ASPXCodeBehind + + + LeakageVacuum.aspx + ModRepairQualityCertificate.aspx ASPXCodeBehind diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user index e3436b8..6e29203 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -2,7 +2,7 @@ true - Release|Any CPU + Debug|Any CPU diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs index dba223d..defdfa0 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs @@ -159,10 +159,16 @@ namespace FineUIPro.Web.JGZL else { this.CertificateId = string.Empty; - this.txtInstallationInspection.Text = "浙江省特种设备研究院"; + this.txtCertificateCode.Text = "0XXX-91330921MA2A2R3F6G-" + DateTime.Now.Year; + var insta = (from x in Funs.DB.Project_Installation where x.ProjectId == this.CurrUser.LoginProjectId select x).FirstOrDefault(); + if (insta != null) + { + this.txtDeliveryUnit.Text = insta.InstallationName; + this.txtDeliveryUnitCode.Text = insta.InstallationCode; + } + this.txtInstallationInspection.Text = "浙江省特种设备科学研究院"; this.txtConstructionUnit.Text = "浙江石油化工有限公司"; this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028"; - //this.txtRemark.Text = "GB50517-2023"; this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##"); } } diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs index 0687081..63165e4 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs @@ -141,6 +141,13 @@ namespace FineUIPro.Web.JGZL else { this.CertificateId = string.Empty; + this.txtCertificateCode.Text = "0XXX-31330921MA2A2R3F6G-" + DateTime.Now.Year; + var insta = (from x in Funs.DB.Project_Installation where x.ProjectId == this.CurrUser.LoginProjectId select x).FirstOrDefault(); + if (insta != null) + { + this.txtDeliveryUnit.Text = insta.InstallationName; + this.txtDeliveryUnitCode.Text = insta.InstallationCode; + } this.txtInstallationInspection.Text = "浙江省特种设备科学研究院"; this.txtConstructionUnit.Text = "浙江石油化工有限公司"; this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028"; diff --git a/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx new file mode 100644 index 0000000..04be9f9 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx @@ -0,0 +1,225 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeakageVacuum.aspx.cs" Inherits="FineUIPro.Web.JGZL.LeakageVacuum" %> + + + + + + + 管道系统泄漏性/真空试验条件确认与试验记录 + + +
+ + + + + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.cs new file mode 100644 index 0000000..591bd50 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.cs @@ -0,0 +1,817 @@ +using Aspose.Words; +using Aspose.Words.Tables; +using BLL; +using FastReport.DevComponents.DotNetBar; +using Model; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.DirectoryServices.ActiveDirectory; +using System.IO; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.JGZL +{ + public partial class LeakageVacuum : PageBase + { + #region 定义项 + /// + /// 主键 + /// + private string LeakageVacuumTestRecordId + { + get + { + return (string)ViewState["LeakageVacuumTestRecordId"]; + } + set + { + ViewState["LeakageVacuumTestRecordId"] = value; + } + } + + /// + /// 项目Id + /// + private string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + + /// + /// 外键—LeakageVacuumId + /// + public string LeakageVacuumId + { + get + { + return (string)ViewState["LeakageVacuumId"]; + } + set + { + ViewState["LeakageVacuumId"] = value; + } + } + + /// + /// 定义集合 + /// + private static List itemLists = new List(); + #endregion + + #region 加载页面 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString(); + + this.drpProjectId.DataTextField = "ProjectCode"; + this.drpProjectId.DataValueField = "ProjectId"; + this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1"); + this.drpProjectId.DataBind(); + Funs.FineUIPleaseSelect(this.drpProjectId); + + this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId; + this.InitTreeMenu();//加载树 + this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue; + this.ProjectId = this.tvControlItem.SelectedNodeID; + + DataIsoInfo(); + } + } + + private void DataIsoInfo() + { + this.txtSystemCode.Text = string.Empty; + this.txtSystemName.Text = string.Empty; + this.drpCheckResult1.SelectedValue = "合格"; + this.drpCheckResult2.SelectedValue = "合格"; + this.drpCheckResult3.SelectedValue = "合格"; + this.drpCheckResult4.SelectedValue = "合格"; + this.drpCheckResult5.SelectedValue = "合格"; + itemLists.Clear(); + if (!string.IsNullOrEmpty(this.ProjectId)) + { + var record = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(this.ProjectId); + if (record != null) + { + this.LeakageVacuumId = record.LeakageVacuumId; + this.txtSystemCode.Text = record.SystemCode; + this.txtSystemName.Text = record.SystemName; + this.drpCheckResult1.SelectedValue = record.CheckItemResult1; + this.drpCheckResult2.SelectedValue = record.CheckItemResult2; + 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) + { + foreach (var item in isoInfos) + { + var iso = itemLists.Where(x => x.PipelineId != null && !string.IsNullOrEmpty(x.PipelineId) && x.PipelineId == item.ISO_ID).FirstOrDefault(); + if (iso == null) + { + Model.JGZL_LeakageVacuumTestRecord newIso = new JGZL_LeakageVacuumTestRecord(); + newIso.LeakageVacuumTestRecordId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuumTestRecord)); + newIso.PipelineId = item.ISO_ID; + newIso.PipelineCode = item.ISO_IsoNo; + newIso.DesignPressure = item.ISO_DesignPress.HasValue ? item.ISO_DesignPress.Value.ToString("0.##########") : ""; + newIso.DesignTem = item.ISO_DesignTemperature.HasValue ? item.ISO_DesignTemperature.Value.ToString("0.##########") : ""; + newIso.LeakPressure = item.LeakageTest.ToString(); + itemLists.Add(newIso); + } + } + } + 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 + + #region 加载树项目 + /// + /// 加载树 + /// + private void InitTreeMenu() + { + this.tvControlItem.Nodes.Clear(); + TreeNode rootNode = new TreeNode(); + rootNode.Text = "项目"; + rootNode.ToolTip = "项目"; + rootNode.NodeID = "0"; + rootNode.Expanded = true; + this.tvControlItem.Nodes.Add(rootNode); + + List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1"); + if (this.drpProjectId.SelectedValue != BLL.Const._Null) + { + projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList(); + } + foreach (var item in projects) + { + TreeNode rootProjectNode = new TreeNode();//定义根节点 + rootProjectNode.Text = item.ProjectCode; + rootProjectNode.NodeID = item.ProjectId; + rootProjectNode.EnableClickEvent = true; + rootProjectNode.Expanded = true; + rootProjectNode.ToolTip = item.ProjectName; + rootProjectNode.CommandName = "项目名称"; + rootNode.Nodes.Add(rootProjectNode); + } + } + #endregion + + #region 点击TreeView + /// + /// 点击TreeView + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + if (this.tvControlItem.SelectedNodeID != "0") + { + this.BindGrid(); + } + } + #endregion + + #region 数据绑定 + /// + /// 数据绑定 + /// + private void BindGrid() + { + //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1"); + string strSql = @"SELECT * from JGZL_LeakageVacuumTestRecord m left join JGZL_LeakageVacuum b on b.LeakageVacuumId = m.LeakageVacuumId where 1=1"; + List listStr = new List(); + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + strSql += " AND b.ProjectId = @ProjectId"; + listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID)); + } + //else + //{ + // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 "; + // listStr.Add(new SqlParameter("@ProjectId", projectIds)); + //} + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + // 2.获取当前分页数据 + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + #endregion + + #region 分页排序 + #region 页索引改变事件 + /// + /// 页索引改变事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + #endregion + + #region 排序 + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, GridSortEventArgs e) + { + BindGrid(); + } + #endregion + + #region 分页选择下拉改变事件 + /// + /// 分页选择下拉改变事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + #endregion + #endregion + + #region 查询 + /// + ///查询 + /// + /// + /// + protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e) + { + this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue; + this.ProjectId = this.tvControlItem.SelectedNodeID; + this.InitTreeMenu(); + DataIsoInfo(); + } + + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 维护 + /// + /// 增加 + /// + /// + /// + protected void btnAdd_Click(object sender, EventArgs e) + { + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + JArray teamGroupData = Grid1.GetMergedData(); + List list = new List(); + foreach (JObject teamGroupRow in teamGroupData) + { + JObject values = teamGroupRow.Value("values"); + list.Add(values); + } + + JObject defaultObj = new JObject + { + { "LeakageVacuumTestRecordId", Guid.NewGuid() }, + { "LeakageVacuumId", this.LeakageVacuumId }, + { "PipelineId", "" }, + { "PipelineCode", "" }, + { "DesignPressure", "" }, + { "DesignTem", "" }, + { "TestAmbientTemp", "" }, + { "TestMediumTemp", "" }, + { "LeakPressure", "" }, + { "LeakMedium", "" }, + { "VacuumPressure", "" }, + { "VacuumMedium", "" }, + { + "Delete3", + String.Format("", + GetDeleteScriptGrid1(), IconHelper.GetResolvedIconUrl(Icon.Delete)) + } + }; + list.Add(defaultObj); + Grid1.DataSource = list; + Grid1.DataBind(); + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PressureTestOfPipelineSystemRecordEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - "))); + } + else + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + else + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + + protected void Grid1_PreDataBound(object sender, EventArgs e) + { + // 设置LinkButtonField的点击客户端事件 + LinkButtonField deleteField = Grid1.FindColumn("Delete3") as LinkButtonField; + deleteField.OnClientClick = GetDeleteScriptGrid1(); + } + + /// + /// 删除提示 + /// + /// + private string GetDeleteScriptGrid1() + { + return Confirm.GetShowReference("删除选中行?", String.Empty, MessageBoxIcon.Question, + Grid1.GetDeleteSelectedRowsReference(), String.Empty); + } + + #endregion + + #region 保存 + /// + /// 保存按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, + Const.JGZL_LeakageVacuumMenuId, Const.BtnSave)) + { + Model.JGZL_LeakageVacuum newRecord = new JGZL_LeakageVacuum(); + newRecord.SystemCode = this.txtSystemCode.Text; + newRecord.SystemName = this.txtSystemName.Text; + newRecord.CheckItemResult1 = this.drpCheckResult1.SelectedValue; + newRecord.CheckItemResult2 = this.drpCheckResult2.SelectedValue; + newRecord.CheckItemResult3 = this.drpCheckResult3.SelectedValue; + newRecord.CheckItemResult4 = this.drpCheckResult4.SelectedValue; + newRecord.CheckItemResult5 = this.drpCheckResult5.SelectedValue; + if (!string.IsNullOrEmpty(this.LeakageVacuumId)) + { + newRecord.LeakageVacuumId = this.LeakageVacuumId; + BLL.LeakageVacuumService.UpdateLeakageVacuum(newRecord); + } + else + { + newRecord.ProjectId = this.tvControlItem.SelectedNodeID; + newRecord.LeakageVacuumId = SQLHelper.GetNewID(typeof(Model.JGZL_LeakageVacuum)); + this.LeakageVacuumId = newRecord.LeakageVacuumId; + BLL.LeakageVacuumService.AddLeakageVacuum(newRecord); + } + saveItem(); + BindGrid(); + ShowNotify("保存成功!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + else + { + Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + return; + } + } + + void saveItem() + { + itemLists.Clear(); + BLL.LeakageVacuumTestRecordServic.DeleteLeakageVacuumTestRecordByLeakageVacuumId(this.LeakageVacuumId); + JArray teamGroupData = Grid1.GetMergedData(); + foreach (JObject teamGroupRow in teamGroupData) + { + JObject values = teamGroupRow.Value("values"); + int rowIndex = teamGroupRow.Value("index"); + Model.JGZL_LeakageVacuumTestRecord newDetail = new Model.JGZL_LeakageVacuumTestRecord + { + LeakageVacuumTestRecordId = values.Value("LeakageVacuumTestRecordId"), + LeakageVacuumId = this.LeakageVacuumId, + PipelineId = values.Value("PipelineId"), + PipelineCode = values.Value("PipelineCode"), + DesignPressure = values.Value("DesignPressure"), + DesignTem = values.Value("DesignTem"), + TestAmbientTemp = values.Value("TestAmbientTemp"), + TestMediumTemp = values.Value("TestMediumTemp"), + LeakPressure = values.Value("LeakPressure"), + LeakMedium = values.Value("LeakMedium"), + VacuumPressure = values.Value("VacuumPressure"), + VacuumMedium = values.Value("VacuumMedium"), + }; + itemLists.Add(newDetail); + } + try + { + if (itemLists.Count > 0) + { + Funs.DB.JGZL_LeakageVacuumTestRecord.InsertAllOnSubmit(itemLists); + } + Funs.DB.SubmitChanges(); + } + catch (Exception) + { + return; + } + } + #endregion + + #region 打印 + /// + /// 打印 + /// + /// + /// + protected void btnPrint_Click(object sender, EventArgs e) + { + string projectId = this.tvControlItem.SelectedNodeID; + + if (projectId != null) + { + string initTemplatePath = ""; + string rootPath = Server.MapPath("~/"); + BLL.Common.FastReportService.ResetData(); + + var report = BLL.LeakageVacuumService.GetLeakageVacuumByProjectId(projectId); + if (report != null) + { + DataTable dt = new DataTable(); + dt.TableName = "MainData"; + dt.Columns.Add("ProjectName"); + dt.Columns.Add("SystemName"); + dt.Columns.Add("SystemCode"); + dt.Columns.Add("CheckItemResult1"); + dt.Columns.Add("CheckItemResult2"); + dt.Columns.Add("CheckItemResult3"); + dt.Columns.Add("CheckItemResult4"); + dt.Columns.Add("CheckItemResult5"); + dt.Columns.Add("Conclusion"); + + var newRow = dt.NewRow(); + newRow["ProjectName"] = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName; + newRow["SystemName"] = this.txtSystemName.Text.Trim(); + newRow["SystemCode"] = this.txtSystemCode.Text.Trim(); + newRow["CheckItemResult1"] = report.CheckItemResult1; + newRow["CheckItemResult2"] = report.CheckItemResult2; + newRow["CheckItemResult3"] = report.CheckItemResult3; + newRow["CheckItemResult4"] = report.CheckItemResult4; + newRow["CheckItemResult5"] = report.CheckItemResult5; + newRow["Conclusion"] = report.Conclusion; + dt.Rows.Add(newRow); + BLL.Common.FastReportService.AddFastreportTable(dt); + + var recordLists = BLL.LeakageVacuumTestRecordServic.GetLeakageVacuumTestRecordByLeakageVacuumId(report.LeakageVacuumId); + if (recordLists.Count == Grid1.GetMergedData().Count) + { + DataTable itemdt = new DataTable(); + itemdt.TableName = "Data"; + itemdt.Columns.Add("PipelineNo"); + itemdt.Columns.Add("DesignPressure"); + itemdt.Columns.Add("DesignTem"); + itemdt.Columns.Add("TestAmbientTemp"); + itemdt.Columns.Add("TestMediumTemp"); + itemdt.Columns.Add("LeakPressure"); + itemdt.Columns.Add("LeakMedium"); + itemdt.Columns.Add("VacuumPressure"); + itemdt.Columns.Add("VacuumMedium"); + + foreach (var item in recordLists) + { + var newRow2 = itemdt.NewRow(); + newRow2["PipelineNo"] = item.PipelineCode; + newRow2["DesignPressure"] = item.DesignPressure; + newRow2["DesignTem"] = item.DesignTem; + newRow2["TestAmbientTemp"] = item.TestAmbientTemp; + newRow2["TestMediumTemp"] = item.TestMediumTemp; + newRow2["LeakPressure"] = item.LeakPressure; + newRow2["LeakMedium"] = item.LeakMedium; + newRow2["VacuumPressure"] = item.VacuumPressure; + newRow2["VacuumMedium"] = item.VacuumMedium; + itemdt.Rows.Add(newRow2); + } + BLL.Common.FastReportService.AddFastreportTable(itemdt); + + Dictionary keyValuePairs = new Dictionary(); + //keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName); + BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs); + + initTemplatePath = "File\\Fastreport\\JGZL\\管道系统泄漏性、真空试验条件确认与试验记录.frx"; + if (File.Exists(rootPath + initTemplatePath)) + { + PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath))); + } + } + else + { + Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning); + return; + } + } + else + { + Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning); + return; + } + } + else + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + #endregion + + #region 导出按钮 + /// 导出按钮 + /// + /// + /// + 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 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 + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + + public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "") + { + Cell cell = new Cell(doc); + Paragraph p = new Paragraph(doc); + if (!string.IsNullOrEmpty(cellMerge)) + { + if (cellMerge == "0") + { + cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格 + } + else + { + 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;//表格中字体居左 + } + else + { + p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中 + } + + + p.AppendChild(new Run(doc, value)); + + cell.CellFormat.Width = cellWidth; + + cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center; + + cell.CellFormat.Borders.LineWidth = 0.75; + + cell.AppendChild(p); + return cell; + } + + #endregion + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.designer.cs new file mode 100644 index 0000000..16b8b8a --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/LeakageVacuum.aspx.designer.cs @@ -0,0 +1,341 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.JGZL +{ + + + public partial class LeakageVacuum + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProjectId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProjectId; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// panelCenterRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelCenterRegion; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// ToolbarFill1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnAdd 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAdd; + + /// + /// btnSave 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnPrint; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtSystemName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystemName; + + /// + /// txtSystemCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSystemCode; + + /// + /// drpCheckResult1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCheckResult1; + + /// + /// drpCheckResult2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCheckResult2; + + /// + /// drpCheckResult3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCheckResult3; + + /// + /// drpCheckResult4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCheckResult4; + + /// + /// drpCheckResult5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCheckResult5; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// txtPipelineCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPipelineCode; + + /// + /// txtDesignPressure 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDesignPressure; + + /// + /// txtDesignTem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDesignTem; + + /// + /// txtTestAmbientTemp 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTestAmbientTemp; + + /// + /// txtTestMediumTemp 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTestMediumTemp; + + /// + /// txtLeakPressure 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLeakPressure; + + /// + /// txtLeakMedium 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLeakMedium; + + /// + /// txtVacuumPressure 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtVacuumPressure; + + /// + /// txtVacuumMedium 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtVacuumMedium; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// WindowPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowPrint; + } +} diff --git a/HJGL_DS/FineUIPro.Web/JGZL/ModRepairQualityCertificate.aspx b/HJGL_DS/FineUIPro.Web/JGZL/ModRepairQualityCertificate.aspx index e37c8ec..5b13c26 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/ModRepairQualityCertificate.aspx +++ b/HJGL_DS/FineUIPro.Web/JGZL/ModRepairQualityCertificate.aspx @@ -81,16 +81,21 @@ - + - + <%----%> + + + + + - + @@ -138,7 +143,7 @@ - + <%-- @@ -149,7 +154,7 @@ - + --%> <%-- - /// txtPipeCategory 控件。 + /// drpPipeCategory 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtPipeCategory; + protected global::FineUIPro.DropDownList drpPipeCategory; /// /// cblConCategory 控件。 @@ -347,42 +347,6 @@ namespace FineUIPro.Web.JGZL /// protected global::FineUIPro.DatePicker txtCompletionDate; - /// - /// Label2 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label2; - - /// - /// txtQC_Inspector 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtQC_Inspector; - - /// - /// Label3 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Label Label3; - - /// - /// txtQA_Engineer 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtQA_Engineer; - /// /// WindowPrint 控件。 /// diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config index 3c98f31..557f12f 100644 --- a/HJGL_DS/FineUIPro.Web/Web.config +++ b/HJGL_DS/FineUIPro.Web/Web.config @@ -67,7 +67,7 @@ - + diff --git a/HJGL_DS/Model/Model.cs b/HJGL_DS/Model/Model.cs index 449453e..8f1b68e 100644 --- a/HJGL_DS/Model/Model.cs +++ b/HJGL_DS/Model/Model.cs @@ -431,6 +431,12 @@ namespace Model partial void InsertJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance); partial void UpdateJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance); partial void DeleteJGZL_InsulationAcceptanceRecordItem(JGZL_InsulationAcceptanceRecordItem instance); + partial void InsertJGZL_LeakageVacuum(JGZL_LeakageVacuum instance); + partial void UpdateJGZL_LeakageVacuum(JGZL_LeakageVacuum instance); + partial void DeleteJGZL_LeakageVacuum(JGZL_LeakageVacuum instance); + partial void InsertJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance); + partial void UpdateJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance); + partial void DeleteJGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord instance); partial void InsertJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance); partial void UpdateJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance); partial void DeleteJGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord instance); @@ -2084,6 +2090,22 @@ namespace Model } } + public System.Data.Linq.Table JGZL_LeakageVacuum + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table JGZL_LeakageVacuumTestRecord + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table JGZL_LeakTestOfPipelineSystemRecord { get @@ -5011,6 +5033,8 @@ namespace Model private EntitySet _JGZL_InsulationAcceptanceRecord; + private EntitySet _JGZL_LeakageVacuum; + private EntitySet _JGZL_LeakTestOfPipelineSystemRecord; private EntitySet _JGZL_MaterialIdentificationInspectionRecord; @@ -5210,6 +5234,7 @@ namespace Model this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet(new Action(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate)); this._JGZL_IndustrialPipelineInstallationSummary = new EntitySet(new Action(this.attach_JGZL_IndustrialPipelineInstallationSummary), new Action(this.detach_JGZL_IndustrialPipelineInstallationSummary)); this._JGZL_InsulationAcceptanceRecord = new EntitySet(new Action(this.attach_JGZL_InsulationAcceptanceRecord), new Action(this.detach_JGZL_InsulationAcceptanceRecord)); + this._JGZL_LeakageVacuum = new EntitySet(new Action(this.attach_JGZL_LeakageVacuum), new Action(this.detach_JGZL_LeakageVacuum)); this._JGZL_LeakTestOfPipelineSystemRecord = new EntitySet(new Action(this.attach_JGZL_LeakTestOfPipelineSystemRecord), new Action(this.detach_JGZL_LeakTestOfPipelineSystemRecord)); this._JGZL_MaterialIdentificationInspectionRecord = new EntitySet(new Action(this.attach_JGZL_MaterialIdentificationInspectionRecord), new Action(this.detach_JGZL_MaterialIdentificationInspectionRecord)); this._JGZL_MaterialQualityCertificateDoc = new EntitySet(new Action(this.attach_JGZL_MaterialQualityCertificateDoc), new Action(this.detach_JGZL_MaterialQualityCertificateDoc)); @@ -6540,6 +6565,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuum_Base_Project", Storage="_JGZL_LeakageVacuum", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet JGZL_LeakageVacuum + { + get + { + return this._JGZL_LeakageVacuum; + } + set + { + this._JGZL_LeakageVacuum.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakTestOfPipelineSystemRecord_Base_Project", Storage="_JGZL_LeakTestOfPipelineSystemRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet JGZL_LeakTestOfPipelineSystemRecord { @@ -7742,6 +7780,18 @@ namespace Model entity.Base_Project = null; } + private void attach_JGZL_LeakageVacuum(JGZL_LeakageVacuum entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_JGZL_LeakageVacuum(JGZL_LeakageVacuum entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_JGZL_LeakTestOfPipelineSystemRecord(JGZL_LeakTestOfPipelineSystemRecord entity) { this.SendPropertyChanging(); @@ -90909,6 +90959,720 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakageVacuum")] + public partial class JGZL_LeakageVacuum : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _LeakageVacuumId; + + private string _ProjectId; + + private string _SystemName; + + private string _SystemCode; + + private string _CheckItemResult1; + + private string _CheckItemResult2; + + private string _CheckItemResult3; + + private string _CheckItemResult4; + + private string _CheckItemResult5; + + private string _Conclusion; + + private EntityRef _Base_Project; + + private EntitySet _JGZL_LeakageVacuumTestRecord; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnLeakageVacuumIdChanging(string value); + partial void OnLeakageVacuumIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnSystemNameChanging(string value); + partial void OnSystemNameChanged(); + partial void OnSystemCodeChanging(string value); + partial void OnSystemCodeChanged(); + partial void OnCheckItemResult1Changing(string value); + partial void OnCheckItemResult1Changed(); + partial void OnCheckItemResult2Changing(string value); + partial void OnCheckItemResult2Changed(); + partial void OnCheckItemResult3Changing(string value); + partial void OnCheckItemResult3Changed(); + partial void OnCheckItemResult4Changing(string value); + partial void OnCheckItemResult4Changed(); + partial void OnCheckItemResult5Changing(string value); + partial void OnCheckItemResult5Changed(); + partial void OnConclusionChanging(string value); + partial void OnConclusionChanged(); + #endregion + + public JGZL_LeakageVacuum() + { + this._Base_Project = default(EntityRef); + this._JGZL_LeakageVacuumTestRecord = new EntitySet(new Action(this.attach_JGZL_LeakageVacuumTestRecord), new Action(this.detach_JGZL_LeakageVacuumTestRecord)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string LeakageVacuumId + { + get + { + return this._LeakageVacuumId; + } + set + { + if ((this._LeakageVacuumId != value)) + { + this.OnLeakageVacuumIdChanging(value); + this.SendPropertyChanging(); + this._LeakageVacuumId = value; + this.SendPropertyChanged("LeakageVacuumId"); + this.OnLeakageVacuumIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] + 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="_SystemName", DbType="NVarChar(50)")] + public string SystemName + { + get + { + return this._SystemName; + } + set + { + if ((this._SystemName != value)) + { + this.OnSystemNameChanging(value); + this.SendPropertyChanging(); + this._SystemName = value; + this.SendPropertyChanged("SystemName"); + this.OnSystemNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemCode", DbType="NVarChar(50)")] + public string SystemCode + { + get + { + return this._SystemCode; + } + set + { + if ((this._SystemCode != value)) + { + this.OnSystemCodeChanging(value); + this.SendPropertyChanging(); + this._SystemCode = value; + this.SendPropertyChanged("SystemCode"); + this.OnSystemCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult1", DbType="NVarChar(50)")] + public string CheckItemResult1 + { + get + { + return this._CheckItemResult1; + } + set + { + if ((this._CheckItemResult1 != value)) + { + this.OnCheckItemResult1Changing(value); + this.SendPropertyChanging(); + this._CheckItemResult1 = value; + this.SendPropertyChanged("CheckItemResult1"); + this.OnCheckItemResult1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult2", DbType="NVarChar(50)")] + public string CheckItemResult2 + { + get + { + return this._CheckItemResult2; + } + set + { + if ((this._CheckItemResult2 != value)) + { + this.OnCheckItemResult2Changing(value); + this.SendPropertyChanging(); + this._CheckItemResult2 = value; + this.SendPropertyChanged("CheckItemResult2"); + this.OnCheckItemResult2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult3", DbType="NVarChar(50)")] + public string CheckItemResult3 + { + get + { + return this._CheckItemResult3; + } + set + { + if ((this._CheckItemResult3 != value)) + { + this.OnCheckItemResult3Changing(value); + this.SendPropertyChanging(); + this._CheckItemResult3 = value; + this.SendPropertyChanged("CheckItemResult3"); + this.OnCheckItemResult3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult4", DbType="NVarChar(50)")] + public string CheckItemResult4 + { + get + { + return this._CheckItemResult4; + } + set + { + if ((this._CheckItemResult4 != value)) + { + this.OnCheckItemResult4Changing(value); + this.SendPropertyChanging(); + this._CheckItemResult4 = value; + this.SendPropertyChanged("CheckItemResult4"); + this.OnCheckItemResult4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckItemResult5", DbType="NVarChar(50)")] + public string CheckItemResult5 + { + get + { + return this._CheckItemResult5; + } + set + { + if ((this._CheckItemResult5 != value)) + { + this.OnCheckItemResult5Changing(value); + this.SendPropertyChanging(); + this._CheckItemResult5 = value; + this.SendPropertyChanged("CheckItemResult5"); + this.OnCheckItemResult5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Conclusion", DbType="NVarChar(500)")] + public string Conclusion + { + get + { + return this._Conclusion; + } + set + { + if ((this._Conclusion != value)) + { + this.OnConclusionChanging(value); + this.SendPropertyChanging(); + this._Conclusion = value; + this.SendPropertyChanged("Conclusion"); + this.OnConclusionChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuum_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_LeakageVacuum.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.JGZL_LeakageVacuum.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum", Storage="_JGZL_LeakageVacuumTestRecord", ThisKey="LeakageVacuumId", OtherKey="LeakageVacuumId", DeleteRule="NO ACTION")] + public EntitySet JGZL_LeakageVacuumTestRecord + { + get + { + return this._JGZL_LeakageVacuumTestRecord; + } + set + { + this._JGZL_LeakageVacuumTestRecord.Assign(value); + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + + private void attach_JGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord entity) + { + this.SendPropertyChanging(); + entity.JGZL_LeakageVacuum = this; + } + + private void detach_JGZL_LeakageVacuumTestRecord(JGZL_LeakageVacuumTestRecord entity) + { + this.SendPropertyChanging(); + entity.JGZL_LeakageVacuum = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_LeakageVacuumTestRecord")] + public partial class JGZL_LeakageVacuumTestRecord : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _LeakageVacuumTestRecordId; + + private string _LeakageVacuumId; + + private string _PipelineId; + + private string _PipelineCode; + + private string _DesignPressure; + + private string _DesignTem; + + private string _TestAmbientTemp; + + private string _TestMediumTemp; + + private string _LeakPressure; + + private string _LeakMedium; + + private string _VacuumPressure; + + private string _VacuumMedium; + + private EntityRef _JGZL_LeakageVacuum; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnLeakageVacuumTestRecordIdChanging(string value); + partial void OnLeakageVacuumTestRecordIdChanged(); + partial void OnLeakageVacuumIdChanging(string value); + partial void OnLeakageVacuumIdChanged(); + partial void OnPipelineIdChanging(string value); + partial void OnPipelineIdChanged(); + partial void OnPipelineCodeChanging(string value); + partial void OnPipelineCodeChanged(); + partial void OnDesignPressureChanging(string value); + partial void OnDesignPressureChanged(); + partial void OnDesignTemChanging(string value); + partial void OnDesignTemChanged(); + partial void OnTestAmbientTempChanging(string value); + partial void OnTestAmbientTempChanged(); + partial void OnTestMediumTempChanging(string value); + partial void OnTestMediumTempChanged(); + partial void OnLeakPressureChanging(string value); + partial void OnLeakPressureChanged(); + partial void OnLeakMediumChanging(string value); + partial void OnLeakMediumChanged(); + partial void OnVacuumPressureChanging(string value); + partial void OnVacuumPressureChanged(); + partial void OnVacuumMediumChanging(string value); + partial void OnVacuumMediumChanged(); + #endregion + + public JGZL_LeakageVacuumTestRecord() + { + this._JGZL_LeakageVacuum = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumTestRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string LeakageVacuumTestRecordId + { + get + { + return this._LeakageVacuumTestRecordId; + } + set + { + if ((this._LeakageVacuumTestRecordId != value)) + { + this.OnLeakageVacuumTestRecordIdChanging(value); + this.SendPropertyChanging(); + this._LeakageVacuumTestRecordId = value; + this.SendPropertyChanged("LeakageVacuumTestRecordId"); + this.OnLeakageVacuumTestRecordIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageVacuumId", DbType="NVarChar(50)")] + public string LeakageVacuumId + { + get + { + return this._LeakageVacuumId; + } + set + { + if ((this._LeakageVacuumId != value)) + { + if (this._JGZL_LeakageVacuum.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnLeakageVacuumIdChanging(value); + this.SendPropertyChanging(); + this._LeakageVacuumId = value; + this.SendPropertyChanged("LeakageVacuumId"); + this.OnLeakageVacuumIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineId", DbType="NVarChar(50)")] + public string PipelineId + { + get + { + return this._PipelineId; + } + set + { + if ((this._PipelineId != value)) + { + this.OnPipelineIdChanging(value); + this.SendPropertyChanging(); + this._PipelineId = value; + this.SendPropertyChanged("PipelineId"); + this.OnPipelineIdChanged(); + } + } + } + + [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="_DesignPressure", DbType="NVarChar(50)")] + public string 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="_DesignTem", DbType="NVarChar(50)")] + public string DesignTem + { + get + { + return this._DesignTem; + } + set + { + if ((this._DesignTem != value)) + { + this.OnDesignTemChanging(value); + this.SendPropertyChanging(); + this._DesignTem = value; + this.SendPropertyChanged("DesignTem"); + this.OnDesignTemChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestAmbientTemp", DbType="NVarChar(50)")] + public string TestAmbientTemp + { + get + { + return this._TestAmbientTemp; + } + set + { + if ((this._TestAmbientTemp != value)) + { + this.OnTestAmbientTempChanging(value); + this.SendPropertyChanging(); + this._TestAmbientTemp = value; + this.SendPropertyChanged("TestAmbientTemp"); + this.OnTestAmbientTempChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMediumTemp", DbType="NVarChar(50)")] + public string TestMediumTemp + { + get + { + return this._TestMediumTemp; + } + set + { + if ((this._TestMediumTemp != value)) + { + this.OnTestMediumTempChanging(value); + this.SendPropertyChanging(); + this._TestMediumTemp = value; + this.SendPropertyChanged("TestMediumTemp"); + this.OnTestMediumTempChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakPressure", DbType="NVarChar(50)")] + public string LeakPressure + { + get + { + return this._LeakPressure; + } + set + { + if ((this._LeakPressure != value)) + { + this.OnLeakPressureChanging(value); + this.SendPropertyChanging(); + this._LeakPressure = value; + this.SendPropertyChanged("LeakPressure"); + this.OnLeakPressureChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakMedium", DbType="NVarChar(50)")] + public string LeakMedium + { + get + { + return this._LeakMedium; + } + set + { + if ((this._LeakMedium != value)) + { + this.OnLeakMediumChanging(value); + this.SendPropertyChanging(); + this._LeakMedium = value; + this.SendPropertyChanged("LeakMedium"); + this.OnLeakMediumChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VacuumPressure", DbType="NVarChar(50)")] + public string VacuumPressure + { + get + { + return this._VacuumPressure; + } + set + { + if ((this._VacuumPressure != value)) + { + this.OnVacuumPressureChanging(value); + this.SendPropertyChanging(); + this._VacuumPressure = value; + this.SendPropertyChanged("VacuumPressure"); + this.OnVacuumPressureChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VacuumMedium", DbType="NVarChar(50)")] + public string VacuumMedium + { + get + { + return this._VacuumMedium; + } + set + { + if ((this._VacuumMedium != value)) + { + this.OnVacuumMediumChanging(value); + this.SendPropertyChanging(); + this._VacuumMedium = value; + this.SendPropertyChanged("VacuumMedium"); + this.OnVacuumMediumChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_LeakageVacuumTestRecord_JGZL_LeakageVacuum", Storage="_JGZL_LeakageVacuum", ThisKey="LeakageVacuumId", OtherKey="LeakageVacuumId", IsForeignKey=true)] + public JGZL_LeakageVacuum JGZL_LeakageVacuum + { + get + { + return this._JGZL_LeakageVacuum.Entity; + } + set + { + JGZL_LeakageVacuum previousValue = this._JGZL_LeakageVacuum.Entity; + if (((previousValue != value) + || (this._JGZL_LeakageVacuum.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._JGZL_LeakageVacuum.Entity = null; + previousValue.JGZL_LeakageVacuumTestRecord.Remove(this); + } + this._JGZL_LeakageVacuum.Entity = value; + if ((value != null)) + { + value.JGZL_LeakageVacuumTestRecord.Add(this); + this._LeakageVacuumId = value.LeakageVacuumId; + } + else + { + this._LeakageVacuumId = default(string); + } + this.SendPropertyChanged("JGZL_LeakageVacuum"); + } + } + } + + 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_LeakTestOfPipelineSystemRecord")] public partial class JGZL_LeakTestOfPipelineSystemRecord : INotifyPropertyChanging, INotifyPropertyChanged { diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user index 8cd7f1f..ef14066 100644 --- a/HJGL_DS/WebAPI/WebAPI.csproj.user +++ b/HJGL_DS/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@ - Release|Any CPU + Debug|Any CPU FolderProfile true