From 6e85c8e2404250de7699f232bdb9bf2c8cc4a5ea Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Tue, 23 Dec 2025 16:43:51 +0800 Subject: [PATCH] =?UTF-8?q?20251223=20=E4=BA=A4=E5=B7=A5=E8=B5=84=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/HJGLDB_DS_2025-12-23_bwj.sql | 149 ++ HJGL_DS/BLL/BLL.csproj | 1 + HJGL_DS/BLL/Common/Const.cs | 5 + .../SpecialEquipmentMaintenanceService.cs | 112 ++ .../JGZL/特种设备安装改造维修告知书.frx | 159 +++ HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 16 + .../FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +- .../JGZL/SpecialEquipmentMaintenance.aspx | 136 ++ .../JGZL/SpecialEquipmentMaintenance.aspx.cs | 428 ++++++ ...ecialEquipmentMaintenance.aspx.designer.cs | 206 +++ .../JGZL/SpecialEquipmentMaintenanceEdit.aspx | 108 ++ .../SpecialEquipmentMaintenanceEdit.aspx.cs | 153 ++ ...lEquipmentMaintenanceEdit.aspx.designer.cs | 287 ++++ HJGL_DS/FineUIPro.Web/Web.config | 2 +- HJGL_DS/Model/Model.cs | 1236 +++++++++++++++++ HJGL_DS/WebAPI/WebAPI.csproj.user | 2 +- 16 files changed, 2999 insertions(+), 3 deletions(-) create mode 100644 DataBase/版本日志/HJGLDB_DS_2025-12-23_bwj.sql create mode 100644 HJGL_DS/BLL/JGZL/SpecialEquipmentMaintenanceService.cs create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/特种设备安装改造维修告知书.frx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.designer.cs diff --git a/DataBase/版本日志/HJGLDB_DS_2025-12-23_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2025-12-23_bwj.sql new file mode 100644 index 0000000..f6b459b --- /dev/null +++ b/DataBase/版本日志/HJGLDB_DS_2025-12-23_bwj.sql @@ -0,0 +1,149 @@ +insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule) +values('53B316E5-7152-47C3-B85D-B2D3630E969F','豸װά޸֪','JGZL/SpecialEquipmentMaintenance.aspx',70,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3') +go +insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) +values('AFC0D59C-FEAC-4E26-916D-17C00120F3E4','53B316E5-7152-47C3-B85D-B2D3630E969F','',1) +insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) +values('1F1F7B70-552A-487C-BCAA-F7A586EB12EB','53B316E5-7152-47C3-B85D-B2D3630E969F','޸',2) +insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) +values('CE839EF8-57F5-4EA0-B7F6-7E3E7C57869F','53B316E5-7152-47C3-B85D-B2D3630E969F','ɾ',3) +insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) +values('3DBC342E-5D28-4BE7-80C6-1EB58BA75475','53B316E5-7152-47C3-B85D-B2D3630E969F','',4) +go + +CREATE TABLE [dbo].[JGZL_SpecialEquipmentMaintenance]( + [MaintenanceId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [MaintenanceCode] [nvarchar](50) NULL, + [ConUnit] [nvarchar](50) NULL, + [EquipmentName] [nvarchar](50) NULL, + [EquipmentModel] [nvarchar](50) NULL, + [EquipmentCode] [nvarchar](50) NULL, + [ManufacturingNumber] [nvarchar](50) NULL, + [ManufacturingUnit] [nvarchar](50) NULL, + [ManufacturingLicenseNumber] [nvarchar](50) NULL, + [EquipmentLocation] [nvarchar](50) NULL, + [ConstructionDate] [datetime] NULL, + [ConstructionCategory] [nvarchar](50) NULL, + [LicenseNumber] [nvarchar](50) NULL, + [LicenseValidityDate] [datetime] NULL, + [ConContactMan] [nvarchar](50) NULL, + [ConTelephone] [nvarchar](50) NULL, + [ConFax] [nvarchar](50) NULL, + [ConAddress] [nvarchar](50) NULL, + [ConEmail] [nvarchar](50) NULL, + [UseUnit] [nvarchar](50) NULL, + [UseContactMan] [nvarchar](50) NULL, + [UseTelephone] [nvarchar](50) NULL, + [UseFax] [nvarchar](50) NULL, + [UseAddress] [nvarchar](50) NULL, + [UseEmail] [nvarchar](50) NULL, + [CompileMan] [nvarchar](50) NULL, + [CompileDate] [datetime] NULL, + CONSTRAINT [PK_JGZL_SpecialEquipmentMaintenance] PRIMARY KEY CLUSTERED +( + [MaintenanceId] 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_SpecialEquipmentMaintenance] WITH CHECK ADD CONSTRAINT [FK_JGZL_SpecialEquipmentMaintenance_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[JGZL_SpecialEquipmentMaintenance] CHECK CONSTRAINT [FK_JGZL_SpecialEquipmentMaintenance_Base_Project] +GO + +ALTER TABLE [dbo].[JGZL_SpecialEquipmentMaintenance] WITH CHECK ADD CONSTRAINT [FK_JGZL_SpecialEquipmentMaintenance_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +GO + +ALTER TABLE [dbo].[JGZL_SpecialEquipmentMaintenance] CHECK CONSTRAINT [FK_JGZL_SpecialEquipmentMaintenance_Sys_User] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'MaintenanceId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @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_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'MaintenanceCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'EquipmentName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ͺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'EquipmentModel' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'EquipmentCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ManufacturingNumber' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸쵥λȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ManufacturingUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ManufacturingLicenseNumber' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸ص' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'EquipmentLocation' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConstructionDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʩ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConstructionCategory' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'LicenseNumber' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'֤Ч' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'LicenseValidityDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConContactMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConTelephone' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConFax' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ַ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConAddress' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'ConEmail' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλϵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseContactMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλ绰' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseTelephone' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseFax' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλַ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseAddress' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʹõλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'UseEmail' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'CompileMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance', @level2type=N'COLUMN',@level2name=N'CompileDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸װά޸֪' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_SpecialEquipmentMaintenance' +GO diff --git a/HJGL_DS/BLL/BLL.csproj b/HJGL_DS/BLL/BLL.csproj index 62fc37e..9817d76 100644 --- a/HJGL_DS/BLL/BLL.csproj +++ b/HJGL_DS/BLL/BLL.csproj @@ -251,6 +251,7 @@ + diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs index c4e6f51..9ee3c2f 100644 --- a/HJGL_DS/BLL/Common/Const.cs +++ b/HJGL_DS/BLL/Common/Const.cs @@ -1781,6 +1781,11 @@ namespace BLL /// public const string JGZL_NDTPersonMenuId = "7CB55890-081C-49C7-905C-F711459A6C9E"; + /// + /// 特种设备安装改造维修告知书 + /// + public const string JGZL_SpecialEquipmentMaintenanceMenuId = "53B316E5-7152-47C3-B85D-B2D3630E969F"; + /// /// 施工图核查记录 /// diff --git a/HJGL_DS/BLL/JGZL/SpecialEquipmentMaintenanceService.cs b/HJGL_DS/BLL/JGZL/SpecialEquipmentMaintenanceService.cs new file mode 100644 index 0000000..fa905da --- /dev/null +++ b/HJGL_DS/BLL/JGZL/SpecialEquipmentMaintenanceService.cs @@ -0,0 +1,112 @@ +using Model; +using System.Linq; + +namespace BLL +{ + /// + /// 特种设备安装改造维修告知书 + /// + public class SpecialEquipmentMaintenanceService + { + /// + /// 根据主键获取设备安装改造维修告知书 + /// + /// + /// + public static Model.JGZL_SpecialEquipmentMaintenance GetSpecialEquipmentMaintenance(string maintenanceId) + { + return Funs.DB.JGZL_SpecialEquipmentMaintenance.FirstOrDefault(e => e.MaintenanceId == maintenanceId); + } + + /// + /// 增加特种设备安装改造维修告知书 + /// + /// + public static void AddSpecialEquipmentMaintenance(Model.JGZL_SpecialEquipmentMaintenance maintenance) + { + SGGLDB db = Funs.DB; + Model.JGZL_SpecialEquipmentMaintenance newMaintenance = new Model.JGZL_SpecialEquipmentMaintenance(); + newMaintenance.MaintenanceId = maintenance.MaintenanceId; + newMaintenance.ProjectId = maintenance.ProjectId; + newMaintenance.MaintenanceCode = maintenance.MaintenanceCode; + newMaintenance.ConUnit = maintenance.ConUnit; + newMaintenance.EquipmentName = maintenance.EquipmentName; + newMaintenance.EquipmentModel = maintenance.EquipmentModel; + newMaintenance.EquipmentCode = maintenance.EquipmentCode; + newMaintenance.ManufacturingNumber = maintenance.ManufacturingNumber; + newMaintenance.ManufacturingUnit = maintenance.ManufacturingUnit; + newMaintenance.ManufacturingLicenseNumber = maintenance.ManufacturingLicenseNumber; + newMaintenance.EquipmentLocation = maintenance.EquipmentLocation; + newMaintenance.ConstructionDate = maintenance.ConstructionDate; + newMaintenance.ConstructionCategory = maintenance.ConstructionCategory; + newMaintenance.LicenseNumber = maintenance.LicenseNumber; + newMaintenance.LicenseValidityDate = maintenance.LicenseValidityDate; + newMaintenance.ConContactMan = maintenance.ConContactMan; + newMaintenance.ConTelephone = maintenance.ConTelephone; + newMaintenance.ConFax = maintenance.ConFax; + newMaintenance.ConAddress = maintenance.ConAddress; + newMaintenance.ConEmail = maintenance.ConEmail; + newMaintenance.UseUnit = maintenance.UseUnit; + newMaintenance.UseContactMan = maintenance.UseContactMan; + newMaintenance.UseTelephone = maintenance.UseTelephone; + newMaintenance.UseFax = maintenance.UseFax; + newMaintenance.UseAddress = maintenance.UseAddress; + newMaintenance.UseEmail = maintenance.UseEmail; + db.JGZL_SpecialEquipmentMaintenance.InsertOnSubmit(newMaintenance); + db.SubmitChanges(); + } + + /// + /// 修改特种设备安装改造维修告知书 + /// + /// + public static void UpdateSpecialEquipmentMaintenance(Model.JGZL_SpecialEquipmentMaintenance maintenance) + { + SGGLDB db = Funs.DB; + Model.JGZL_SpecialEquipmentMaintenance newMaintenance = db.JGZL_SpecialEquipmentMaintenance.FirstOrDefault(e => e.MaintenanceId == maintenance.MaintenanceId); + if (newMaintenance != null) + { + newMaintenance.MaintenanceCode = maintenance.MaintenanceCode; + newMaintenance.ConUnit = maintenance.ConUnit; + newMaintenance.EquipmentName = maintenance.EquipmentName; + newMaintenance.EquipmentModel = maintenance.EquipmentModel; + newMaintenance.EquipmentCode = maintenance.EquipmentCode; + newMaintenance.ManufacturingNumber = maintenance.ManufacturingNumber; + newMaintenance.ManufacturingUnit = maintenance.ManufacturingUnit; + newMaintenance.ManufacturingLicenseNumber = maintenance.ManufacturingLicenseNumber; + newMaintenance.EquipmentLocation = maintenance.EquipmentLocation; + newMaintenance.ConstructionDate = maintenance.ConstructionDate; + newMaintenance.ConstructionCategory = maintenance.ConstructionCategory; + newMaintenance.LicenseNumber = maintenance.LicenseNumber; + newMaintenance.LicenseValidityDate = maintenance.LicenseValidityDate; + newMaintenance.ConContactMan = maintenance.ConContactMan; + newMaintenance.ConTelephone = maintenance.ConTelephone; + newMaintenance.ConFax = maintenance.ConFax; + newMaintenance.ConAddress = maintenance.ConAddress; + newMaintenance.ConEmail = maintenance.ConEmail; + newMaintenance.UseUnit = maintenance.UseUnit; + newMaintenance.UseContactMan = maintenance.UseContactMan; + newMaintenance.UseTelephone = maintenance.UseTelephone; + newMaintenance.UseFax = maintenance.UseFax; + newMaintenance.UseAddress = maintenance.UseAddress; + newMaintenance.UseEmail = maintenance.UseEmail; + db.SubmitChanges(); + } + } + + /// + /// 根据主键删除特种设备安装改造维修告知书 + /// + /// + public static void DeleteSpecialEquipmentMaintenanceById(string maintenanceId) + { + SGGLDB db = Funs.DB; + Model.JGZL_SpecialEquipmentMaintenance maintenance = db.JGZL_SpecialEquipmentMaintenance.FirstOrDefault(e => e.MaintenanceId == maintenanceId); + if (maintenance != null) + { + db.JGZL_SpecialEquipmentMaintenance.DeleteOnSubmit(maintenance); + db.SubmitChanges(); + } + } + } +} 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..e55d813 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/特种设备安装改造维修告知书.frx @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj index 5e2fa72..1eb3e7f 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj @@ -1254,6 +1254,8 @@ + + @@ -6624,6 +6626,20 @@ QualifiedWelder.aspx + + SpecialEquipmentMaintenance.aspx + ASPXCodeBehind + + + SpecialEquipmentMaintenance.aspx + + + SpecialEquipmentMaintenanceEdit.aspx + ASPXCodeBehind + + + SpecialEquipmentMaintenanceEdit.aspx + Login.aspx ASPXCodeBehind diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user index 72b6a27..a1d9585 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -2,7 +2,7 @@ true - Debug|Any CPU + Release|Any CPU diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx new file mode 100644 index 0000000..7795c5e --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx @@ -0,0 +1,136 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SpecialEquipmentMaintenance.aspx.cs" Inherits="FineUIPro.Web.JGZL.SpecialEquipmentMaintenance" %> + + + + + + + 特种设备安装改造维修告知书 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.cs new file mode 100644 index 0000000..7f6f57f --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.cs @@ -0,0 +1,428 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Data.SqlClient; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.IO; + +namespace FineUIPro.Web.JGZL +{ + public partial class SpecialEquipmentMaintenance : PageBase + { + #region 加载页面 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString(); + + this.drpProjectId.DataTextField = "ProjectCode"; + this.drpProjectId.DataValueField = "ProjectId"; + this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1"); + this.drpProjectId.DataBind(); + Funs.FineUIPleaseSelect(this.drpProjectId); + + this.InitTreeMenu();//加载树 + } + } + #endregion + + #region 加载树项目 + /// + /// 加载树 + /// + private void InitTreeMenu() + { + this.tvControlItem.Nodes.Clear(); + TreeNode rootNode = new TreeNode(); + rootNode.Text = "项目"; + rootNode.ToolTip = "项目"; + rootNode.NodeID = "0"; + rootNode.Expanded = true; + this.tvControlItem.Nodes.Add(rootNode); + + List projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1"); + if (this.drpProjectId.SelectedValue != BLL.Const._Null) + { + projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList(); + } + foreach (var item in projects) + { + TreeNode rootProjectNode = new TreeNode();//定义根节点 + rootProjectNode.Text = item.ProjectCode; + rootProjectNode.NodeID = item.ProjectId; + rootProjectNode.EnableClickEvent = true; + rootProjectNode.Expanded = true; + rootProjectNode.ToolTip = item.ProjectName; + rootProjectNode.CommandName = "项目名称"; + rootNode.Nodes.Add(rootProjectNode); + } + } + #endregion + + #region 点击TreeView + /// + /// 点击TreeView + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + if (this.tvControlItem.SelectedNodeID != "0") + { + this.BindGrid(); + } + } + #endregion + + #region 数据绑定 + /// + /// 数据绑定 + /// + private void BindGrid() + { + //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1"); + string strSql = @"SELECT * from JGZL_SpecialEquipmentMaintenance where 1=1"; + List listStr = new List(); + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + strSql += " AND ProjectId = @ProjectId"; + listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID)); + } + //else + //{ + // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 "; + // listStr.Add(new SqlParameter("@ProjectId", projectIds)); + //} + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + // 2.获取当前分页数据 + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + #endregion + + #region 分页排序 + #region 页索引改变事件 + /// + /// 页索引改变事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + #endregion + + #region 排序 + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, GridSortEventArgs e) + { + BindGrid(); + } + #endregion + + #region 分页选择下拉改变事件 + /// + /// 分页选择下拉改变事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + #endregion + #endregion + + #region 查询 + /// + ///查询 + /// + /// + /// + protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e) + { + this.InitTreeMenu(); + } + + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 打印 + /// + /// 打印 + /// + /// + /// + protected void btnPrint_Click(object sender, EventArgs e) + { + string id = this.Grid1.SelectedRowID; + if (!string.IsNullOrEmpty(id)) + { + string initTemplatePath = ""; + string rootPath = Server.MapPath("~/"); + BLL.Common.FastReportService.ResetData(); + + var specialEquipmentMaintenance = BLL.SpecialEquipmentMaintenanceService.GetSpecialEquipmentMaintenance(id); + if (specialEquipmentMaintenance != null) + { + DataTable dt = new DataTable(); + dt.TableName = "Data"; + dt.Columns.Add("MaintenanceCode"); + dt.Columns.Add("ConUnit"); + dt.Columns.Add("EquipmentName"); + dt.Columns.Add("EquipmentModel"); + dt.Columns.Add("EquipmentCode"); + dt.Columns.Add("ManufacturingNumber"); + dt.Columns.Add("ManufacturingUnit"); + dt.Columns.Add("ManufacturingLicenseNumber"); + dt.Columns.Add("EquipmentLocation"); + dt.Columns.Add("ConstructionDate"); + dt.Columns.Add("ConstructionCategory"); + dt.Columns.Add("LicenseNumber"); + dt.Columns.Add("LicenseValidityDate"); + dt.Columns.Add("ConContactMan"); + dt.Columns.Add("ConTelephone"); + dt.Columns.Add("ConFax"); + dt.Columns.Add("ConAddress"); + dt.Columns.Add("ConEmail"); + dt.Columns.Add("UseUnit"); + dt.Columns.Add("UseContactMan"); + dt.Columns.Add("UseTelephone"); + dt.Columns.Add("UseFax"); + dt.Columns.Add("UseAddress"); + dt.Columns.Add("UseEmail"); + + var newRow = dt.NewRow(); + newRow["MaintenanceCode"] = specialEquipmentMaintenance.MaintenanceCode; + newRow["ConUnit"] = specialEquipmentMaintenance.ConUnit; + newRow["EquipmentName"] = specialEquipmentMaintenance.EquipmentName; + newRow["EquipmentModel"] = specialEquipmentMaintenance.EquipmentModel; + newRow["EquipmentCode"] = specialEquipmentMaintenance.EquipmentCode; + newRow["ManufacturingNumber"] = specialEquipmentMaintenance.ManufacturingNumber; + newRow["ManufacturingUnit"] = specialEquipmentMaintenance.ManufacturingUnit; + newRow["ManufacturingLicenseNumber"] = specialEquipmentMaintenance.ManufacturingLicenseNumber; + newRow["EquipmentLocation"] = specialEquipmentMaintenance.EquipmentLocation; + string constructionDate = string.Format("{0:yyyy年MM月dd}", specialEquipmentMaintenance.ConstructionDate); + newRow["ConstructionDate"] = constructionDate; + newRow["ConstructionCategory"] = specialEquipmentMaintenance.ConstructionCategory; + newRow["LicenseNumber"] = specialEquipmentMaintenance.LicenseNumber; + string licenseValidityDate = string.Format("{0:yyyy年MM月dd}", specialEquipmentMaintenance.LicenseValidityDate); + newRow["LicenseValidityDate"] = licenseValidityDate; + newRow["ConContactMan"] = specialEquipmentMaintenance.ConContactMan; + newRow["ConTelephone"] = specialEquipmentMaintenance.ConTelephone; + newRow["ConFax"] = specialEquipmentMaintenance.ConFax; + newRow["ConAddress"] = specialEquipmentMaintenance.ConAddress; + newRow["ConEmail"] = specialEquipmentMaintenance.ConEmail; + newRow["UseUnit"] = specialEquipmentMaintenance.UseUnit; + newRow["UseContactMan"] = specialEquipmentMaintenance.UseContactMan; + newRow["UseTelephone"] = specialEquipmentMaintenance.UseTelephone; + newRow["UseFax"] = specialEquipmentMaintenance.UseFax; + newRow["UseAddress"] = specialEquipmentMaintenance.UseAddress; + newRow["UseEmail"] = specialEquipmentMaintenance.UseEmail; + + dt.Rows.Add(newRow); + BLL.Common.FastReportService.AddFastreportTable(dt); + + Dictionary keyValuePairs = new Dictionary(); + //keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName); + BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs); + + initTemplatePath = "File\\Fastreport\\JGZL\\特种设备安装改造维修告知书.frx"; + if (File.Exists(rootPath + initTemplatePath)) + { + PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath))); + } + } + } + else + { + Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning); + return; + } + } + #endregion + + #region 维护 + /// + /// 增加 + /// + /// + /// + protected void btnAdd_Click(object sender, EventArgs e) + { + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - "))); + } + else + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + + /// + /// 双击编辑 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify)) + { + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + { + if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID)) + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", this.Grid1.SelectedRowID, "编辑 - "))); + } + else + { + Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning); + return; + } + } + else + { + Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning); + return; + } + } + else + { + ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + } + } + + /// + /// 右键编辑 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify)) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning); + return; + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", Grid1.SelectedRowID, "维护 - "))); + } + else + { + Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + } + } + + /// + /// 右键删除 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_SpecialEquipmentMaintenanceMenuId, Const.BtnDelete)) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning); + return; + } + + bool isShow = true; + if (Grid1.SelectedRowIndexArray.Length > 1) + { + isShow = false; + } + bool isDelete = false; + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + if (judgementDelete(rowID, isShow)) + { + isDelete = true; + BLL.SpecialEquipmentMaintenanceService.DeleteSpecialEquipmentMaintenanceById(rowID); + BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除特种设备安装改造维修告知书"); + } + } + if (isDelete) + { + ShowNotify("删除成功!", MessageBoxIcon.Success); + } + this.BindGrid(); + } + else + { + Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + } + } + + #region 判断是否可删除 + /// + /// 判断是否可以删除 + /// + /// + private bool judgementDelete(string id, bool isShow) + { + string content = string.Empty; + + if (string.IsNullOrEmpty(content)) + { + return true; + } + else + { + if (isShow) + { + Alert.ShowInTop(content, MessageBoxIcon.Error); + } + return false; + } + } + #endregion + #endregion + + #region 关闭弹出窗口及刷新页面 + /// + /// 关闭弹出窗口 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + this.InitTreeMenu();//加载树 + this.BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.designer.cs new file mode 100644 index 0000000..bde404a --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenance.aspx.designer.cs @@ -0,0 +1,206 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.JGZL +{ + + + public partial class SpecialEquipmentMaintenance + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProjectId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProjectId; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// panelCenterRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelCenterRegion; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// ToolbarFill1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnAdd 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAdd; + + /// + /// btnPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnPrint; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowPrint; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx new file mode 100644 index 0000000..6af17de --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx @@ -0,0 +1,108 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SpecialEquipmentMaintenanceEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.SpecialEquipmentMaintenanceEdit" %> + + + + + + + 编辑特种设备安装改造维修告知书 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.cs new file mode 100644 index 0000000..2b85789 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.cs @@ -0,0 +1,153 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.JGZL +{ + public partial class SpecialEquipmentMaintenanceEdit : PageBase + { + #region 定义项 + /// + /// 主键 + /// + private string MaintenanceId + { + get + { + return (string)ViewState["MaintenanceId"]; + } + set + { + ViewState["MaintenanceId"] = value; + } + } + + /// + /// 项目Id + /// + private string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + #endregion + + #region 加载页面 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = Request.Params["projectId"]; + this.MaintenanceId = Request.Params["maintenanceId"]; + if (!string.IsNullOrEmpty(this.MaintenanceId)) + { + var report = BLL.SpecialEquipmentMaintenanceService.GetSpecialEquipmentMaintenance(this.MaintenanceId); + if (report != null) + { + this.txtMaintenanceCode.Text = report.MaintenanceCode; + this.txtConUnit.Text = report.ConUnit; + this.txtEquipmentName.Text = report.EquipmentName; + this.txtEquipmentModel.Text = report.EquipmentModel; + this.txtEquipmentCode.Text = report.EquipmentCode; + this.txtManufacturingNumber.Text = report.ManufacturingNumber; + this.txtManufacturingUnit.Text = report.ManufacturingUnit; + this.txtManufacturingLicenseNumber.Text = report.ManufacturingLicenseNumber; + this.txtEquipmentLocation.Text = report.EquipmentLocation; + this.txtConstructionDate.Text = report.ConstructionDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.ConstructionDate) : ""; + this.drpConstructionCategory.SelectedValue = report.ConstructionCategory; + this.txtLicenseNumber.Text = report.LicenseNumber; + this.txtLicenseValidityDate.Text = report.LicenseValidityDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.LicenseValidityDate) : ""; + this.txtConContactMan.Text = report.ConContactMan; + this.txtConTelephone.Text = report.ConTelephone; + this.txtConFax.Text = report.ConFax; + this.txtConAddress.Text = report.ConAddress; + this.txtConEmail.Text = report.ConEmail; + this.txtUseUnit.Text = report.UseUnit; + this.txtUseContactMan.Text = report.UseContactMan; + this.txtUseTelephone.Text = report.UseTelephone; + this.txtUseFax.Text = report.UseFax; + this.txtUseAddress.Text = report.UseAddress; + this.txtUseEmail.Text = report.UseEmail; + } + } + } + } + #endregion + + #region 提交按钮 + /// + /// 提交按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_SpecialEquipmentMaintenanceMenuId, Const.BtnSave)) + { + Model.JGZL_SpecialEquipmentMaintenance newReport = new Model.JGZL_SpecialEquipmentMaintenance(); + newReport.MaintenanceCode = this.txtMaintenanceCode.Text.Trim(); + newReport.ConUnit = this.txtConUnit.Text.Trim(); + newReport.EquipmentName = this.txtEquipmentName.Text.Trim(); + newReport.EquipmentModel = this.txtEquipmentModel.Text.Trim(); + newReport.EquipmentCode = this.txtEquipmentCode.Text.Trim(); + newReport.ManufacturingNumber = this.txtManufacturingNumber.Text.Trim(); + newReport.ManufacturingUnit = this.txtManufacturingUnit.Text.Trim(); + newReport.ManufacturingLicenseNumber = this.txtManufacturingLicenseNumber.Text.Trim(); + newReport.EquipmentLocation = this.txtEquipmentLocation.Text.Trim(); + newReport.ConstructionDate = Funs.GetNewDateTime(this.txtConstructionDate.Text.Trim()); + newReport.ConstructionCategory = this.drpConstructionCategory.SelectedValue; + newReport.LicenseNumber = this.txtLicenseNumber.Text.Trim(); + newReport.LicenseValidityDate = Funs.GetNewDateTime(this.txtLicenseValidityDate.Text); + newReport.ConContactMan = this.txtConContactMan.Text.Trim(); + newReport.ConTelephone = this.txtConTelephone.Text.Trim(); + newReport.ConFax = this.txtConFax.Text.Trim(); + newReport.ConAddress = this.txtConAddress.Text.Trim(); + newReport.ConEmail = this.txtConEmail.Text.Trim(); + newReport.UseUnit = this.txtUseUnit.Text.Trim(); + newReport.UseContactMan = this.txtUseContactMan.Text.Trim(); + newReport.UseTelephone = this.txtUseTelephone.Text.Trim(); + newReport.UseFax = this.txtUseFax.Text.Trim(); + newReport.UseAddress = this.txtUseAddress.Text.Trim(); + newReport.UseEmail = this.txtUseEmail.Text.Trim(); + + if (!string.IsNullOrEmpty(this.MaintenanceId)) + { + newReport.MaintenanceId = this.MaintenanceId; + BLL.SpecialEquipmentMaintenanceService.UpdateSpecialEquipmentMaintenance(newReport); + } + else + { + newReport.ProjectId = this.ProjectId; + newReport.CompileMan = this.CurrUser.UserId; + newReport.CompileDate = DateTime.Now; + newReport.MaintenanceId = SQLHelper.GetNewID(typeof(Model.JGZL_SpecialEquipmentMaintenance)); + this.MaintenanceId = newReport.MaintenanceId; + BLL.SpecialEquipmentMaintenanceService.AddSpecialEquipmentMaintenance(newReport); + } + ShowNotify("保存成功!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + else + { + Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + return; + } + } + #endregion + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.designer.cs new file mode 100644 index 0000000..1020b1a --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/SpecialEquipmentMaintenanceEdit.aspx.designer.cs @@ -0,0 +1,287 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.JGZL +{ + + + public partial class SpecialEquipmentMaintenanceEdit + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// ToolbarFill1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnSave 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// txtMaintenanceCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtMaintenanceCode; + + /// + /// txtConUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConUnit; + + /// + /// txtEquipmentName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEquipmentName; + + /// + /// txtEquipmentModel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEquipmentModel; + + /// + /// txtEquipmentCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEquipmentCode; + + /// + /// txtManufacturingNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtManufacturingNumber; + + /// + /// txtManufacturingUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtManufacturingUnit; + + /// + /// txtManufacturingLicenseNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtManufacturingLicenseNumber; + + /// + /// txtEquipmentLocation 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEquipmentLocation; + + /// + /// txtConstructionDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtConstructionDate; + + /// + /// drpConstructionCategory 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpConstructionCategory; + + /// + /// txtLicenseNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLicenseNumber; + + /// + /// txtLicenseValidityDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtLicenseValidityDate; + + /// + /// txtConContactMan 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConContactMan; + + /// + /// txtConTelephone 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConTelephone; + + /// + /// txtConFax 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConFax; + + /// + /// txtConAddress 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConAddress; + + /// + /// txtConEmail 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConEmail; + + /// + /// txtUseUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseUnit; + + /// + /// txtUseContactMan 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseContactMan; + + /// + /// txtUseTelephone 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseTelephone; + + /// + /// txtUseFax 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseFax; + + /// + /// txtUseAddress 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseAddress; + + /// + /// txtUseEmail 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtUseEmail; + } +} diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config index 93f82b5..5c46a5b 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 412c44f..5cf7cfb 100644 --- a/HJGL_DS/Model/Model.cs +++ b/HJGL_DS/Model/Model.cs @@ -389,6 +389,9 @@ namespace Model partial void InsertJGZL_NDTPerson(JGZL_NDTPerson instance); partial void UpdateJGZL_NDTPerson(JGZL_NDTPerson instance); partial void DeleteJGZL_NDTPerson(JGZL_NDTPerson instance); + partial void InsertJGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance instance); + partial void UpdateJGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance instance); + partial void DeleteJGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance instance); partial void InsertOAM_UesrQualified(OAM_UesrQualified instance); partial void UpdateOAM_UesrQualified(OAM_UesrQualified instance); partial void DeleteOAM_UesrQualified(OAM_UesrQualified instance); @@ -1793,6 +1796,14 @@ namespace Model } } + public System.Data.Linq.Table JGZL_SpecialEquipmentMaintenance + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table OAM_UesrQualified { get @@ -2401,6 +2412,14 @@ namespace Model } } + public System.Data.Linq.Table View_WelderPerformance + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Weld_ProjectPlan { get @@ -4386,6 +4405,8 @@ namespace Model private EntitySet _JGZL_NDTPerson; + private EntitySet _JGZL_SpecialEquipmentMaintenance; + private EntitySet _Project_Installation; private EntitySet _Project_RoleButtonPower; @@ -4516,6 +4537,7 @@ namespace Model this._JGZL_Contact = new EntitySet(new Action(this.attach_JGZL_Contact), new Action(this.detach_JGZL_Contact)); this._JGZL_HandoverCertificate = new EntitySet(new Action(this.attach_JGZL_HandoverCertificate), new Action(this.detach_JGZL_HandoverCertificate)); this._JGZL_NDTPerson = new EntitySet(new Action(this.attach_JGZL_NDTPerson), new Action(this.detach_JGZL_NDTPerson)); + this._JGZL_SpecialEquipmentMaintenance = new EntitySet(new Action(this.attach_JGZL_SpecialEquipmentMaintenance), new Action(this.detach_JGZL_SpecialEquipmentMaintenance)); this._Project_Installation = new EntitySet(new Action(this.attach_Project_Installation), new Action(this.detach_Project_Installation)); this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower)); this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower)); @@ -5661,6 +5683,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_SpecialEquipmentMaintenance_Base_Project", Storage="_JGZL_SpecialEquipmentMaintenance", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet JGZL_SpecialEquipmentMaintenance + { + get + { + return this._JGZL_SpecialEquipmentMaintenance; + } + set + { + this._JGZL_SpecialEquipmentMaintenance.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Installation_Base_Project", Storage="_Project_Installation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet Project_Installation { @@ -6391,6 +6426,18 @@ namespace Model entity.Base_Project = null; } + private void attach_JGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_JGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_Project_Installation(Project_Installation entity) { this.SendPropertyChanging(); @@ -81899,6 +81946,798 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_SpecialEquipmentMaintenance")] + public partial class JGZL_SpecialEquipmentMaintenance : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _MaintenanceId; + + private string _ProjectId; + + private string _MaintenanceCode; + + private string _ConUnit; + + private string _EquipmentName; + + private string _EquipmentModel; + + private string _EquipmentCode; + + private string _ManufacturingNumber; + + private string _ManufacturingUnit; + + private string _ManufacturingLicenseNumber; + + private string _EquipmentLocation; + + private System.Nullable _ConstructionDate; + + private string _ConstructionCategory; + + private string _LicenseNumber; + + private System.Nullable _LicenseValidityDate; + + private string _ConContactMan; + + private string _ConTelephone; + + private string _ConFax; + + private string _ConAddress; + + private string _ConEmail; + + private string _UseUnit; + + private string _UseContactMan; + + private string _UseTelephone; + + private string _UseFax; + + private string _UseAddress; + + private string _UseEmail; + + private string _CompileMan; + + private System.Nullable _CompileDate; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnMaintenanceIdChanging(string value); + partial void OnMaintenanceIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnMaintenanceCodeChanging(string value); + partial void OnMaintenanceCodeChanged(); + partial void OnConUnitChanging(string value); + partial void OnConUnitChanged(); + partial void OnEquipmentNameChanging(string value); + partial void OnEquipmentNameChanged(); + partial void OnEquipmentModelChanging(string value); + partial void OnEquipmentModelChanged(); + partial void OnEquipmentCodeChanging(string value); + partial void OnEquipmentCodeChanged(); + partial void OnManufacturingNumberChanging(string value); + partial void OnManufacturingNumberChanged(); + partial void OnManufacturingUnitChanging(string value); + partial void OnManufacturingUnitChanged(); + partial void OnManufacturingLicenseNumberChanging(string value); + partial void OnManufacturingLicenseNumberChanged(); + partial void OnEquipmentLocationChanging(string value); + partial void OnEquipmentLocationChanged(); + partial void OnConstructionDateChanging(System.Nullable value); + partial void OnConstructionDateChanged(); + partial void OnConstructionCategoryChanging(string value); + partial void OnConstructionCategoryChanged(); + partial void OnLicenseNumberChanging(string value); + partial void OnLicenseNumberChanged(); + partial void OnLicenseValidityDateChanging(System.Nullable value); + partial void OnLicenseValidityDateChanged(); + partial void OnConContactManChanging(string value); + partial void OnConContactManChanged(); + partial void OnConTelephoneChanging(string value); + partial void OnConTelephoneChanged(); + partial void OnConFaxChanging(string value); + partial void OnConFaxChanged(); + partial void OnConAddressChanging(string value); + partial void OnConAddressChanged(); + partial void OnConEmailChanging(string value); + partial void OnConEmailChanged(); + partial void OnUseUnitChanging(string value); + partial void OnUseUnitChanged(); + partial void OnUseContactManChanging(string value); + partial void OnUseContactManChanged(); + partial void OnUseTelephoneChanging(string value); + partial void OnUseTelephoneChanged(); + partial void OnUseFaxChanging(string value); + partial void OnUseFaxChanged(); + partial void OnUseAddressChanging(string value); + partial void OnUseAddressChanged(); + partial void OnUseEmailChanging(string value); + partial void OnUseEmailChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + #endregion + + public JGZL_SpecialEquipmentMaintenance() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaintenanceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string MaintenanceId + { + get + { + return this._MaintenanceId; + } + set + { + if ((this._MaintenanceId != value)) + { + this.OnMaintenanceIdChanging(value); + this.SendPropertyChanging(); + this._MaintenanceId = value; + this.SendPropertyChanged("MaintenanceId"); + this.OnMaintenanceIdChanged(); + } + } + } + + [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="_MaintenanceCode", DbType="NVarChar(50)")] + public string MaintenanceCode + { + get + { + return this._MaintenanceCode; + } + set + { + if ((this._MaintenanceCode != value)) + { + this.OnMaintenanceCodeChanging(value); + this.SendPropertyChanging(); + this._MaintenanceCode = value; + this.SendPropertyChanged("MaintenanceCode"); + this.OnMaintenanceCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConUnit", DbType="NVarChar(50)")] + public string ConUnit + { + get + { + return this._ConUnit; + } + set + { + if ((this._ConUnit != value)) + { + this.OnConUnitChanging(value); + this.SendPropertyChanging(); + this._ConUnit = value; + this.SendPropertyChanged("ConUnit"); + this.OnConUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(50)")] + public string EquipmentName + { + get + { + return this._EquipmentName; + } + set + { + if ((this._EquipmentName != value)) + { + this.OnEquipmentNameChanging(value); + this.SendPropertyChanging(); + this._EquipmentName = value; + this.SendPropertyChanged("EquipmentName"); + this.OnEquipmentNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentModel", DbType="NVarChar(50)")] + public string EquipmentModel + { + get + { + return this._EquipmentModel; + } + set + { + if ((this._EquipmentModel != value)) + { + this.OnEquipmentModelChanging(value); + this.SendPropertyChanging(); + this._EquipmentModel = value; + this.SendPropertyChanged("EquipmentModel"); + this.OnEquipmentModelChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentCode", DbType="NVarChar(50)")] + public string EquipmentCode + { + get + { + return this._EquipmentCode; + } + set + { + if ((this._EquipmentCode != value)) + { + this.OnEquipmentCodeChanging(value); + this.SendPropertyChanging(); + this._EquipmentCode = value; + this.SendPropertyChanged("EquipmentCode"); + this.OnEquipmentCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManufacturingNumber", DbType="NVarChar(50)")] + public string ManufacturingNumber + { + get + { + return this._ManufacturingNumber; + } + set + { + if ((this._ManufacturingNumber != value)) + { + this.OnManufacturingNumberChanging(value); + this.SendPropertyChanging(); + this._ManufacturingNumber = value; + this.SendPropertyChanged("ManufacturingNumber"); + this.OnManufacturingNumberChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManufacturingUnit", DbType="NVarChar(50)")] + public string ManufacturingUnit + { + get + { + return this._ManufacturingUnit; + } + set + { + if ((this._ManufacturingUnit != value)) + { + this.OnManufacturingUnitChanging(value); + this.SendPropertyChanging(); + this._ManufacturingUnit = value; + this.SendPropertyChanged("ManufacturingUnit"); + this.OnManufacturingUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManufacturingLicenseNumber", DbType="NVarChar(50)")] + public string ManufacturingLicenseNumber + { + get + { + return this._ManufacturingLicenseNumber; + } + set + { + if ((this._ManufacturingLicenseNumber != value)) + { + this.OnManufacturingLicenseNumberChanging(value); + this.SendPropertyChanging(); + this._ManufacturingLicenseNumber = value; + this.SendPropertyChanged("ManufacturingLicenseNumber"); + this.OnManufacturingLicenseNumberChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentLocation", DbType="NVarChar(50)")] + public string EquipmentLocation + { + get + { + return this._EquipmentLocation; + } + set + { + if ((this._EquipmentLocation != value)) + { + this.OnEquipmentLocationChanging(value); + this.SendPropertyChanging(); + this._EquipmentLocation = value; + this.SendPropertyChanged("EquipmentLocation"); + this.OnEquipmentLocationChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionDate", DbType="DateTime")] + public System.Nullable ConstructionDate + { + get + { + return this._ConstructionDate; + } + set + { + if ((this._ConstructionDate != value)) + { + this.OnConstructionDateChanging(value); + this.SendPropertyChanging(); + this._ConstructionDate = value; + this.SendPropertyChanged("ConstructionDate"); + this.OnConstructionDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionCategory", DbType="NVarChar(50)")] + public string ConstructionCategory + { + get + { + return this._ConstructionCategory; + } + set + { + if ((this._ConstructionCategory != value)) + { + this.OnConstructionCategoryChanging(value); + this.SendPropertyChanging(); + this._ConstructionCategory = value; + this.SendPropertyChanged("ConstructionCategory"); + this.OnConstructionCategoryChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LicenseNumber", DbType="NVarChar(50)")] + public string LicenseNumber + { + get + { + return this._LicenseNumber; + } + set + { + if ((this._LicenseNumber != value)) + { + this.OnLicenseNumberChanging(value); + this.SendPropertyChanging(); + this._LicenseNumber = value; + this.SendPropertyChanged("LicenseNumber"); + this.OnLicenseNumberChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LicenseValidityDate", DbType="DateTime")] + public System.Nullable LicenseValidityDate + { + get + { + return this._LicenseValidityDate; + } + set + { + if ((this._LicenseValidityDate != value)) + { + this.OnLicenseValidityDateChanging(value); + this.SendPropertyChanging(); + this._LicenseValidityDate = value; + this.SendPropertyChanged("LicenseValidityDate"); + this.OnLicenseValidityDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConContactMan", DbType="NVarChar(50)")] + public string ConContactMan + { + get + { + return this._ConContactMan; + } + set + { + if ((this._ConContactMan != value)) + { + this.OnConContactManChanging(value); + this.SendPropertyChanging(); + this._ConContactMan = value; + this.SendPropertyChanged("ConContactMan"); + this.OnConContactManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConTelephone", DbType="NVarChar(50)")] + public string ConTelephone + { + get + { + return this._ConTelephone; + } + set + { + if ((this._ConTelephone != value)) + { + this.OnConTelephoneChanging(value); + this.SendPropertyChanging(); + this._ConTelephone = value; + this.SendPropertyChanged("ConTelephone"); + this.OnConTelephoneChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConFax", DbType="NVarChar(50)")] + public string ConFax + { + get + { + return this._ConFax; + } + set + { + if ((this._ConFax != value)) + { + this.OnConFaxChanging(value); + this.SendPropertyChanging(); + this._ConFax = value; + this.SendPropertyChanged("ConFax"); + this.OnConFaxChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConAddress", DbType="NVarChar(50)")] + public string ConAddress + { + get + { + return this._ConAddress; + } + set + { + if ((this._ConAddress != value)) + { + this.OnConAddressChanging(value); + this.SendPropertyChanging(); + this._ConAddress = value; + this.SendPropertyChanged("ConAddress"); + this.OnConAddressChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConEmail", DbType="NVarChar(50)")] + public string ConEmail + { + get + { + return this._ConEmail; + } + set + { + if ((this._ConEmail != value)) + { + this.OnConEmailChanging(value); + this.SendPropertyChanging(); + this._ConEmail = value; + this.SendPropertyChanged("ConEmail"); + this.OnConEmailChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseUnit", DbType="NVarChar(50)")] + public string UseUnit + { + get + { + return this._UseUnit; + } + set + { + if ((this._UseUnit != value)) + { + this.OnUseUnitChanging(value); + this.SendPropertyChanging(); + this._UseUnit = value; + this.SendPropertyChanged("UseUnit"); + this.OnUseUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseContactMan", DbType="NVarChar(50)")] + public string UseContactMan + { + get + { + return this._UseContactMan; + } + set + { + if ((this._UseContactMan != value)) + { + this.OnUseContactManChanging(value); + this.SendPropertyChanging(); + this._UseContactMan = value; + this.SendPropertyChanged("UseContactMan"); + this.OnUseContactManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseTelephone", DbType="NVarChar(50)")] + public string UseTelephone + { + get + { + return this._UseTelephone; + } + set + { + if ((this._UseTelephone != value)) + { + this.OnUseTelephoneChanging(value); + this.SendPropertyChanging(); + this._UseTelephone = value; + this.SendPropertyChanged("UseTelephone"); + this.OnUseTelephoneChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseFax", DbType="NVarChar(50)")] + public string UseFax + { + get + { + return this._UseFax; + } + set + { + if ((this._UseFax != value)) + { + this.OnUseFaxChanging(value); + this.SendPropertyChanging(); + this._UseFax = value; + this.SendPropertyChanged("UseFax"); + this.OnUseFaxChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseAddress", DbType="NVarChar(50)")] + public string UseAddress + { + get + { + return this._UseAddress; + } + set + { + if ((this._UseAddress != value)) + { + this.OnUseAddressChanging(value); + this.SendPropertyChanging(); + this._UseAddress = value; + this.SendPropertyChanged("UseAddress"); + this.OnUseAddressChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseEmail", DbType="NVarChar(50)")] + public string UseEmail + { + get + { + return this._UseEmail; + } + set + { + if ((this._UseEmail != value)) + { + this.OnUseEmailChanging(value); + this.SendPropertyChanging(); + this._UseEmail = value; + this.SendPropertyChanged("UseEmail"); + this.OnUseEmailChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable CompileDate + { + get + { + return this._CompileDate; + } + set + { + if ((this._CompileDate != value)) + { + this.OnCompileDateChanging(value); + this.SendPropertyChanging(); + this._CompileDate = value; + this.SendPropertyChanged("CompileDate"); + this.OnCompileDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_SpecialEquipmentMaintenance_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_SpecialEquipmentMaintenance.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.JGZL_SpecialEquipmentMaintenance.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_SpecialEquipmentMaintenance_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.JGZL_SpecialEquipmentMaintenance.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.JGZL_SpecialEquipmentMaintenance.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OAM_UesrQualified")] public partial class OAM_UesrQualified : INotifyPropertyChanging, INotifyPropertyChanged { @@ -103360,6 +104199,8 @@ namespace Model private EntitySet _JGZL_NDTPerson; + private EntitySet _JGZL_SpecialEquipmentMaintenance; + private EntitySet _Project_User; private EntitySet _Project_UserButtonPower; @@ -103447,6 +104288,7 @@ namespace Model this._JGZL_Contact = new EntitySet(new Action(this.attach_JGZL_Contact), new Action(this.detach_JGZL_Contact)); this._JGZL_HandoverCertificate = new EntitySet(new Action(this.attach_JGZL_HandoverCertificate), new Action(this.detach_JGZL_HandoverCertificate)); this._JGZL_NDTPerson = new EntitySet(new Action(this.attach_JGZL_NDTPerson), new Action(this.detach_JGZL_NDTPerson)); + this._JGZL_SpecialEquipmentMaintenance = new EntitySet(new Action(this.attach_JGZL_SpecialEquipmentMaintenance), new Action(this.detach_JGZL_SpecialEquipmentMaintenance)); this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User)); this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower)); this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower)); @@ -104163,6 +105005,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_SpecialEquipmentMaintenance_Sys_User", Storage="_JGZL_SpecialEquipmentMaintenance", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet JGZL_SpecialEquipmentMaintenance + { + get + { + return this._JGZL_SpecialEquipmentMaintenance; + } + set + { + this._JGZL_SpecialEquipmentMaintenance.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_User", Storage="_Project_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] public EntitySet Project_User { @@ -104602,6 +105457,18 @@ namespace Model entity.Sys_User = null; } + private void attach_JGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_JGZL_SpecialEquipmentMaintenance(JGZL_SpecialEquipmentMaintenance entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + private void attach_Project_User(Project_User entity) { this.SendPropertyChanging(); @@ -112033,6 +112900,375 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_WelderPerformance")] + public partial class View_WelderPerformance + { + + private System.Nullable _Id; + + private string _ProjectCode; + + private string _Welder; + + private string _Wed_code; + + private string _Wed_name; + + private string _WED_Sex; + + private System.Nullable _TotalSize; + + private int _TotalJoint; + + private int _JointNum1; + + private System.Nullable _JointPassNum1; + + private int _RepairJoint1; + + private int _RepairJoint2; + + private int _RepairJoint3; + + private System.Nullable _JointPassRate; + + private int _Totalfilm; + + private System.Nullable _TotalPassfilm; + + private int _RepairFilm1; + + private int _RepairFilm2; + + private int _RepairFilm3; + + private System.Nullable _JointFilmPassRate; + + public View_WelderPerformance() + { + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier")] + public System.Nullable Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this._Id = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="VarChar(1) NOT NULL", CanBeNull=false)] + public string ProjectCode + { + get + { + return this._ProjectCode; + } + set + { + if ((this._ProjectCode != value)) + { + this._ProjectCode = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Welder", DbType="NVarChar(50)")] + public string Welder + { + get + { + return this._Welder; + } + set + { + if ((this._Welder != value)) + { + this._Welder = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="wed_code", Storage="_Wed_code", DbType="VarChar(20)")] + public string Wed_code + { + get + { + return this._Wed_code; + } + set + { + if ((this._Wed_code != value)) + { + this._Wed_code = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="wed_name", Storage="_Wed_name", DbType="VarChar(40)")] + public string Wed_name + { + get + { + return this._Wed_name; + } + set + { + if ((this._Wed_name != value)) + { + this._Wed_name = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Sex", DbType="Char(1)")] + public string WED_Sex + { + get + { + return this._WED_Sex; + } + set + { + if ((this._WED_Sex != value)) + { + this._WED_Sex = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalSize", Storage="_TotalSize", DbType="Decimal(19,2)")] + public System.Nullable TotalSize + { + get + { + return this._TotalSize; + } + set + { + if ((this._TotalSize != value)) + { + this._TotalSize = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalJoint", Storage="_TotalJoint", DbType="Int NOT NULL")] + public int TotalJoint + { + get + { + return this._TotalJoint; + } + set + { + if ((this._TotalJoint != value)) + { + this._TotalJoint = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointNum1", DbType="Int NOT NULL")] + public int JointNum1 + { + get + { + return this._JointNum1; + } + set + { + if ((this._JointNum1 != value)) + { + this._JointNum1 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointPassNum1", DbType="Int")] + public System.Nullable JointPassNum1 + { + get + { + return this._JointPassNum1; + } + set + { + if ((this._JointPassNum1 != value)) + { + this._JointPassNum1 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint1", DbType="Int NOT NULL")] + public int RepairJoint1 + { + get + { + return this._RepairJoint1; + } + set + { + if ((this._RepairJoint1 != value)) + { + this._RepairJoint1 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint2", DbType="Int NOT NULL")] + public int RepairJoint2 + { + get + { + return this._RepairJoint2; + } + set + { + if ((this._RepairJoint2 != value)) + { + this._RepairJoint2 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJoint3", DbType="Int NOT NULL")] + public int RepairJoint3 + { + get + { + return this._RepairJoint3; + } + set + { + if ((this._RepairJoint3 != value)) + { + this._RepairJoint3 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointPassRate", DbType="Decimal(19,3)")] + public System.Nullable JointPassRate + { + get + { + return this._JointPassRate; + } + set + { + if ((this._JointPassRate != value)) + { + this._JointPassRate = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalfilm", Storage="_Totalfilm", DbType="Int NOT NULL")] + public int Totalfilm + { + get + { + return this._Totalfilm; + } + set + { + if ((this._Totalfilm != value)) + { + this._Totalfilm = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="totalPassfilm", Storage="_TotalPassfilm", DbType="Int")] + public System.Nullable TotalPassfilm + { + get + { + return this._TotalPassfilm; + } + set + { + if ((this._TotalPassfilm != value)) + { + this._TotalPassfilm = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm1", Storage="_RepairFilm1", DbType="Int NOT NULL")] + public int RepairFilm1 + { + get + { + return this._RepairFilm1; + } + set + { + if ((this._RepairFilm1 != value)) + { + this._RepairFilm1 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm2", Storage="_RepairFilm2", DbType="Int NOT NULL")] + public int RepairFilm2 + { + get + { + return this._RepairFilm2; + } + set + { + if ((this._RepairFilm2 != value)) + { + this._RepairFilm2 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="repairFilm3", Storage="_RepairFilm3", DbType="Int NOT NULL")] + public int RepairFilm3 + { + get + { + return this._RepairFilm3; + } + set + { + if ((this._RepairFilm3 != value)) + { + this._RepairFilm3 = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointFilmPassRate", DbType="Decimal(19,3)")] + public System.Nullable JointFilmPassRate + { + get + { + return this._JointFilmPassRate; + } + set + { + if ((this._JointFilmPassRate != value)) + { + this._JointFilmPassRate = value; + } + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_ProjectPlan")] public partial class Weld_ProjectPlan : INotifyPropertyChanging, INotifyPropertyChanged { diff --git a/HJGL_DS/WebAPI/WebAPI.csproj.user b/HJGL_DS/WebAPI/WebAPI.csproj.user index a48b337..28be9c4 100644 --- a/HJGL_DS/WebAPI/WebAPI.csproj.user +++ b/HJGL_DS/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU FolderProfile true