diff --git a/DataBase/版本日志/SGGLDB_WH_2024-01-22.sql b/DataBase/版本日志/SGGLDB_WH_2024-01-22.sql new file mode 100644 index 00000000..42e63c04 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_2024-01-22.sql @@ -0,0 +1,164 @@ +--Աѵ +update Sys_Menu set IsUsed=0 where MenuId='EF77BB1F-543B-4BBC-BE8C-FACF2987A13C'--ѵƻ +update Sys_Menu set IsUsed=0 where MenuId='F8E83DBF-7171-4108-81A7-3DB8D10FBFDE'--ѵ +update Sys_Menu set IsUsed=0 where MenuId='600AB952-4DC0-4E6D-8C6F-B7B7B9FE589E'--ѵ +go + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('C8AD8E40-0E96-4007-A02F-62DDB0B275D5','Աѵ¼',null,'TestRun/PersonTrain/PersonTrainPlan.aspx',40,'4C973259-234C-4540-9F6A-161ED93BE79B','Menu_TestRun',0,1,1) +GO + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('5524601D-945F-4661-BCF7-B09513B8C556','C8AD8E40-0E96-4007-A02F-62DDB0B275D5','',1) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('5933AE90-96B3-4495-9F51-E30E9883CA94','C8AD8E40-0E96-4007-A02F-62DDB0B275D5','޸',2) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('C6A17B4D-245F-44CB-8B2D-CE16FB43A3E6','C8AD8E40-0E96-4007-A02F-62DDB0B275D5','ɾ',3) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('78390E56-0AA1-4C0E-8A40-1B2A6F182899','C8AD8E40-0E96-4007-A02F-62DDB0B275D5','',4) + go + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('586035BF-A2D4-4199-A503-0ACACBFA5A13','ѵͬ',null,'TestRun/PersonTrain/TrainContract.aspx',50,'4C973259-234C-4540-9F6A-161ED93BE79B','Menu_TestRun',0,1,1) +GO + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('A63A963C-98C0-497A-96AD-AEEFFF7BBD3F','586035BF-A2D4-4199-A503-0ACACBFA5A13','',1) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('21CB68FB-C11E-4A55-BAE2-8606E75C4470','586035BF-A2D4-4199-A503-0ACACBFA5A13','޸',2) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('F7386C76-9593-47DC-9CCB-FBFD2D468C5E','586035BF-A2D4-4199-A503-0ACACBFA5A13','ɾ',3) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('3D322716-2C46-478E-B6D5-44213EEF8643','586035BF-A2D4-4199-A503-0ACACBFA5A13','',4) + go + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('80FDE614-1A37-4C1F-B818-C179CA97D66C','ѵ¼ִб',null,'TestRun/PersonTrain/TrainRecords.aspx',60,'4C973259-234C-4540-9F6A-161ED93BE79B','Menu_TestRun',0,1,1) +GO + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('E15106AE-2780-4B2B-8D90-A4D8FB77C3D1','80FDE614-1A37-4C1F-B818-C179CA97D66C','',1) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('9720ECCC-42D8-4B46-BEFF-06677B379150','80FDE614-1A37-4C1F-B818-C179CA97D66C','޸',2) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('56400A8A-2F8C-4DA2-B108-72CCD9FF7BB7','80FDE614-1A37-4C1F-B818-C179CA97D66C','ɾ',3) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('49723355-EF7F-4AE3-8A9B-0C1325FF3934','80FDE614-1A37-4C1F-B818-C179CA97D66C','',4) + go + + +CREATE TABLE [dbo].[TestRun_TrainRecords]( + [TrainRecordsId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [TrainRecordsCode] [nvarchar](50) NULL, + [TrainRecordsName] [nvarchar](50) NULL, + [UploadDate] [datetime] NULL, + [CompileMan] [nvarchar](50) NULL, + [CompileDate] [datetime] NULL, + [Remark] [nvarchar](500) NULL, + [AttachUrl] [nvarchar](500) NULL, + CONSTRAINT [PK_TestRun_TrainRecords] PRIMARY KEY CLUSTERED +( + [TrainRecordsId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[TestRun_TrainRecords] WITH CHECK ADD CONSTRAINT [FK_TestRun_TrainRecords_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[TestRun_TrainRecords] CHECK CONSTRAINT [FK_TestRun_TrainRecords_Base_Project] +GO + +ALTER TABLE [dbo].[TestRun_TrainRecords] WITH CHECK ADD CONSTRAINT [FK_TestRun_TrainRecords_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +GO + +ALTER TABLE [dbo].[TestRun_TrainRecords] CHECK CONSTRAINT [FK_TestRun_TrainRecords_Sys_User] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_TrainRecords', @level2type=N'COLUMN',@level2name=N'TrainRecordsId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_TrainRecords', @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'TestRun_TrainRecords', @level2type=N'COLUMN',@level2name=N'TrainRecordsCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_TrainRecords', @level2type=N'COLUMN',@level2name=N'TrainRecordsName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϴʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_TrainRecords', @level2type=N'COLUMN',@level2name=N'UploadDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_TrainRecords', @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'TestRun_TrainRecords', @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'TestRun_TrainRecords', @level2type=N'COLUMN',@level2name=N'Remark' +GO + + + +CREATE TABLE [dbo].[TestRun_PersonTrainPlan]( + [PersonTrainPlanId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [TrainType] [nvarchar](50) NULL, + [Purpose] [nvarchar](50) NULL, + [TrainingContent] [nvarchar](200) NULL, + [TrainingAddress] [nvarchar](50) NULL, + [TrainingDate] [datetime] NULL, + [TrainingPersonNum] [nvarchar](100) NULL, + [TrainingHours] [decimal](18, 1) NULL, + [TrainingManager] [nvarchar](50) NULL, + [TrainingTeacher] [nvarchar](50) NULL, + [AssessmentMethod] [nvarchar](50) NULL, + CONSTRAINT [PK_TestRun_PersonTrainPlan] PRIMARY KEY CLUSTERED +( + [PersonTrainPlanId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[TestRun_PersonTrainPlan] WITH CHECK ADD CONSTRAINT [FK_TestRun_PersonTrainPlan_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[TestRun_PersonTrainPlan] CHECK CONSTRAINT [FK_TestRun_PersonTrainPlan_Base_Project] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'PersonTrainPlanId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀid' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'ProjectId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵͣ1-칫ѵ2-쳧ѵ3-ͬװòѵ4-ͬװֳѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainType' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵĿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'Purpose' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingContent' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵص' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingAddress' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵѧʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingHours' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingManager' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѵʦ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'TrainingTeacher' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˷ʽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TestRun_PersonTrainPlan', @level2type=N'COLUMN',@level2name=N'AssessmentMethod' +GO + + diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 70ed765f..e884d9f1 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -752,8 +752,10 @@ + + diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index 95863f08..0cd4c689 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace BLL { @@ -3186,10 +3184,16 @@ namespace BLL /// 开车方案编制计划模板文件原始虚拟路径 /// public const string SchemePlanTemplateUrl = "File\\Excel\\TestRun\\开车方案编制计划.xlsx"; + /// - /// 开车责任分工表模板文件原始虚拟路径 + /// 培训报告 /// - public const string DutyTemplateUrl = "File\\Excel\\TestRun\\开车责任分工表.xlsx"; + public const string TestRun_TrainRecordsUrl = "File\\Word\\TestRun\\生产人员培训执行情况报告.doc"; + + /// + /// 签到表 + /// + public const string TestRun_SignUrl = "File\\Word\\TestRun\\项目培训签到表.doc"; #endregion #region 绩效考核模板文件路径 @@ -5111,6 +5115,21 @@ namespace BLL /// public const string TrainContentMenuId = "600AB952-4DC0-4E6D-8C6F-B7B7B9FE589E"; + /// + /// 人员培训记录 + /// + public const string PersonTrainPlanMenuId = "C8AD8E40-0E96-4007-A02F-62DDB0B275D5"; + + /// + /// 培训合同 + /// + public const string TrainContractMenuId = "586035BF-A2D4-4199-A503-0ACACBFA5A13"; + + /// + /// 培训记录及执行报告 + /// + public const string TrainRecordsMenuId = "80FDE614-1A37-4C1F-B818-C179CA97D66C"; + /// /// 开车分包计划 /// diff --git a/SGGL/BLL/DropListService.cs b/SGGL/BLL/DropListService.cs index b395bbec..8b23e163 100644 --- a/SGGL/BLL/DropListService.cs +++ b/SGGL/BLL/DropListService.cs @@ -233,6 +233,21 @@ return list; } + /// + /// 试车管理:培训类型 + /// + /// + public static ListItem[] drpTrainTypeList() + { + ListItem[] list = new ListItem[4]; + list[0] = new ListItem("办公室理论培训", "1"); + list[1] = new ListItem("制造厂车间培训", "2"); + list[2] = new ListItem("同类型装置操作培训", "3"); + list[3] = new ListItem("合同装置现场培训", "4"); + return list; + } + + // 定义允许上传的文件类型列表 public static List allowExtensions = new List { diff --git a/SGGL/BLL/TestRun/PersonTrain/PersonTrainPlanService.cs b/SGGL/BLL/TestRun/PersonTrain/PersonTrainPlanService.cs new file mode 100644 index 00000000..b56cf7a5 --- /dev/null +++ b/SGGL/BLL/TestRun/PersonTrain/PersonTrainPlanService.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 人员培训计划 + /// + public class PersonTrainPlanService + { + /// + /// 根据主键获取人员培训计划 + /// + /// + /// + public static Model.TestRun_PersonTrainPlan GetPersonTrainPlanById(string personTrainPlanId) + { + return Funs.DB.TestRun_PersonTrainPlan.FirstOrDefault(e => e.PersonTrainPlanId == personTrainPlanId); + } + + /// + /// 添加人员培训计划 + /// + /// + public static void AddPersonTrainPlan(Model.TestRun_PersonTrainPlan plan) + { + Model.TestRun_PersonTrainPlan newPlan = new Model.TestRun_PersonTrainPlan + { + PersonTrainPlanId = plan.PersonTrainPlanId, + ProjectId = plan.ProjectId, + TrainType = plan.TrainType, + Purpose = plan.Purpose, + TrainingContent = plan.TrainingContent, + TrainingAddress = plan.TrainingAddress, + TrainingDate = plan.TrainingDate, + TrainingPersonNum = plan.TrainingPersonNum, + TrainingHours = plan.TrainingHours, + TrainingManager = plan.TrainingManager, + TrainingTeacher = plan.TrainingTeacher, + AssessmentMethod = plan.AssessmentMethod + }; + Funs.DB.TestRun_PersonTrainPlan.InsertOnSubmit(newPlan); + Funs.DB.SubmitChanges(); + } + + /// + /// 修改人员培训计划 + /// + /// + public static void UpdatePersonTrainPlan(Model.TestRun_PersonTrainPlan plan) + { + Model.TestRun_PersonTrainPlan newPlan = Funs.DB.TestRun_PersonTrainPlan.FirstOrDefault(e => e.PersonTrainPlanId == plan.PersonTrainPlanId); + if (newPlan != null) + { + newPlan.TrainType = plan.TrainType; + newPlan.Purpose = plan.Purpose; + newPlan.TrainingContent = plan.TrainingContent; + newPlan.TrainingAddress = plan.TrainingAddress; + newPlan.TrainingDate = plan.TrainingDate; + newPlan.TrainingPersonNum = plan.TrainingPersonNum; + newPlan.TrainingHours = plan.TrainingHours; + newPlan.TrainingManager = plan.TrainingManager; + newPlan.TrainingTeacher = plan.TrainingTeacher; + newPlan.AssessmentMethod = plan.AssessmentMethod; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 根据主键删除人员培训计划 + /// + /// + public static void DeletePersonTrainPlanById(string personTrainPlanId) + { + Model.TestRun_PersonTrainPlan newPlan = Funs.DB.TestRun_PersonTrainPlan.FirstOrDefault(e => e.PersonTrainPlanId == personTrainPlanId); + if (newPlan != null) + { + CommonService.DeleteAttachFileById(newPlan.PersonTrainPlanId);//删除附件 + Funs.DB.TestRun_PersonTrainPlan.DeleteOnSubmit(newPlan); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/TestRun/PersonTrain/TrainRecordsService.cs b/SGGL/BLL/TestRun/PersonTrain/TrainRecordsService.cs new file mode 100644 index 00000000..951a7c51 --- /dev/null +++ b/SGGL/BLL/TestRun/PersonTrain/TrainRecordsService.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 培训记录及执行报告 + /// + public class TrainRecordsService + { + /// + /// 根据主键获取培训记录及执行报告 + /// + /// + /// + public static Model.TestRun_TrainRecords GetTrainRecordsById(string trainRecordsId) + { + return Funs.DB.TestRun_TrainRecords.FirstOrDefault(e => e.TrainRecordsId == trainRecordsId); + } + + /// + /// 添加培训记录及执行报告 + /// + /// + public static void AddTrainRecords(Model.TestRun_TrainRecords trainRecords) + { + Model.TestRun_TrainRecords newTrainRecords = new Model.TestRun_TrainRecords + { + TrainRecordsId = trainRecords.TrainRecordsId, + ProjectId = trainRecords.ProjectId, + TrainRecordsCode = trainRecords.TrainRecordsCode, + TrainRecordsName = trainRecords.TrainRecordsName, + UploadDate = trainRecords.UploadDate, + CompileMan = trainRecords.CompileMan, + CompileDate = trainRecords.CompileDate, + Remark = trainRecords.Remark + }; + Funs.DB.TestRun_TrainRecords.InsertOnSubmit(newTrainRecords); + Funs.DB.SubmitChanges(); + } + + /// + /// 修改培训记录及执行报告 + /// + /// + public static void UpdateTrainRecords(Model.TestRun_TrainRecords trainRecords) + { + Model.TestRun_TrainRecords newTrainRecords = Funs.DB.TestRun_TrainRecords.FirstOrDefault(e => e.TrainRecordsId == trainRecords.TrainRecordsId); + if (newTrainRecords != null) + { + newTrainRecords.TrainRecordsCode = trainRecords.TrainRecordsCode; + newTrainRecords.TrainRecordsName = trainRecords.TrainRecordsName; + newTrainRecords.UploadDate = trainRecords.UploadDate; + newTrainRecords.CompileMan = trainRecords.CompileMan; + newTrainRecords.CompileDate = trainRecords.CompileDate; + newTrainRecords.Remark = trainRecords.Remark; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 根据主键删除培训记录及执行报告 + /// + /// + public static void DeleteTrainRecordsById(string trainRecordId) + { + Model.TestRun_TrainRecords newTrainRecords = Funs.DB.TestRun_TrainRecords.FirstOrDefault(e => e.TrainRecordsId == trainRecordId); + if (newTrainRecords != null) + { + CommonService.DeleteAttachFileById(trainRecordId);//删除附件 + Funs.DB.TestRun_TrainRecords.DeleteOnSubmit(newTrainRecords); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index c0c6b942..e69de29b 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1,19 +0,0 @@ - -错误信息开始=====> -错误类型:NullReferenceException -错误信息:未将对象引用设置到对象的实例。 -错误堆栈: - 在 FineUIPro.Web.TestRun.DriverPrepare.SchemePlan.btnOut_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\TestRun\DriverPrepare\SchemePlan.aspx.cs:行号 230 - 在 FineUIPro.Button.OnClick(EventArgs e) - 在 (Button , EventArgs ) - 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) - 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:01/17/2024 15:45:21 -出错文件:http://localhost:8579/TestRun/DriverPrepare/SchemePlan.aspx -IP地址:::1 -操作人员:JT - -出错时间:01/17/2024 15:45:21 - diff --git a/SGGL/FineUIPro.Web/File/Word/TestRun/生产人员培训执行情况报告.doc b/SGGL/FineUIPro.Web/File/Word/TestRun/生产人员培训执行情况报告.doc new file mode 100644 index 00000000..3fc3b1f6 --- /dev/null +++ b/SGGL/FineUIPro.Web/File/Word/TestRun/生产人员培训执行情况报告.doc @@ -0,0 +1,160 @@ +ࡱ>  +  !"#$%&'()*+,-./0123456@89:;<=>?ABCRoot Entry FWJSummaryInformation(0DocumentSummaryInformation8 WordDocument*f +  +Oh+'0 , 8 D P\dlt(u7buNNXTWՋ08h~RusNormalWendy2@^@J@uyd@=WPS Office_12.1.0.16250_F1E327BC-269C-435d-A152-05C5408002CA +՜.+,D՜.+,HPXlt| cwcec 0t|KSOProductBuildVerICV2052-12.1.0.16250$F0A3066D1E0A413A94DCFDDAC2C9DE89_12,0Table7wData +WpsCustomData0 PN KSKS*f** +8- ,Y 2 +2u"$ hd V +"BwF -NVNs ] z gPlQSNSp)Y6qlN gPlQSyvS20197/21126no]NSpmS)Y6qlc6ezyv PP] zTc6ez] zEPC;`bSyv20197/21126-PCM-T-00xuNNXTWgbL`QbJT,{ 1 uqQ 1 uWef[epeW0WpWQ[%twƋ %d\O~Ob %[hQwƋ %YNhwƋ %vQNWe_%RlQ[tW %6R SfW %{| F H J X Z l n | ~ {wkg[WOJo(OJQJo(aJnHtHOJo(OJQJo(aJnHtHOJo(OJQJo(aJnHtHOJo(OJQJo(aJnHtHOJo(OJo(OJOJo(OJo(OJOJo(OJo(OJOJo(OJo(OJo(OJo(OJOJo(OJo(OJo(OJOJo(CJOJo(aJ5CJOJo(aJ5OJOJOJOJo(!  + + + + +& +( +4 +6 +8 +@ +B +D +P +V +X +\ +` +n +p +r + + +ýtplhd_[WOJo(OJo(OJ@OJo(OJo(OJo(OJo(OJQJo(aJnHtHOJo( OJo(@OJo(OJo(OJo(OJ@OJo(OJo(OJo(OJo(OJ@OJo(OJo(OJ@ OJo(@OJQJo(aJnHtH OJo(@OJQJo(aJnHtH OJo(@OJo(OJo(OJo(OJo(OJo(nHtH + + + + + + +    ( * > @ X Z n p : < > @ B D F H J L P Z \ ¾~|zncOJmHsHnHtHOJo(mHsHnHtHo(o(o(o(o(o(o(o(o( CJo(@ CJo(@CJmHsHnHtHCJo(mHsHnHtH@o(OJo(OJo(OJOJo(OJOJo(OJOJo(OJOJo(OJOJo(o(>*o(>*o(o(>*o(>*CJ5 +CJo(5OJ@&\ ^  +   & ( * 2 4 6 > @ D F L N ǻ{wsqno(o(OJo(OJo(OJo(OJOJOJo(OJo(OJo(OJo(OJo(OJo(OJOJo(OJo(mHsHnHtHOJmHsHnHtHOJo(mHsHnHtHOJmHsHnHtHOJmHsHnHtHOJmHsHnHtHOJo(mHsHnHtHOJmHsHnHtH4<T d@a$$$If d@a$$$If d@a$$$Ifda$$l^l$Ifda$$l^l$Ifa$$^]$IfTVXZ.% a$$$If a$$$If$$If:V TT444404f4&r" +!&        5>555Z\^` a$$$If a$$$If d@a$$$If`bdf.% a$$$If a$$$If$$If:V TT444404f4&&r" +!&   5>555f a$$$If d@a$$$If d@a$$$IfA8/ a$$$If a$$$If$$If:V TT444404f4&\" +&   5>555 ,$$If:V TT444404f4&\" +&    5>555 a$$$If d@a$$$If  d@a$$$If d@a$$$If a$$$If a$$$If a$$$If  $ & .% a$$$If a$$$If$$If:V TT444404f4&r" +!&        5>555& . 0 : < a$$$If a$$$If a$$$If a$$$If< > $$If:V TT444404f4&ֈ8H&        5T5 +5585 > H + +`WQ$If a$$$If$$If:V TT444404f4&08&  5T5$If a$$$If + + + + +( +6 +8 +B +of`ZTNH$If$If$If$If$If a$$$If$$If:V TT444404f4&08&  5T5B +^ +$If^ +` +$$If:V TT444404f4&ֈ8 +&  5T555585 ` +p +r + + +$If$If$If a$$$If + + +  A82,$If$If d@$If$$If:V TT444404f4&\8&  5T5 +554 * @ Z p {$If +& Fdhe^e`$If +& Fdhe^e`$If +& Fdhe^e`$If +& Fdhe^e`$If +& Fdhe^e`$If +& Fdhe^e`$If < > @ B D F qke_YS$If$If$If$If$Ifd@WD`$If$Ify$$If:V TT444404f4 +&&  5&F H J L N P ^ nhb\V$If$If$If$Ify$$If:V TT444404f4 +&&  5&$If$If$If$If    tk\a$$WD`$If a$$$Ify$$If:V TT444404f49&&  5&$If$If$If  ( * 4 6 @ B }tkbYP a$$$If a$$$If a$$$If a$$$If a$$$If a$$$Ify$$If:V TT444404f4&&  5&B D $$If:V TT444404f4&ֈ,l(&        5H5@5$555D F H J L N dp 9r 9r &dPdp7. A!#S"S$7%2P0p:1FJ#s?JFIFHHC  +   $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" + }!1AQa"q2#BR$3br +%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz + w!1AQaq"2B #3Rbr +$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?( +( +( +( +( +( +( +( +( +( +) s:Ǐ|/_6R6B8h +E8M{ *ف>"8o=hWpݤY8 + "n<<͓-it4Wi<%w"Ep/-` #3Tfj|z8oҀ6hK@Q@Q@g]H[$rރd^Y> K.Ue #;OUl{@_/ ]G%!5KVg5k> +o#F93ߥR KCAh?h KCAh?h¿5#1<ȝOzt'Cjh-C2 #u<2k*oҮdΞBcў\Q@E K@Q@Q@Q@!u/"id=p2hƾ=--U<G҂A6 S#%yCอ`n tqۡ_z@@ EPEPEP^7 be#S9bn? |?xYՅl2K@vGOZ Qv2#_ BHȶT W:v +OmsbU'@E|/ v:3,35. + +(K KͿѯmBPzLĈ}}zkO "gl\7@Q_ExxmJrD74d*?ku_2ҝLZy@=Я|X4kLȿyE>_l{ُm{"#C1oB6:)rp=A5K_i27'9@p]@ EPEP[㯅?Go +8Y7~y{k>!xi|W9P_6Pp9㑕lS䍢aʜtPEPEP{_xϐ-&U G<  >__+ppglji,nD9$Osh)h(kcz +/0~K+ /lxFA$0s7W:ai2G1Ͽ?B++믊7QC{Q#\Fe(Xa((M)k̩HȲ/U9zW-'eo >*(86=멠(Y꺏ltSO([#MoQ^ ⟏K&{($ؒLY=@;քI2sG([?V|K@''Ŀ ? +Q +Uh'I$/tO.*__k'Ŀ ?Oh'I$g+<ȼ)[=*0dkf_sW@Á<[;o +vW.cZa5or_[(uor_[(uor]2kuoGGt9vxO<4.fu9 8d+¾Ko +_ZHKdzюy۽GN)QE0 +( +( +( +( +kuV/5;CV-`gPWlƀ>~4+Igg1wwWTsOys#I<4;brIj +|*qbZVi$6P`lxY4QEQEW_ٵ NefH1#ּRh.k>٭Yzwax^oAhՂkOadY}wC-H1\$= +x6Ǡ#2xyO^8uvоu(?1_6H|?@Q ^~bm>?1G4/yKK?1^OMj$b$?G?ݿGշ =^0g%OF\W5߳߉ ڇ,Z#2II +۝}M{-QEQEQEQE㟴&%4`p +F~kOZ:B~f"!]cyEUNW4؈]Nn@K wÑ`eWP DGU 2f9,v3¼ +( +( +( +( +( +SG?;.s.olyJynk%O{&߃<39f |bг Kt FU ++ɿh+c/X47KuJ8?ߍQ$ FvdQh(>Ms% YG"&s*k9$CvoPEPEPEPEP_J5ɽNO_e)~&"mKb.IΫо HS@ĉ2ylyn3R]#ƺ5b6d7~-dxF:q."ꭏb5+ J3HѺW|­i[>Ua"}h袊((((_-4T5āAqP|Iq$Ͷ{?3b@kۗgUimXԜeG+<܈>:WRzj?h,ާ T5PEPEPEPEP^EMiWrUUG~vꁧOCɒzw+~4 *8 RQ@e?#.Јg >V'nkg(H\ 2HkA@ \4멭|E"+[E`;Kgux#+Uț-o1u skYy&䑋33d{@֟4ìL8̯YCSιM9F)i-QEQEQEQEQ@G, +H|SsI8s܊ꏌ~ o_Vtd:z#Lw =u緑e>VSy?|Um [j(F|.AuE|a]ß}tP˧.^ nRYmwG*:~< +>#xc^im>besvku5b Yh/4cj_?kj(mK|g ڗ|gRG6>3梀>uٟ\_l:FہW@5:MxMxh^h`o(.H^H\`\)^\`\.^\`\.4^4\`\) ^ \`\.| ^| \`\. ^ \`\)^\`\.Mx&66666666 0@P`p6666 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`pJ@Jcke a$$1$ CJaJKHmH sH nHtH_H@@@h 1a$$$@&CJOJPJaJ<@<h 2a$$$@& CJOJaJ$A@$؞k=W[SONi@Nnfh + +B +^ +` + + F  B D N  !"#G.[x @Times New Roman-([SO54 ~WSO[SOA4 + N[_GB2312N[?4 .Cx @Courier New(u7buNNXTWՋ08h~RusWendy Qhg0d@!\(!),.:;?]}    & 6"0000 0 0 00000 =@\]^([{  0 +0 00000;[SP)?S2 ,,,,&"/m h8l,L-b.u68D4*EER%[VpwzSIP']g&\)A`y}\[(7zA4{ +8d}PsH\  ,R$J#s?9H +(  + + + VA(8 BZ b1VGr 27"* +3 ?MT +commondata,<eyJoZGlkIjoiOTU3M2M5MGU2YzlhNTU3MjI5ZWFkY2FkZDZhZDA5NDQifQ==@_Ƌi'{2|G<9962gLӝY\4ncqusyrNO8$ |gF;˯s[!Bv9G P6p@!~X=}T(GJZ((((((Q_0|av.α,:)ӵ}CYڶe_ۭŬHpG_=A@Q]OՎͥ?ތ?Zu27)[^&-z0#- _|E-v6d<;Xv8#_|[GPzMDIdG̽ؠ()^HfUf>QD572 PQEQEQI@ Mc\ϊ. pa~us;<$1gw9f'&$OZ(6yjefK }=w1#DIf$;È< k(<8>P8>X#u-P4B? K@Q@Q@Q@Q@Q@Q@Q@Ƒc\Z +ocG"^Q]ėvgգ={g>v[oqK Uuܮw(GA<+&9 r~E{!)?&o.~7 O[8<7$3J +X 0R}H3at 67BJ8B}rFk|P/߲smŒ +I퀧o^ៅq svwrBAPA#ֻ(0)Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@Q@ \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/File/Word/TestRun/项目培训签到表.doc b/SGGL/FineUIPro.Web/File/Word/TestRun/项目培训签到表.doc new file mode 100644 index 00000000..11ef5950 --- /dev/null +++ b/SGGL/FineUIPro.Web/File/Word/TestRun/项目培训签到表.doc @@ -0,0 +1,346 @@ +ࡱ>  + t !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdnfghijklmopqrsRoot Entry FHJ@SummaryInformation($DocumentSummaryInformation8 WordDocument8 +  +Oh+'0   , 8 DPX`hfxzmNormalWendy2@E@ҨJ@2@r=WPS Office_12.1.0.16250_F1E327BC-269C-435d-A152-05C5408002CA +՜.+,D՜.+,@  +( 08Microsoft Corporation 0t|KSOProductBuildVerICV2052-12.1.0.16250$E687A2ADE9324421B427AFB537F98FE4_12,0TableeData +-WpsCustomData0+Dd + + LA(8 +NsVGr 23"R6*SH8LTw)*F +*SH8LTw)JFIF``C + + +    C   " + }!1AQa"q2#BR$3br +%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz + w!1AQaq"2B #3Rbr +$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?P)\(EPERQL((((((((p +(QE()3xf)n[koy{&(yA\kƓ絓7{[Ȥ?.@abGn4n5RwXSȥ} &?+H( m'ـ$}ZGNOn +IVH9uh5;5]b(EPEPEPH[}zu8x%40f5v&u[[0|1ykBx G}'%nju)ntW,-"dF0qjRN.\VS>so90z)e;Qװ} I;֦_n}DL:dZ0i9iDiFmuצi?'}h>a]ԾdzE4Oƹ"i2 e3<}?G$զH, uWlr kCkTVMicHIgػtݎq[-J&ftT{|Ic4҂%bz2CJυŪb'+Ix&j(((((g!q g&v} 8-gΧdvhwޭߵG=}U+3M|~9/$KыgcFXĞkĹ|DJ-Z9}NiD= +bJK=F}n9.`|}?zO>ޝPK}ƈ̠|ҡ*.ϩtG+-Hxc,#Yz+3^aYq -n`yJ% 6f9ը5nf5'h++g|#R[˩=ƾN)KJyvC$>Z;`qu4ni=F즺s{kH]85RkFLo헇bdqsWxoHE`P8CV^ B;J ΜXrImɎ@}G@Lk>?;:$I;:ɘA𯑭JMHhyxޑz:& ՝n;v<{֋&=le՜TeAzW(s#V$q_.K͜zO0ץk_|>3mz6Q,pƪ01]1(tE-`QEp|"<_hnK}s_j1sqGW脊ӽ|a6㌥! quxyoy$ySKbRpyhx;ozQ5g}wR5>!-7?x޼C F3#<ׯ "|m/ZHC'85=ӱ/2ihUՇ|kګ7Cu=BMnyT;Lln%Ca־I( +()jMp?W<} ׋%s^"M䝡2`x_fxK^fv1y؊SM\@х!֭| /?+ƼחHV})i?pb?k_3s|ΐrokL7P_8~-Ķ^^& !SKQP<m֟goOu + >0<{>ˬjoAm +x_ZUXGxxKÐ4 +ҽt,A֊(EPEPEP_xO@׊%6G]OJʤм 201֪ O5|Cff4h'׋yqSpk*ϔ篭rg(Eb+xVo)~q/gqOqnT@,OPx:OYȲ߻0=AvӴҏf94~^C{L䞭SڟgN83J~$i :f'_.A} ;YdbTØ_}FFt#Ub[jgrq}g_ [{xs3^ cua*1^7Q;YQ՛ a]_OC|X0'$tk #k>xܡP@+;귺A6h#2v_vPV= +@OŁUs2\]9;M_r zĎ)???:ǂB<4к_e~p57[koWּ)FȺ~,~p57[uuwW}~ͮ".pu2?2],ibǍ[>*π>%xr!̆"A5e!uӾ+|=/-%#_7©mh#_QůdԘn_eRhUtO/ɿ[|d)\oڟAqBr@3651? ?!}?: H/cC&3Xw. &FXNrvLW'ĭKIᱶwT|i[ZI,[˼UG+F1i;H>/!Y hZ70pA>oM +.%hq\Wa_@91/eޏ7޾nbGTsJR `rs޺;O= vr '>\W;q1v;ٲIy֩p:⡻wwRޏ7ޝ;׊[HЍ'7 U<]s\hTn-^= +2/&ݰOaCOVOCeφr_]DӸy xFC𝵟4{O؃_+? +WʋPq;W1ıP8_uʔyV|_iR4#a9}Mޮ}jZ|FR4Q\Q8>G*1ɯCth-:Z $?~|??5g7W۷~<08*8_5/xA{q_c&{EW ((Q@ +p񓊉1oL +-^s_J~22|QƱFTqƾnnQ_r +M-Yyg?W? o (!_?Khi]u|Zct.%hFpnmi"ȻL_? +͔o4a$Zj!v_ZnwCG G9qKKSqv?2>kk:E΃]h r8_U$g4yy̬{KWw&+1##_q8s=l-TH+o +F@)^¿ /-RP: rO8?kA"E}{IJ唊+qv>|+s_ 4 #U gWOskqL~+|5I5+4[v@K}?~~̨SvoA.osh((*9msQRTS$p?ǵ&.?Ė,ywH9elC+Sϕnk 6=_䑕\gksX84ZoŸ447 Nrk~|nFX==4,݂A#k[<14 89*M2Aݲ{T +wd~ ?612YQqWW*`HAֿb>:|;Íc@~XK@@ Sb >O Wye8?JsnZfwh=De\SZ@kf'=g/;y3>r~Tyt"o35!G gi$טx~1cbmp{Ïλpt]Z 3=VHKOw'ڿb2? xF<-/Z;S.lPU [+t> +H̞ rH2NqԟҬW)+^M,f(˚s,[ ]ߵ׊?$urewRp3 +Ja`|z{W~>$McBb xO1h-4bk2شб6鯫xP +X`kF>Jҿ%?c_ss`^r8ֿd d,|5gtcdt((((SIڭYKg8 ֿ!K'|u~?~\$g<Ka|# ++_ksO~t8nz(G(MJ/,@J5߰ţ#Z"]֌۷֕[k:lJH9 `T^ŽOޭ QS'05_,?m~'e d۟0(Oξ#5fbG"8<</ZƑip@XPs_]kȿiVjtPwɓq(}b/QciK.)lOЮߋ'ymnn5+x |4J.zGڣ?:/cbߦ?WAI?iw0LORmZ?%xߦ?WAIgA\K毘S +35gu,4$q.sSkmAAKEնf66Y1W[w> +))&TlWO%U V_-~_lnȘ*Z)TR~{omġnMl`wj>'}&-c 9k*m&ixƧɫjswI+-3x52u]MvΧr`_SX|7sMȬQ&=ׁuF93/ط{hF"UU+RoWʾOZ yQ@Q@Q@Q@}kk>[Gfk1|Ȏ0_pq#?~kHcQ/tg,0C*uuȪdt5/4>#ny iW)۴~u_Ž3 zwKCE>S+-dSz㞁iO2 L޿^Sv_Qka.?:ǯRֽ1Oq?nץi |m!򮣱A"}2YA1J,cj8lWӨk mOzN!{T9#R 4 8kWG3kϔ_t/.?Z_G+] |+9OV# +.?٭m/ZvٵHZku>0zWopGAk`1&yfAX-xj(r +aq_~_[o^GJbaB7lvڣtxΣp +kb-yIržf'-RWS$w35y|W*tܜd{+g9ݍWP׮qm43*8[FO-@Ժ)5Kq %ю]<;lIYG8PYhfI΍ƻBǵjWq!EPEPEPEPEP-RwT)a=s?c_O&eӭ@~<_UܠH*Fr=;W&"kv?5(o*nj|l1Qz`wjJm>A -@ĒYK VK ܣ%mlky|{Zsu;U4鴽B+w{C}c>lY oM\!x' ɏJ$YSru§}J桌v?d@x 2ĺ/m}ra7?zEXU!oοm|VѲ+hk| ~~!KQܑJF1ϥ}%DXj>|1oGsw$6 8+&C X6V>Ȩf(*85OkSp%mvr~Iu' 8}BT9/';T1}M5sa'y<^!;ѭe {#qk?~:Ym6Ĝ暖}\ps Ԧ&CG{A[|PdF$FO_ҿJͶz7_Y_[]I.f\9D.%cBB((((((( +q_@ʻR3{|/n'{ ‹y 15U!QSV?eo..4}I,Lz¼+i?;il'yw ~xgahm~2~>,\NclHрGNEy]R\cz˻V@]YNT9qm6iG{=†"_["jG5U+?W<_å3?!{W;w⎕7~p۝eګ L9@\X\6)oxgX + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If> +@ +$$If:V TT44l44l0ֈ |w%  55555b 5@ +F +H +J +L +N +P + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$IfP +R +$$If:V TT44l44l0ֈ |w%  55555b 5R +X +Z +\ +^ +` +b + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$Ifb +d +$$If:V TT44l44l0ֈ |w%  55555b 5d +j +l +n +p +r +t + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$Ift +v +$$If:V TT44l44l0ֈ |w%  55555b 5v +| +~ + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + + + + + da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If + +$$If:V TT44l44l0ֈ |w%  55555b 5 + + + +   da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If  $$If:V TT44l44l0ֈ |w%  55555b 5      da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If  $$If:V TT44l44l0ֈ |w%  55555b 5  " $ & ( da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If( * $$If:V TT44l44l0ֈ |w%  55555b 5* 0 2 4 6 8 : da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If: < $$If:V TT44l44l0ֈ |w%  55555b 5&66666666 0@P`p6666 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`pH@Hckedh1$9DH$CJmH sH nHtH_HV@Vh 1'd@[$XDT\$YDJ$$@& CJ,5KH,$A@$؞k=W[SONi@Nnfh +@ +P +R +b +d +t +v + + + + + + + + + + + + + + +    ( * : < L N ^ ` b  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLG.[x @Times New Roman-([SO3$ .[x @ArialNormalfxzmWendy QhgߪW@r!N!),.:;?]}    & 6"0000 0 0 00000 =@\]^([{  0 +0 00000;[Sx)?'*2 _3-szB(&@s# +YZ{Sd\X^J](iR d!U"E#$$${i$|$<%'P(S)p)JE+YK,Z,(y-t. 5c77I~86w9rx9[</>_?ADDEjTF0L9L4AM^M,ThT}VBZ]*^ybeda}deAeEete._hgis*k+]mVnknMo!t)t&EtSxEy4WyzC|_]|>4+;D + +%KG,xq?]pC\C$~U9* I#{e{n@2J;''QYFDoW/-}&R s:~*P*<e:4gc$Kdk#=|oO#Ac[}1%p%\.sBBQ|D*8@+'?p*=}+y>Y"HMI;b{\  ,R$SH8LTw)0(  +6 +S ? +commondata,<eyJoZGlkIjoiOTU3M2M5MGU2YzlhNTU3MjI5ZWFkY2FkZDZhZDA5NDQifQ==@< B D F H J L da$$$If da$$$If a$$$If a$$$If da$$$If da$$$IfL N $$If:V TT44l44l0ֈ |w%  55555b 5N T V X Z \ ^ da$$$If da$$$If a$$$If a$$$If da$$$If da$$$If^ ` $$If:V TT44l44l0ֈ |w%        55555b 5` b d6. A!#S"S$S%S2P1F     555555Ff+ \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 4a671812..b0a68f5a 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1770,11 +1770,16 @@ + + + + + @@ -15890,6 +15895,20 @@ WeekMeetingEdit.aspx + + PersonTrainPlan.aspx + ASPXCodeBehind + + + PersonTrainPlan.aspx + + + PersonTrainPlanEdit.aspx + ASPXCodeBehind + + + PersonTrainPlanEdit.aspx + TrainContact.aspx ASPXCodeBehind @@ -15918,6 +15937,13 @@ TrainContentEdit.aspx + + TrainContract.aspx + ASPXCodeBehind + + + TrainContract.aspx + TrainPlan.aspx ASPXCodeBehind @@ -15932,6 +15958,20 @@ TrainPlanEdit.aspx + + TrainRecords.aspx + ASPXCodeBehind + + + TrainRecords.aspx + + + TrainRecordsEdit.aspx + ASPXCodeBehind + + + TrainRecordsEdit.aspx + AnalySamp.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx new file mode 100644 index 00000000..8c7113bb --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx @@ -0,0 +1,127 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonTrainPlan.aspx.cs" Inherits="FineUIPro.Web.TestRun.PersonTrain.PersonTrainPlan" %> + + + + + + + 人员培训记录 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.cs new file mode 100644 index 00000000..226ea003 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.cs @@ -0,0 +1,223 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; + +namespace FineUIPro.Web.TestRun.PersonTrain +{ + public partial class PersonTrainPlan : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + GetButtonPower(); + BindGrid(); + btnNew.OnClientClick = Window1.GetShowReference("PersonTrainPlanEdit.aspx") + "return false;"; + } + } + #endregion + + #region 绑定数据 + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"SELECT personTrainPlan.PersonTrainPlanId, + personTrainPlan.ProjectId, + (CASE personTrainPlan.TrainType WHEN '1' THEN '办公室理论培训' + WHEN '2' THEN '制造厂车间培训' + WHEN '3' THEN '同类型装置操作培训' + WHEN '4' THEN '合同装置现场培训' END) AS TrainType, + personTrainPlan.Purpose, + personTrainPlan.TrainingContent, + personTrainPlan.TrainingAddress, + personTrainPlan.TrainingDate, + personTrainPlan.TrainingPersonNum, + personTrainPlan.TrainingHours, + personTrainPlan.TrainingManager, + personTrainPlan.TrainingTeacher, + personTrainPlan.AssessmentMethod + FROM TestRun_PersonTrainPlan AS personTrainPlan WHERE personTrainPlan.ProjectId=@projectId"; + List listStr = new List(); + listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId)); + if (!string.IsNullOrEmpty(this.txtTrainContent.Text.Trim())) + { + strSql += " AND personTrainPlan.TrainingContent LIKE @trainContent"; + listStr.Add(new SqlParameter("@trainContent", "%" + this.txtTrainContent.Text.Trim() + "%")); + } + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + #endregion + + #region 分页 + /// + /// 分页索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉框事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + Grid1.SortDirection = e.SortDirection; + Grid1.SortField = e.SortField; + BindGrid(); + } + #endregion + + #region 关闭窗体 + /// + /// 关闭窗体 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 编辑 + /// + /// 右键编辑 + /// + /// + /// + protected void btnMenuModify_Click(object sender, EventArgs e) + { + EditData(); + } + + /// + /// Grid行双击事件 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + EditData(); + } + + /// + /// 编辑 + /// + private void EditData() + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning); + return; + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PersonTrainPlanEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - "))); + } + #endregion + + #region 删除 + /// + /// 右键删除 + /// + /// + /// + protected void btnMenuDel_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var data = BLL.PersonTrainPlanService.GetPersonTrainPlanById(rowID); + if (data != null) + { + BLL.PersonTrainPlanService.DeletePersonTrainPlanById(rowID); + } + } + BindGrid(); + ShowNotify("删除数据成功!", MessageBoxIcon.Success); + } + } + #endregion + + #region Grid行点击事件 + protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) + { + string id = Grid1.DataKeys[e.RowIndex][0].ToString(); + if (e.CommandName == "AttachUrl")//附件 + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/PersonTrainPlan&menuId={1}", id, BLL.Const.PersonTrainPlanMenuId))); + } + } + #endregion + + #region 权限设置 + /// + /// 权限设置 + /// + private void GetButtonPower() + { + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PersonTrainPlanMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuModify.Hidden = false; + this.Grid1.EnableRowDoubleClickEvent = true; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDel.Hidden = false; + } + } + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.designer.cs new file mode 100644 index 00000000..40df22a5 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlan.aspx.designer.cs @@ -0,0 +1,168 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.TestRun.PersonTrain { + + + public partial class PersonTrainPlan { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// txtTrainContent 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTrainContent; + + /// + /// btnSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSearch; + + /// + /// btnNew 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblPageIndex 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuModify 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuModify; + + /// + /// btnMenuDel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDel; + } +} diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx new file mode 100644 index 00000000..df6c130c --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx @@ -0,0 +1,105 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonTrainPlanEdit.aspx.cs" Inherits="FineUIPro.Web.TestRun.PersonTrain.PersonTrainPlanEdit" %> + + + + + + + 编辑人员培训记录 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.cs new file mode 100644 index 00000000..cf8c0e0e --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.cs @@ -0,0 +1,119 @@ +using BLL; +using System; + +namespace FineUIPro.Web.TestRun.PersonTrain +{ + public partial class PersonTrainPlanEdit : PageBase + { + #region 加载 + /// + /// 页面加载 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + ///培训类型 + this.drpTrainType.DataTextField = "Text"; + this.drpTrainType.DataValueField = "Value"; + this.drpTrainType.DataSource=BLL.DropListService.drpTrainTypeList(); + this.drpTrainType.DataBind(); + + string id = Request.Params["id"]; + if (!string.IsNullOrEmpty(id)) + { + Model.TestRun_PersonTrainPlan data = BLL.PersonTrainPlanService.GetPersonTrainPlanById(id); + if (data != null) + { + this.hdId.Text = id; + if (!string.IsNullOrEmpty(data.TrainType)) + { + this.drpTrainType.SelectedValue = data.TrainType; + } + this.txtPurpose.Text = data.Purpose; + this.txtTrainingContent.Text = data.TrainingContent; + this.txtTrainingAddress.Text = data.TrainingAddress; + this.txtTrainingDate.Text = data.TrainingDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.TrainingDate) : ""; + this.txtTrainingPersonNum.Text = data.TrainingPersonNum; + this.txtTrainingHours.Text = data.TrainingHours.HasValue ? data.TrainingHours.ToString() : ""; + this.txtTrainingManager.Text = data.TrainingManager; + this.txtTrainingTeacher.Text = data.TrainingTeacher; + this.txtAssessmentMethod.Text = data.AssessmentMethod; + } + } + else + { + this.txtTrainingDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + #endregion + + #region 附件上传 + /// + /// 附件上传 + /// + /// + /// + protected void btnAttach_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录 + { + this.hdId.Text = SQLHelper.GetNewID(typeof(Model.TestRun_PersonTrainPlan)); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/PersonTrainPlan&menuId={1}", this.hdId.Text, BLL.Const.PersonTrainPlanMenuId))); + } + #endregion + + #region 保存 + /// + /// 保存按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.drpTrainType.SelectedValue)||this.drpTrainType.SelectedValue==BLL.Const._Null) + { + Alert.ShowInTop("请选择培训类型!", MessageBoxIcon.Warning); + return; + } + string id = Request.Params["id"]; + Model.TestRun_PersonTrainPlan newData = new Model.TestRun_PersonTrainPlan(); + newData.TrainType = this.drpTrainType.SelectedValue; + newData.Purpose = this.txtPurpose.Text.Trim(); + newData.TrainingContent = this.txtTrainingContent.Text.Trim(); + newData.TrainingAddress = this.txtTrainingAddress.Text.Trim(); + newData.TrainingDate = Funs.GetNewDateTime(this.txtTrainingDate.Text.Trim()); + newData.TrainingPersonNum = this.txtTrainingPersonNum.Text.Trim(); + newData.TrainingHours = Funs.GetNewDecimal(this.txtTrainingHours.Text.Trim()); + newData.TrainingManager = this.txtTrainingManager.Text.Trim(); + newData.TrainingTeacher = this.txtTrainingTeacher.Text.Trim(); + newData.AssessmentMethod = this.txtAssessmentMethod.Text.Trim(); + newData.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(id)) + { + newData.PersonTrainPlanId = id; + BLL.PersonTrainPlanService.UpdatePersonTrainPlan(newData); + } + else + { + if (!string.IsNullOrEmpty(this.hdId.Text)) + { + newData.PersonTrainPlanId = this.hdId.Text.Trim(); + } + else + { + newData.PersonTrainPlanId = SQLHelper.GetNewID(typeof(Model.TestRun_PersonTrainPlan)); + this.hdId.Text = newData.PersonTrainPlanId; + } + BLL.PersonTrainPlanService.AddPersonTrainPlan(newData); + } + ShowNotify("保存成功!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.designer.cs new file mode 100644 index 00000000..7acd3f2a --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/PersonTrainPlanEdit.aspx.designer.cs @@ -0,0 +1,240 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.TestRun.PersonTrain { + + + public partial class PersonTrainPlanEdit { + + /// + /// 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; + + /// + /// hdAttachUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hdAttachUrl; + + /// + /// hdId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hdId; + + /// + /// ContentPanel2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ContentPanel ContentPanel2; + + /// + /// Form2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form2; + + /// + /// drpTrainType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpTrainType; + + /// + /// txtPurpose 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPurpose; + + /// + /// txtTrainingContent 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextArea txtTrainingContent; + + /// + /// txtTrainingAddress 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTrainingAddress; + + /// + /// txtTrainingDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtTrainingDate; + + /// + /// txtTrainingPersonNum 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTrainingPersonNum; + + /// + /// txtTrainingHours 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtTrainingHours; + + /// + /// txtTrainingManager 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTrainingManager; + + /// + /// txtTrainingTeacher 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtTrainingTeacher; + + /// + /// txtAssessmentMethod 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtAssessmentMethod; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label1; + + /// + /// Panel3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel3; + + /// + /// lblAttach 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lblAttach; + + /// + /// btnAttach 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttach; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx new file mode 100644 index 00000000..be50b83a --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrainContract.aspx.cs" Inherits="FineUIPro.Web.TestRun.PersonTrain.TrainContract" %> + + + + + + + 培训合同 + + +
+
+
+
+ + diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.cs new file mode 100644 index 00000000..eff8fccc --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.TestRun.PersonTrain +{ + public partial class TrainContract : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.designer.cs new file mode 100644 index 00000000..3714a3a4 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainContract.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.TestRun.PersonTrain { + + + public partial class TrainContract { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx new file mode 100644 index 00000000..23022f0d --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx @@ -0,0 +1,113 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrainRecords.aspx.cs" Inherits="FineUIPro.Web.TestRun.PersonTrain.TrainRecords" %> + + + + + + + 培训记录及执行报告 + + +
+ + + + + + + + <%-- + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.cs new file mode 100644 index 00000000..d4a33fd0 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.cs @@ -0,0 +1,274 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.IO; +using System.Linq; + +namespace FineUIPro.Web.TestRun.PersonTrain +{ + public partial class TrainRecords : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + GetButtonPower(); + BindGrid(); + btnNew.OnClientClick = Window1.GetShowReference("TrainRecordsEdit.aspx") + "return false;"; + } + } + #endregion + + #region 绑定数据 + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"SELECT * FROM TestRun_TrainRecords WHERE ProjectId=@projectId"; + List listStr = new List(); + listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId)); + //if (!string.IsNullOrEmpty(this.txtTrainContent.Text.Trim())) + //{ + // strSql += " AND TrainContent LIKE @trainContent"; + // listStr.Add(new SqlParameter("@trainContent", "%" + this.txtTrainContent.Text.Trim() + "%")); + //} + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + #endregion + + #region 分页 + /// + /// 分页索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉框事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + Grid1.SortDirection = e.SortDirection; + Grid1.SortField = e.SortField; + BindGrid(); + } + #endregion + + #region 关闭窗体 + /// + /// 关闭窗体 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 编辑 + /// + /// 右键编辑 + /// + /// + /// + protected void btnMenuModify_Click(object sender, EventArgs e) + { + EditData(); + } + + /// + /// Grid行双击事件 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + EditData(); + } + + /// + /// 编辑 + /// + private void EditData() + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning); + return; + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TrainRecordsEdit.aspx?id={0}", Grid1.SelectedRowID, "编辑 - "))); + } + #endregion + + #region 删除 + /// + /// 右键删除 + /// + /// + /// + protected void btnMenuDel_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var data = BLL.TrainRecordsService.GetTrainRecordsById(rowID); + if (data != null) + { + BLL.TrainRecordsService.DeleteTrainRecordsById(rowID); + } + } + BindGrid(); + ShowNotify("删除数据成功!", MessageBoxIcon.Success); + } + } + #endregion + + #region Grid行点击事件 + protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) + { + string id = Grid1.DataKeys[e.RowIndex][0].ToString(); + if (e.CommandName == "AttachUrl")//培训报告 + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/TrainRecords&menuId={1}&strParam=1", id, BLL.Const.TrainRecordsMenuId))); + } + else if (e.CommandName == "AttachUrl2")//签到表 + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/TrainRecords&menuId={1}&strParam=2", id, BLL.Const.TrainRecordsMenuId))); + } + } + #endregion + + #region 权限设置 + /// + /// 权限设置 + /// + private void GetButtonPower() + { + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.TrainRecordsMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuModify.Hidden = false; + this.Grid1.EnableRowDoubleClickEvent = true; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDel.Hidden = false; + } + } + } + #endregion + + #region 下载 + /// + /// 下载培训报告 + /// + /// + /// + protected void btnDonwLoadTrainRecords_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Confirm.GetShowReference("是否确认下载培训报告?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK"), PageManager1.GetCustomEventReference("Confirm_Cancel"))); + } + + /// + /// 下载签到表 + /// + /// + /// + protected void btnDownLoadSign_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Confirm.GetShowReference("是否确认下载签到表?", String.Empty, MessageBoxIcon.Question, PageManager1.GetCustomEventReference(false, "Confirm_OK2"), PageManager1.GetCustomEventReference("Confirm_Cancel2"))); + } + + /// + /// 下载导入模板 + /// + protected void PageManager1_CustomEvent(object sender, CustomEventArgs e) + { + if (e.EventArgument == "Confirm_OK") + { + string rootPath = Server.MapPath("~/"); + string uploadfilepath = rootPath + Const.TestRun_TrainRecordsUrl; + string filePath = Const.TestRun_TrainRecordsUrl; + string fileName = Path.GetFileName(filePath); + FileInfo info = new FileInfo(uploadfilepath); + long fileSize = info.Length; + Response.ClearContent(); + Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); + Response.ContentType = "excel/plain"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + Response.AddHeader("Content-Length", fileSize.ToString().Trim()); + Response.TransmitFile(uploadfilepath, 0, fileSize); + Response.End(); + } + else if (e.EventArgument == "Confirm_OK2") + { + string rootPath = Server.MapPath("~/"); + string uploadfilepath = rootPath + Const.TestRun_SignUrl; + string filePath = Const.TestRun_SignUrl; + string fileName = Path.GetFileName(filePath); + FileInfo info = new FileInfo(uploadfilepath); + long fileSize = info.Length; + Response.ClearContent(); + Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); + Response.ContentType = "excel/plain"; + Response.ContentEncoding = System.Text.Encoding.UTF8; + Response.AddHeader("Content-Length", fileSize.ToString().Trim()); + Response.TransmitFile(uploadfilepath, 0, fileSize); + Response.End(); + } + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.designer.cs new file mode 100644 index 00000000..fe23fb8d --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecords.aspx.designer.cs @@ -0,0 +1,168 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.TestRun.PersonTrain { + + + public partial class TrainRecords { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnDonwLoadTrainRecords 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnDonwLoadTrainRecords; + + /// + /// btnDownLoadSign 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnDownLoadSign; + + /// + /// btnNew 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblPageIndex 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuModify 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuModify; + + /// + /// btnMenuDel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDel; + } +} diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx new file mode 100644 index 00000000..b7d0d364 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx @@ -0,0 +1,100 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrainRecordsEdit.aspx.cs" Inherits="FineUIPro.Web.TestRun.PersonTrain.TrainRecordsEdit" %> + + + + + + + 编辑培训记录及执行报告 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.cs new file mode 100644 index 00000000..517c6579 --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.cs @@ -0,0 +1,109 @@ +using BLL; +using System; + +namespace FineUIPro.Web.TestRun.PersonTrain +{ + public partial class TrainRecordsEdit : PageBase + { + #region 加载 + /// + /// 页面加载 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + string id = Request.Params["id"]; + if (!string.IsNullOrEmpty(id)) + { + Model.TestRun_TrainRecords data = BLL.TrainRecordsService.GetTrainRecordsById(id); + if (data != null) + { + this.hdId.Text = id; + this.txtCode.Text = data.TrainRecordsCode; + this.txtName.Text = data.TrainRecordsName; + this.txtUploadDate.Text = data.UploadDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.UploadDate) : ""; + this.txtRemark.Text = data.Remark; + } + } + else + { + this.txtUploadDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now); + } + } + } + #endregion + + #region 附件上传 + /// + /// 附件上传 + /// + /// + /// + protected void btnAttach_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录 + { + this.hdId.Text = SQLHelper.GetNewID(typeof(Model.TestRun_TrainRecords)); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/TrainRecords&menuId={1}&strParam=1", this.hdId.Text, BLL.Const.TrainRecordsMenuId))); + } + + /// + /// 上传签到表 + /// + /// + /// + protected void btnSign_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.hdId.Text)) //新增记录 + { + this.hdId.Text = SQLHelper.GetNewID(typeof(Model.TestRun_TrainRecords)); + } + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/PersonTrain/TrainRecords&menuId={1}&strParam=2", this.hdId.Text, BLL.Const.TrainRecordsMenuId))); + } + #endregion + + #region 保存 + /// + /// 保存按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + string id = Request.Params["id"]; + Model.TestRun_TrainRecords newData = new Model.TestRun_TrainRecords(); + newData.TrainRecordsCode = this.txtCode.Text.Trim(); + newData.TrainRecordsName = this.txtName.Text.Trim(); + newData.UploadDate = Funs.GetNewDateTime(this.txtUploadDate.Text.Trim()); + newData.CompileMan = this.CurrUser.UserId; + newData.CompileDate = DateTime.Now; + newData.Remark = this.txtRemark.Text.Trim(); + newData.ProjectId = this.CurrUser.LoginProjectId; + if (!string.IsNullOrEmpty(id)) + { + newData.TrainRecordsId = id; + BLL.TrainRecordsService.UpdateTrainRecords(newData); + } + else + { + if (!string.IsNullOrEmpty(this.hdId.Text)) + { + newData.TrainRecordsId = this.hdId.Text.Trim(); + } + else + { + newData.TrainRecordsId = SQLHelper.GetNewID(typeof(Model.TestRun_TrainRecords)); + this.hdId.Text = newData.TrainRecordsId; + } + BLL.TrainRecordsService.AddTrainRecords(newData); + } + ShowNotify("保存成功!", MessageBoxIcon.Success); + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.designer.cs new file mode 100644 index 00000000..dc7d4cca --- /dev/null +++ b/SGGL/FineUIPro.Web/TestRun/PersonTrain/TrainRecordsEdit.aspx.designer.cs @@ -0,0 +1,204 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.TestRun.PersonTrain { + + + public partial class TrainRecordsEdit { + + /// + /// 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; + + /// + /// hdAttachUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hdAttachUrl; + + /// + /// hdId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hdId; + + /// + /// ContentPanel2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ContentPanel ContentPanel2; + + /// + /// Form2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form2; + + /// + /// txtCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtCode; + + /// + /// txtName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtName; + + /// + /// txtUploadDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtUploadDate; + + /// + /// txtRemark 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextArea txtRemark; + + /// + /// Panel3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel3; + + /// + /// lblAttach 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lblAttach; + + /// + /// btnAttach 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttach; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label1; + + /// + /// btnSign 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSign; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml index b46b8a7e..e80d4dd9 100644 --- a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml +++ b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml @@ -48,4 +48,8 @@ + + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml index bd64e89c..53aae2a6 100644 --- a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml +++ b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml @@ -9,9 +9,9 @@ - - - + + + @@ -37,11 +37,22 @@ - + - - - + + + + + + + + + + + + + + @@ -49,8 +60,21 @@ + - + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml index 3bfa5a07..ed44c8fe 100644 --- a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml @@ -82,4 +82,5 @@ + \ No newline at end of file diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index a3aaaa07..f76fb5ca 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -1400,6 +1400,9 @@ namespace Model partial void InsertManager_Month_CheckC(Manager_Month_CheckC instance); partial void UpdateManager_Month_CheckC(Manager_Month_CheckC instance); partial void DeleteManager_Month_CheckC(Manager_Month_CheckC instance); + partial void InsertManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); + partial void UpdateManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); + partial void DeleteManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); partial void InsertManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); partial void UpdateManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); partial void DeleteManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); @@ -2252,6 +2255,9 @@ namespace Model partial void InsertTestRun_InspectTermApproveRecords(TestRun_InspectTermApproveRecords instance); partial void UpdateTestRun_InspectTermApproveRecords(TestRun_InspectTermApproveRecords instance); partial void DeleteTestRun_InspectTermApproveRecords(TestRun_InspectTermApproveRecords instance); + partial void InsertTestRun_PersonTrainPlan(TestRun_PersonTrainPlan instance); + partial void UpdateTestRun_PersonTrainPlan(TestRun_PersonTrainPlan instance); + partial void DeleteTestRun_PersonTrainPlan(TestRun_PersonTrainPlan instance); partial void InsertTestRun_SubInspectTerm(TestRun_SubInspectTerm instance); partial void UpdateTestRun_SubInspectTerm(TestRun_SubInspectTerm instance); partial void DeleteTestRun_SubInspectTerm(TestRun_SubInspectTerm instance); @@ -2264,6 +2270,9 @@ namespace Model partial void InsertTestRun_TermItemInspectedUser(TestRun_TermItemInspectedUser instance); partial void UpdateTestRun_TermItemInspectedUser(TestRun_TermItemInspectedUser instance); partial void DeleteTestRun_TermItemInspectedUser(TestRun_TermItemInspectedUser instance); + partial void InsertTestRun_TrainRecords(TestRun_TrainRecords instance); + partial void UpdateTestRun_TrainRecords(TestRun_TrainRecords instance); + partial void DeleteTestRun_TrainRecords(TestRun_TrainRecords instance); partial void InsertTestRun_WorkInspectTemplate(TestRun_WorkInspectTemplate instance); partial void UpdateTestRun_WorkInspectTemplate(TestRun_WorkInspectTemplate instance); partial void DeleteTestRun_WorkInspectTemplate(TestRun_WorkInspectTemplate instance); @@ -6167,6 +6176,14 @@ namespace Model } } + public System.Data.Linq.Table Manager_Month_ComplianceObligations + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Manager_Month_ComplianceObligationsC { get @@ -8447,6 +8464,14 @@ namespace Model } } + public System.Data.Linq.Table TestRun_PersonTrainPlan + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table TestRun_SubInspectTerm { get @@ -8479,6 +8504,14 @@ namespace Model } } + public System.Data.Linq.Table TestRun_TrainRecords + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table TestRun_WorkInspectTemplate { get @@ -20820,8 +20853,6 @@ namespace Model private string _CodeRule; - private EntitySet _Doc_DocManage; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -20838,7 +20869,6 @@ namespace Model public Base_DocType() { - this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage)); OnCreated(); } @@ -20922,19 +20952,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Doc_DocManage", ThisKey="DocTypeId", OtherKey="DocTypeId", DeleteRule="NO ACTION")] - public EntitySet Doc_DocManage - { - get - { - return this._Doc_DocManage; - } - set - { - this._Doc_DocManage.Assign(value); - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -20954,18 +20971,6 @@ namespace Model this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } - - private void attach_Doc_DocManage(Doc_DocManage entity) - { - this.SendPropertyChanging(); - entity.Base_DocType = this; - } - - private void detach_Doc_DocManage(Doc_DocManage entity) - { - this.SendPropertyChanging(); - entity.Base_DocType = null; - } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_EmergencyType")] @@ -25799,6 +25804,10 @@ namespace Model private EntitySet _Sys_UserRead; + private EntitySet _TestRun_PersonTrainPlan; + + private EntitySet _TestRun_TrainRecords; + private EntitySet _Training_Plan; private EntitySet _Training_Task; @@ -26196,6 +26205,8 @@ namespace Model this._Sys_RoleItem = new EntitySet(new Action(this.attach_Sys_RoleItem), new Action(this.detach_Sys_RoleItem)); this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); this._Sys_UserRead = new EntitySet(new Action(this.attach_Sys_UserRead), new Action(this.detach_Sys_UserRead)); + this._TestRun_PersonTrainPlan = new EntitySet(new Action(this.attach_TestRun_PersonTrainPlan), new Action(this.detach_TestRun_PersonTrainPlan)); + this._TestRun_TrainRecords = new EntitySet(new Action(this.attach_TestRun_TrainRecords), new Action(this.detach_TestRun_TrainRecords)); this._Training_Plan = new EntitySet(new Action(this.attach_Training_Plan), new Action(this.detach_Training_Plan)); this._Training_Task = new EntitySet(new Action(this.attach_Training_Task), new Action(this.detach_Training_Task)); this._Training_TestPlan = new EntitySet(new Action(this.attach_Training_TestPlan), new Action(this.detach_Training_TestPlan)); @@ -30591,6 +30602,32 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_PersonTrainPlan_Base_Project", Storage="_TestRun_PersonTrainPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet TestRun_PersonTrainPlan + { + get + { + return this._TestRun_PersonTrainPlan; + } + set + { + this._TestRun_PersonTrainPlan.Assign(value); + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_TrainRecords_Base_Project", Storage="_TestRun_TrainRecords", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet TestRun_TrainRecords + { + get + { + return this._TestRun_TrainRecords; + } + set + { + this._TestRun_TrainRecords.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_Project", Storage="_Training_Plan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet Training_Plan { @@ -34086,6 +34123,30 @@ namespace Model entity.Base_Project = null; } + private void attach_TestRun_PersonTrainPlan(TestRun_PersonTrainPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_TestRun_PersonTrainPlan(TestRun_PersonTrainPlan entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + + private void attach_TestRun_TrainRecords(TestRun_TrainRecords entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_TestRun_TrainRecords(TestRun_TrainRecords entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_Training_Plan(Training_Plan entity) { this.SendPropertyChanging(); @@ -116661,8 +116722,6 @@ namespace Model private EntityRef _Base_CNProfessional; - private EntityRef _Base_DocType; - private EntityRef _Base_Project; private EntityRef _Base_Unit; @@ -116714,7 +116773,6 @@ namespace Model public Doc_DocManage() { this._Base_CNProfessional = default(EntityRef); - this._Base_DocType = default(EntityRef); this._Base_Project = default(EntityRef); this._Base_Unit = default(EntityRef); this._Sys_User = default(EntityRef); @@ -116793,10 +116851,6 @@ namespace Model { if ((this._DocTypeId != value)) { - if (this._Base_DocType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnDocTypeIdChanging(value); this.SendPropertyChanging(); this._DocTypeId = value; @@ -117116,40 +117170,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Base_DocType", ThisKey="DocTypeId", OtherKey="DocTypeId", IsForeignKey=true)] - public Base_DocType Base_DocType - { - get - { - return this._Base_DocType.Entity; - } - set - { - Base_DocType previousValue = this._Base_DocType.Entity; - if (((previousValue != value) - || (this._Base_DocType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_DocType.Entity = null; - previousValue.Doc_DocManage.Remove(this); - } - this._Base_DocType.Entity = value; - if ((value != null)) - { - value.Doc_DocManage.Add(this); - this._DocTypeId = value.DocTypeId; - } - else - { - this._DocTypeId = default(string); - } - this.SendPropertyChanged("Base_DocType"); - } - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] public Base_Project Base_Project { @@ -117320,8 +117340,6 @@ namespace Model private EntityRef _Doc_DocManage; - private EntityRef _Sys_User; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -117345,7 +117363,6 @@ namespace Model public Doc_DocManageApprove() { this._Doc_DocManage = default(EntityRef); - this._Sys_User = default(EntityRef); OnCreated(); } @@ -117393,7 +117410,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(500)")] public string ApproveMan { get @@ -117404,10 +117421,6 @@ namespace Model { if ((this._ApproveMan != value)) { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnApproveManChanging(value); this.SendPropertyChanging(); this._ApproveMan = value; @@ -117531,40 +117544,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Sys_User", ThisKey="ApproveMan", 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.Doc_DocManageApprove.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Doc_DocManageApprove.Add(this); - this._ApproveMan = value.UserId; - } - else - { - this._ApproveMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -227243,6 +227222,229 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligations")] + public partial class Manager_Month_ComplianceObligations : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _ComplianceObligationsId; + + private string _MonthReportId; + + private string _InformationContent; + + private string _ResponseMeasures; + + private string _ImplementationStatus; + + private string _EvaluationConclusion; + + private EntityRef _Manager_MonthReportC; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnComplianceObligationsIdChanging(string value); + partial void OnComplianceObligationsIdChanged(); + partial void OnMonthReportIdChanging(string value); + partial void OnMonthReportIdChanged(); + partial void OnInformationContentChanging(string value); + partial void OnInformationContentChanged(); + partial void OnResponseMeasuresChanging(string value); + partial void OnResponseMeasuresChanged(); + partial void OnImplementationStatusChanging(string value); + partial void OnImplementationStatusChanged(); + partial void OnEvaluationConclusionChanging(string value); + partial void OnEvaluationConclusionChanged(); + #endregion + + public Manager_Month_ComplianceObligations() + { + this._Manager_MonthReportC = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComplianceObligationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string ComplianceObligationsId + { + get + { + return this._ComplianceObligationsId; + } + set + { + if ((this._ComplianceObligationsId != value)) + { + this.OnComplianceObligationsIdChanging(value); + this.SendPropertyChanging(); + this._ComplianceObligationsId = value; + this.SendPropertyChanged("ComplianceObligationsId"); + this.OnComplianceObligationsIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthReportId", DbType="NVarChar(50)")] + public string MonthReportId + { + get + { + return this._MonthReportId; + } + set + { + if ((this._MonthReportId != value)) + { + if (this._Manager_MonthReportC.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnMonthReportIdChanging(value); + this.SendPropertyChanging(); + this._MonthReportId = value; + this.SendPropertyChanged("MonthReportId"); + this.OnMonthReportIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InformationContent", DbType="NVarChar(500)")] + public string InformationContent + { + get + { + return this._InformationContent; + } + set + { + if ((this._InformationContent != value)) + { + this.OnInformationContentChanging(value); + this.SendPropertyChanging(); + this._InformationContent = value; + this.SendPropertyChanged("InformationContent"); + this.OnInformationContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponseMeasures", DbType="NVarChar(500)")] + public string ResponseMeasures + { + get + { + return this._ResponseMeasures; + } + set + { + if ((this._ResponseMeasures != value)) + { + this.OnResponseMeasuresChanging(value); + this.SendPropertyChanging(); + this._ResponseMeasures = value; + this.SendPropertyChanged("ResponseMeasures"); + this.OnResponseMeasuresChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImplementationStatus", DbType="NVarChar(500)")] + public string ImplementationStatus + { + get + { + return this._ImplementationStatus; + } + set + { + if ((this._ImplementationStatus != value)) + { + this.OnImplementationStatusChanging(value); + this.SendPropertyChanging(); + this._ImplementationStatus = value; + this.SendPropertyChanged("ImplementationStatus"); + this.OnImplementationStatusChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EvaluationConclusion", DbType="NVarChar(50)")] + public string EvaluationConclusion + { + get + { + return this._EvaluationConclusion; + } + set + { + if ((this._EvaluationConclusion != value)) + { + this.OnEvaluationConclusionChanging(value); + this.SendPropertyChanging(); + this._EvaluationConclusion = value; + this.SendPropertyChanged("EvaluationConclusion"); + this.OnEvaluationConclusionChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_MonthReportC", ThisKey="MonthReportId", OtherKey="MonthReportId", IsForeignKey=true)] + public Manager_MonthReportC Manager_MonthReportC + { + get + { + return this._Manager_MonthReportC.Entity; + } + set + { + Manager_MonthReportC previousValue = this._Manager_MonthReportC.Entity; + if (((previousValue != value) + || (this._Manager_MonthReportC.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Manager_MonthReportC.Entity = null; + previousValue.Manager_Month_ComplianceObligations.Remove(this); + } + this._Manager_MonthReportC.Entity = value; + if ((value != null)) + { + value.Manager_Month_ComplianceObligations.Add(this); + this._MonthReportId = value.MonthReportId; + } + else + { + this._MonthReportId = default(string); + } + this.SendPropertyChanged("Manager_MonthReportC"); + } + } + } + + 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.Manager_Month_ComplianceObligationsC")] public partial class Manager_Month_ComplianceObligationsC : INotifyPropertyChanging, INotifyPropertyChanged { @@ -233442,6 +233644,8 @@ namespace Model private EntitySet _Manager_Month_CheckC; + private EntitySet _Manager_Month_ComplianceObligations; + private EntitySet _Manager_Month_ComplianceObligationsC; private EntitySet _Manager_Month_CostInvestmentPlanC; @@ -233714,6 +233918,7 @@ namespace Model this._Manager_Month_ActivitiesC = new EntitySet(new Action(this.attach_Manager_Month_ActivitiesC), new Action(this.detach_Manager_Month_ActivitiesC)); this._Manager_Month_ActivityDesC = new EntitySet(new Action(this.attach_Manager_Month_ActivityDesC), new Action(this.detach_Manager_Month_ActivityDesC)); this._Manager_Month_CheckC = new EntitySet(new Action(this.attach_Manager_Month_CheckC), new Action(this.detach_Manager_Month_CheckC)); + this._Manager_Month_ComplianceObligations = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligations), new Action(this.detach_Manager_Month_ComplianceObligations)); this._Manager_Month_ComplianceObligationsC = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligationsC), new Action(this.detach_Manager_Month_ComplianceObligationsC)); this._Manager_Month_CostInvestmentPlanC = new EntitySet(new Action(this.attach_Manager_Month_CostInvestmentPlanC), new Action(this.detach_Manager_Month_CostInvestmentPlanC)); this._Manager_Month_EmergencyExercisesC = new EntitySet(new Action(this.attach_Manager_Month_EmergencyExercisesC), new Action(this.detach_Manager_Month_EmergencyExercisesC)); @@ -235894,6 +236099,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligations", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")] + public EntitySet Manager_Month_ComplianceObligations + { + get + { + return this._Manager_Month_ComplianceObligations; + } + set + { + this._Manager_Month_ComplianceObligations.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligationsC_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligationsC", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")] public EntitySet Manager_Month_ComplianceObligationsC { @@ -236475,6 +236693,18 @@ namespace Model entity.Manager_MonthReportC = null; } + private void attach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity) + { + this.SendPropertyChanging(); + entity.Manager_MonthReportC = this; + } + + private void detach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity) + { + this.SendPropertyChanging(); + entity.Manager_MonthReportC = null; + } + private void attach_Manager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC entity) { this.SendPropertyChanging(); @@ -263989,7 +264219,7 @@ namespace Model private System.Nullable _ProblemType; - private string _SubInspectId; + private string _QuestionTechnologyId; private string _TermItemId; @@ -264003,18 +264233,20 @@ namespace Model private string _InspectUser; - private string _HandleUser; - private string _ApproveUser; - private System.Nullable _AdjustCompleteTime; - private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; + private string _HandleUser; + + private System.Nullable _AdjustCompleteTime; + + private string _SubInspectId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -264031,8 +264263,8 @@ namespace Model partial void OnConstructionUnitChanged(); partial void OnProblemTypeChanging(System.Nullable value); partial void OnProblemTypeChanged(); - partial void OnSubInspectIdChanging(string value); - partial void OnSubInspectIdChanged(); + partial void OnQuestionTechnologyIdChanging(string value); + partial void OnQuestionTechnologyIdChanged(); partial void OnTermItemIdChanging(string value); partial void OnTermItemIdChanged(); partial void OnWorkPackIdChanging(string value); @@ -264045,18 +264277,20 @@ namespace Model partial void OnRectifyTimeChanged(); partial void OnInspectUserChanging(string value); partial void OnInspectUserChanged(); - partial void OnHandleUserChanging(string value); - partial void OnHandleUserChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); - partial void OnAdjustCompleteTimeChanging(System.Nullable value); - partial void OnAdjustCompleteTimeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); + partial void OnHandleUserChanging(string value); + partial void OnHandleUserChanged(); + partial void OnAdjustCompleteTimeChanging(System.Nullable value); + partial void OnAdjustCompleteTimeChanged(); + partial void OnSubInspectIdChanging(string value); + partial void OnSubInspectIdChanged(); #endregion public PreRun_InspectTailTerm() @@ -264184,22 +264418,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="VarChar(50)")] - public string SubInspectId + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuestionTechnologyId", DbType="VarChar(50)")] + public string QuestionTechnologyId { get { - return this._SubInspectId; + return this._QuestionTechnologyId; } set { - if ((this._SubInspectId != value)) + if ((this._QuestionTechnologyId != value)) { - this.OnSubInspectIdChanging(value); + this.OnQuestionTechnologyIdChanging(value); this.SendPropertyChanging(); - this._SubInspectId = value; - this.SendPropertyChanged("SubInspectId"); - this.OnSubInspectIdChanged(); + this._QuestionTechnologyId = value; + this.SendPropertyChanged("QuestionTechnologyId"); + this.OnQuestionTechnologyIdChanged(); } } } @@ -264324,26 +264558,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] - public string HandleUser - { - get - { - return this._HandleUser; - } - set - { - if ((this._HandleUser != value)) - { - this.OnHandleUserChanging(value); - this.SendPropertyChanging(); - this._HandleUser = value; - this.SendPropertyChanged("HandleUser"); - this.OnHandleUserChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveUser", DbType="VarChar(50)")] public string ApproveUser { @@ -264364,26 +264578,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] - public System.Nullable AdjustCompleteTime - { - get - { - return this._AdjustCompleteTime; - } - set - { - if ((this._AdjustCompleteTime != value)) - { - this.OnAdjustCompleteTimeChanging(value); - this.SendPropertyChanging(); - this._AdjustCompleteTime = value; - this.SendPropertyChanged("AdjustCompleteTime"); - this.OnAdjustCompleteTimeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -264444,6 +264638,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] + public string HandleUser + { + get + { + return this._HandleUser; + } + set + { + if ((this._HandleUser != value)) + { + this.OnHandleUserChanging(value); + this.SendPropertyChanging(); + this._HandleUser = value; + this.SendPropertyChanged("HandleUser"); + this.OnHandleUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] + public System.Nullable AdjustCompleteTime + { + get + { + return this._AdjustCompleteTime; + } + set + { + if ((this._AdjustCompleteTime != value)) + { + this.OnAdjustCompleteTimeChanging(value); + this.SendPropertyChanging(); + this._AdjustCompleteTime = value; + this.SendPropertyChanged("AdjustCompleteTime"); + this.OnAdjustCompleteTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="NVarChar(50)")] + public string SubInspectId + { + get + { + return this._SubInspectId; + } + set + { + if ((this._SubInspectId != value)) + { + this.OnSubInspectIdChanging(value); + this.SendPropertyChanging(); + this._SubInspectId = value; + this.SendPropertyChanged("SubInspectId"); + this.OnSubInspectIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -264485,14 +264739,14 @@ namespace Model private string _ApproveUser; - private System.Nullable _ApproveType; - private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; + private System.Nullable _ApproveType; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -264511,14 +264765,14 @@ namespace Model partial void OnApproveTimeChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); - partial void OnApproveTypeChanging(System.Nullable value); - partial void OnApproveTypeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); + partial void OnApproveTypeChanging(System.Nullable value); + partial void OnApproveTypeChanged(); #endregion public PreRun_InspectTermApproveRecords() @@ -264666,26 +264920,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] - public System.Nullable ApproveType - { - get - { - return this._ApproveType; - } - set - { - if ((this._ApproveType != value)) - { - this.OnApproveTypeChanging(value); - this.SendPropertyChanging(); - this._ApproveType = value; - this.SendPropertyChanged("ApproveType"); - this.OnApproveTypeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -264746,6 +264980,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] + public System.Nullable ApproveType + { + get + { + return this._ApproveType; + } + set + { + if ((this._ApproveType != value)) + { + this.OnApproveTypeChanging(value); + this.SendPropertyChanging(); + this._ApproveType = value; + this.SendPropertyChanged("ApproveType"); + this.OnApproveTypeChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -265678,7 +265932,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get @@ -265801,6 +266055,12 @@ namespace Model private string _InspectResult; + private System.Nullable _InspectTime; + + private string _AddUser; + + private System.Nullable _AddTime; + private string _Subcontractor; private string _Contractor; @@ -265809,6 +266069,12 @@ namespace Model private string _Owner; + private System.Nullable _IsUnifyWanderAbout; + + private System.Nullable _UnifyWanderAboutData; + + private string _UnifyWanderAboutOpinion; + private System.Nullable _InspectionIsAllPass; private System.Nullable _SubcontractorIsAllPass; @@ -265819,9 +266085,7 @@ namespace Model private System.Nullable _OwnerIsAllPass; - private System.Nullable _WorkPackType; - - private string _PropertyTechnologyId; + private System.Nullable _WanderIsComplete; private System.Nullable _SubcontractorAllPassData; @@ -265831,35 +266095,25 @@ namespace Model private System.Nullable _OwnerAllPassData; - private System.Nullable _WanderIsComplete; - private System.Nullable _WanderCompleteData; + private System.Nullable _WorkPackType; + private System.Nullable _IsSiteImplement; - private string _SiteImplementUser; - - private System.Nullable _SiteImplementConfirmData; - - private System.Nullable _RecordUploadData; - private System.Nullable _InspectIsClose; - private string _InspectIsCloseUser; - private System.Nullable _InspectCloseData; - private System.Nullable _IsUnifyWanderAbout; + private string _InspectIsCloseUser; - private System.Nullable _UnifyWanderAboutData; + private string _PropertyTechnologyId; - private string _UnifyWanderAboutOpinion; + private System.Nullable _RecordUploadData; - private System.Nullable _InspectTime; + private System.Nullable _SiteImplementConfirmData; - private string _AddUser; - - private System.Nullable _AddTime; + private string _SiteImplementUser; #region 可扩展性方法定义 partial void OnLoaded(); @@ -265881,6 +266135,12 @@ namespace Model partial void OnWorkPackIdChanged(); partial void OnInspectResultChanging(string value); partial void OnInspectResultChanged(); + partial void OnInspectTimeChanging(System.Nullable value); + partial void OnInspectTimeChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); partial void OnSubcontractorChanging(string value); partial void OnSubcontractorChanged(); partial void OnContractorChanging(string value); @@ -265889,6 +266149,12 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); + partial void OnIsUnifyWanderAboutChanging(System.Nullable value); + partial void OnIsUnifyWanderAboutChanged(); + partial void OnUnifyWanderAboutDataChanging(System.Nullable value); + partial void OnUnifyWanderAboutDataChanged(); + partial void OnUnifyWanderAboutOpinionChanging(string value); + partial void OnUnifyWanderAboutOpinionChanged(); partial void OnInspectionIsAllPassChanging(System.Nullable value); partial void OnInspectionIsAllPassChanged(); partial void OnSubcontractorIsAllPassChanging(System.Nullable value); @@ -265899,10 +266165,8 @@ namespace Model partial void OnSupervisionIsAllPassChanged(); partial void OnOwnerIsAllPassChanging(System.Nullable value); partial void OnOwnerIsAllPassChanged(); - partial void OnWorkPackTypeChanging(System.Nullable value); - partial void OnWorkPackTypeChanged(); - partial void OnPropertyTechnologyIdChanging(string value); - partial void OnPropertyTechnologyIdChanged(); + partial void OnWanderIsCompleteChanging(System.Nullable value); + partial void OnWanderIsCompleteChanged(); partial void OnSubcontractorAllPassDataChanging(System.Nullable value); partial void OnSubcontractorAllPassDataChanged(); partial void OnContractorAllPassDataChanging(System.Nullable value); @@ -265911,36 +266175,26 @@ namespace Model partial void OnSupervisionAllPassDataChanged(); partial void OnOwnerAllPassDataChanging(System.Nullable value); partial void OnOwnerAllPassDataChanged(); - partial void OnWanderIsCompleteChanging(System.Nullable value); - partial void OnWanderIsCompleteChanged(); partial void OnWanderCompleteDataChanging(System.Nullable value); partial void OnWanderCompleteDataChanged(); + partial void OnWorkPackTypeChanging(System.Nullable value); + partial void OnWorkPackTypeChanged(); partial void OnIsSiteImplementChanging(System.Nullable value); partial void OnIsSiteImplementChanged(); - partial void OnSiteImplementUserChanging(string value); - partial void OnSiteImplementUserChanged(); - partial void OnSiteImplementConfirmDataChanging(System.Nullable value); - partial void OnSiteImplementConfirmDataChanged(); - partial void OnRecordUploadDataChanging(System.Nullable value); - partial void OnRecordUploadDataChanged(); partial void OnInspectIsCloseChanging(System.Nullable value); partial void OnInspectIsCloseChanged(); - partial void OnInspectIsCloseUserChanging(string value); - partial void OnInspectIsCloseUserChanged(); partial void OnInspectCloseDataChanging(System.Nullable value); partial void OnInspectCloseDataChanged(); - partial void OnIsUnifyWanderAboutChanging(System.Nullable value); - partial void OnIsUnifyWanderAboutChanged(); - partial void OnUnifyWanderAboutDataChanging(System.Nullable value); - partial void OnUnifyWanderAboutDataChanged(); - partial void OnUnifyWanderAboutOpinionChanging(string value); - partial void OnUnifyWanderAboutOpinionChanged(); - partial void OnInspectTimeChanging(System.Nullable value); - partial void OnInspectTimeChanged(); - partial void OnAddUserChanging(string value); - partial void OnAddUserChanged(); - partial void OnAddTimeChanging(System.Nullable value); - partial void OnAddTimeChanged(); + partial void OnInspectIsCloseUserChanging(string value); + partial void OnInspectIsCloseUserChanged(); + partial void OnPropertyTechnologyIdChanging(string value); + partial void OnPropertyTechnologyIdChanged(); + partial void OnRecordUploadDataChanging(System.Nullable value); + partial void OnRecordUploadDataChanged(); + partial void OnSiteImplementConfirmDataChanging(System.Nullable value); + partial void OnSiteImplementConfirmDataChanged(); + partial void OnSiteImplementUserChanging(string value); + partial void OnSiteImplementUserChanged(); #endregion public PreRun_SubInspectTerm() @@ -266108,6 +266362,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] + public System.Nullable InspectTime + { + get + { + return this._InspectTime; + } + set + { + if ((this._InspectTime != value)) + { + this.OnInspectTimeChanging(value); + this.SendPropertyChanging(); + this._InspectTime = value; + this.SendPropertyChanged("InspectTime"); + this.OnInspectTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subcontractor", DbType="VarChar(50)")] public string Subcontractor { @@ -266188,6 +266502,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")] + public System.Nullable IsUnifyWanderAbout + { + get + { + return this._IsUnifyWanderAbout; + } + set + { + if ((this._IsUnifyWanderAbout != value)) + { + this.OnIsUnifyWanderAboutChanging(value); + this.SendPropertyChanging(); + this._IsUnifyWanderAbout = value; + this.SendPropertyChanged("IsUnifyWanderAbout"); + this.OnIsUnifyWanderAboutChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")] + public System.Nullable UnifyWanderAboutData + { + get + { + return this._UnifyWanderAboutData; + } + set + { + if ((this._UnifyWanderAboutData != value)) + { + this.OnUnifyWanderAboutDataChanging(value); + this.SendPropertyChanging(); + this._UnifyWanderAboutData = value; + this.SendPropertyChanged("UnifyWanderAboutData"); + this.OnUnifyWanderAboutDataChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string UnifyWanderAboutOpinion + { + get + { + return this._UnifyWanderAboutOpinion; + } + set + { + if ((this._UnifyWanderAboutOpinion != value)) + { + this.OnUnifyWanderAboutOpinionChanging(value); + this.SendPropertyChanging(); + this._UnifyWanderAboutOpinion = value; + this.SendPropertyChanged("UnifyWanderAboutOpinion"); + this.OnUnifyWanderAboutOpinionChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionIsAllPass", DbType="Int")] public System.Nullable InspectionIsAllPass { @@ -266288,42 +266662,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] - public System.Nullable WorkPackType + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")] + public System.Nullable WanderIsComplete { get { - return this._WorkPackType; + return this._WanderIsComplete; } set { - if ((this._WorkPackType != value)) + if ((this._WanderIsComplete != value)) { - this.OnWorkPackTypeChanging(value); + this.OnWanderIsCompleteChanging(value); this.SendPropertyChanging(); - this._WorkPackType = value; - this.SendPropertyChanged("WorkPackType"); - this.OnWorkPackTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string PropertyTechnologyId - { - get - { - return this._PropertyTechnologyId; - } - set - { - if ((this._PropertyTechnologyId != value)) - { - this.OnPropertyTechnologyIdChanging(value); - this.SendPropertyChanging(); - this._PropertyTechnologyId = value; - this.SendPropertyChanged("PropertyTechnologyId"); - this.OnPropertyTechnologyIdChanged(); + this._WanderIsComplete = value; + this.SendPropertyChanged("WanderIsComplete"); + this.OnWanderIsCompleteChanged(); } } } @@ -266408,26 +266762,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")] - public System.Nullable WanderIsComplete - { - get - { - return this._WanderIsComplete; - } - set - { - if ((this._WanderIsComplete != value)) - { - this.OnWanderIsCompleteChanging(value); - this.SendPropertyChanging(); - this._WanderIsComplete = value; - this.SendPropertyChanged("WanderIsComplete"); - this.OnWanderIsCompleteChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderCompleteData", DbType="DateTime")] public System.Nullable WanderCompleteData { @@ -266448,6 +266782,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] + public System.Nullable WorkPackType + { + get + { + return this._WorkPackType; + } + set + { + if ((this._WorkPackType != value)) + { + this.OnWorkPackTypeChanging(value); + this.SendPropertyChanging(); + this._WorkPackType = value; + this.SendPropertyChanged("WorkPackType"); + this.OnWorkPackTypeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSiteImplement", DbType="Int")] public System.Nullable IsSiteImplement { @@ -266468,66 +266822,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="VarChar(50)")] - public string SiteImplementUser - { - get - { - return this._SiteImplementUser; - } - set - { - if ((this._SiteImplementUser != value)) - { - this.OnSiteImplementUserChanging(value); - this.SendPropertyChanging(); - this._SiteImplementUser = value; - this.SendPropertyChanged("SiteImplementUser"); - this.OnSiteImplementUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")] - public System.Nullable SiteImplementConfirmData - { - get - { - return this._SiteImplementConfirmData; - } - set - { - if ((this._SiteImplementConfirmData != value)) - { - this.OnSiteImplementConfirmDataChanging(value); - this.SendPropertyChanging(); - this._SiteImplementConfirmData = value; - this.SendPropertyChanged("SiteImplementConfirmData"); - this.OnSiteImplementConfirmDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")] - public System.Nullable RecordUploadData - { - get - { - return this._RecordUploadData; - } - set - { - if ((this._RecordUploadData != value)) - { - this.OnRecordUploadDataChanging(value); - this.SendPropertyChanging(); - this._RecordUploadData = value; - this.SendPropertyChanged("RecordUploadData"); - this.OnRecordUploadDataChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsClose", DbType="Int")] public System.Nullable InspectIsClose { @@ -266548,26 +266842,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="VarChar(50)")] - public string InspectIsCloseUser - { - get - { - return this._InspectIsCloseUser; - } - set - { - if ((this._InspectIsCloseUser != value)) - { - this.OnInspectIsCloseUserChanging(value); - this.SendPropertyChanging(); - this._InspectIsCloseUser = value; - this.SendPropertyChanged("InspectIsCloseUser"); - this.OnInspectIsCloseUserChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectCloseData", DbType="DateTime")] public System.Nullable InspectCloseData { @@ -266588,122 +266862,102 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")] - public System.Nullable IsUnifyWanderAbout + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="NVarChar(50)")] + public string InspectIsCloseUser { get { - return this._IsUnifyWanderAbout; + return this._InspectIsCloseUser; } set { - if ((this._IsUnifyWanderAbout != value)) + if ((this._InspectIsCloseUser != value)) { - this.OnIsUnifyWanderAboutChanging(value); + this.OnInspectIsCloseUserChanging(value); this.SendPropertyChanging(); - this._IsUnifyWanderAbout = value; - this.SendPropertyChanged("IsUnifyWanderAbout"); - this.OnIsUnifyWanderAboutChanged(); + this._InspectIsCloseUser = value; + this.SendPropertyChanged("InspectIsCloseUser"); + this.OnInspectIsCloseUserChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")] - public System.Nullable UnifyWanderAboutData + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="NVarChar(500)")] + public string PropertyTechnologyId { get { - return this._UnifyWanderAboutData; + return this._PropertyTechnologyId; } set { - if ((this._UnifyWanderAboutData != value)) + if ((this._PropertyTechnologyId != value)) { - this.OnUnifyWanderAboutDataChanging(value); + this.OnPropertyTechnologyIdChanging(value); this.SendPropertyChanging(); - this._UnifyWanderAboutData = value; - this.SendPropertyChanged("UnifyWanderAboutData"); - this.OnUnifyWanderAboutDataChanged(); + this._PropertyTechnologyId = value; + this.SendPropertyChanged("PropertyTechnologyId"); + this.OnPropertyTechnologyIdChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string UnifyWanderAboutOpinion + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")] + public System.Nullable RecordUploadData { get { - return this._UnifyWanderAboutOpinion; + return this._RecordUploadData; } set { - if ((this._UnifyWanderAboutOpinion != value)) + if ((this._RecordUploadData != value)) { - this.OnUnifyWanderAboutOpinionChanging(value); + this.OnRecordUploadDataChanging(value); this.SendPropertyChanging(); - this._UnifyWanderAboutOpinion = value; - this.SendPropertyChanged("UnifyWanderAboutOpinion"); - this.OnUnifyWanderAboutOpinionChanged(); + this._RecordUploadData = value; + this.SendPropertyChanged("RecordUploadData"); + this.OnRecordUploadDataChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] - public System.Nullable InspectTime + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")] + public System.Nullable SiteImplementConfirmData { get { - return this._InspectTime; + return this._SiteImplementConfirmData; } set { - if ((this._InspectTime != value)) + if ((this._SiteImplementConfirmData != value)) { - this.OnInspectTimeChanging(value); + this.OnSiteImplementConfirmDataChanging(value); this.SendPropertyChanging(); - this._InspectTime = value; - this.SendPropertyChanged("InspectTime"); - this.OnInspectTimeChanged(); + this._SiteImplementConfirmData = value; + this.SendPropertyChanged("SiteImplementConfirmData"); + this.OnSiteImplementConfirmDataChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] - public string AddUser + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="NVarChar(50)")] + public string SiteImplementUser { get { - return this._AddUser; + return this._SiteImplementUser; } set { - if ((this._AddUser != value)) + if ((this._SiteImplementUser != value)) { - this.OnAddUserChanging(value); + this.OnSiteImplementUserChanging(value); this.SendPropertyChanging(); - this._AddUser = value; - this.SendPropertyChanged("AddUser"); - this.OnAddUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] - public System.Nullable AddTime - { - get - { - return this._AddTime; - } - set - { - if ((this._AddTime != value)) - { - this.OnAddTimeChanging(value); - this.SendPropertyChanging(); - this._AddTime = value; - this.SendPropertyChanged("AddTime"); - this.OnAddTimeChanged(); + this._SiteImplementUser = value; + this.SendPropertyChanged("SiteImplementUser"); + this.OnSiteImplementUserChanged(); } } } @@ -266771,22 +267025,6 @@ namespace Model private string _Owner; - private System.Nullable _SubcontractorIsPass; - - private System.Nullable _ContractorIsPass; - - private System.Nullable _SupervisionIsPass; - - private System.Nullable _OwnerIsPass; - - private string _SubcontractorRemark; - - private string _ContractorRemark; - - private string _SupervisionRemark; - - private string _OwnerRemark; - private System.Nullable _WorkPackType; private string _PropertyTechnologyId; @@ -266799,6 +267037,22 @@ namespace Model private System.Nullable _Sort; + private string _SubcontractorRemark; + + private string _ContractorRemark; + + private string _SupervisionRemark; + + private string _OwnerRemark; + + private System.Nullable _SubcontractorIsPass; + + private System.Nullable _ContractorIsPass; + + private System.Nullable _SupervisionIsPass; + + private System.Nullable _OwnerIsPass; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -266839,22 +267093,6 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); - partial void OnSubcontractorIsPassChanging(System.Nullable value); - partial void OnSubcontractorIsPassChanged(); - partial void OnContractorIsPassChanging(System.Nullable value); - partial void OnContractorIsPassChanged(); - partial void OnSupervisionIsPassChanging(System.Nullable value); - partial void OnSupervisionIsPassChanged(); - partial void OnOwnerIsPassChanging(System.Nullable value); - partial void OnOwnerIsPassChanged(); - partial void OnSubcontractorRemarkChanging(string value); - partial void OnSubcontractorRemarkChanged(); - partial void OnContractorRemarkChanging(string value); - partial void OnContractorRemarkChanged(); - partial void OnSupervisionRemarkChanging(string value); - partial void OnSupervisionRemarkChanged(); - partial void OnOwnerRemarkChanging(string value); - partial void OnOwnerRemarkChanged(); partial void OnWorkPackTypeChanging(System.Nullable value); partial void OnWorkPackTypeChanged(); partial void OnPropertyTechnologyIdChanging(string value); @@ -266867,6 +267105,22 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnSubcontractorRemarkChanging(string value); + partial void OnSubcontractorRemarkChanged(); + partial void OnContractorRemarkChanging(string value); + partial void OnContractorRemarkChanged(); + partial void OnSupervisionRemarkChanging(string value); + partial void OnSupervisionRemarkChanged(); + partial void OnOwnerRemarkChanging(string value); + partial void OnOwnerRemarkChanged(); + partial void OnSubcontractorIsPassChanging(System.Nullable value); + partial void OnSubcontractorIsPassChanged(); + partial void OnContractorIsPassChanging(System.Nullable value); + partial void OnContractorIsPassChanged(); + partial void OnSupervisionIsPassChanging(System.Nullable value); + partial void OnSupervisionIsPassChanged(); + partial void OnOwnerIsPassChanging(System.Nullable value); + partial void OnOwnerIsPassChanged(); #endregion public PreRun_SubInspectTermItem() @@ -267234,166 +267488,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")] - public System.Nullable SubcontractorIsPass - { - get - { - return this._SubcontractorIsPass; - } - set - { - if ((this._SubcontractorIsPass != value)) - { - this.OnSubcontractorIsPassChanging(value); - this.SendPropertyChanging(); - this._SubcontractorIsPass = value; - this.SendPropertyChanged("SubcontractorIsPass"); - this.OnSubcontractorIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")] - public System.Nullable ContractorIsPass - { - get - { - return this._ContractorIsPass; - } - set - { - if ((this._ContractorIsPass != value)) - { - this.OnContractorIsPassChanging(value); - this.SendPropertyChanging(); - this._ContractorIsPass = value; - this.SendPropertyChanged("ContractorIsPass"); - this.OnContractorIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")] - public System.Nullable SupervisionIsPass - { - get - { - return this._SupervisionIsPass; - } - set - { - if ((this._SupervisionIsPass != value)) - { - this.OnSupervisionIsPassChanging(value); - this.SendPropertyChanging(); - this._SupervisionIsPass = value; - this.SendPropertyChanged("SupervisionIsPass"); - this.OnSupervisionIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")] - public System.Nullable OwnerIsPass - { - get - { - return this._OwnerIsPass; - } - set - { - if ((this._OwnerIsPass != value)) - { - this.OnOwnerIsPassChanging(value); - this.SendPropertyChanging(); - this._OwnerIsPass = value; - this.SendPropertyChanged("OwnerIsPass"); - this.OnOwnerIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")] - public string SubcontractorRemark - { - get - { - return this._SubcontractorRemark; - } - set - { - if ((this._SubcontractorRemark != value)) - { - this.OnSubcontractorRemarkChanging(value); - this.SendPropertyChanging(); - this._SubcontractorRemark = value; - this.SendPropertyChanged("SubcontractorRemark"); - this.OnSubcontractorRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")] - public string ContractorRemark - { - get - { - return this._ContractorRemark; - } - set - { - if ((this._ContractorRemark != value)) - { - this.OnContractorRemarkChanging(value); - this.SendPropertyChanging(); - this._ContractorRemark = value; - this.SendPropertyChanged("ContractorRemark"); - this.OnContractorRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")] - public string SupervisionRemark - { - get - { - return this._SupervisionRemark; - } - set - { - if ((this._SupervisionRemark != value)) - { - this.OnSupervisionRemarkChanging(value); - this.SendPropertyChanging(); - this._SupervisionRemark = value; - this.SendPropertyChanged("SupervisionRemark"); - this.OnSupervisionRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")] - public string OwnerRemark - { - get - { - return this._OwnerRemark; - } - set - { - if ((this._OwnerRemark != value)) - { - this.OnOwnerRemarkChanging(value); - this.SendPropertyChanging(); - this._OwnerRemark = value; - this.SendPropertyChanged("OwnerRemark"); - this.OnOwnerRemarkChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] public System.Nullable WorkPackType { @@ -267414,7 +267508,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(50)")] public string PropertyTechnologyId { get @@ -267514,6 +267608,166 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")] + public string SubcontractorRemark + { + get + { + return this._SubcontractorRemark; + } + set + { + if ((this._SubcontractorRemark != value)) + { + this.OnSubcontractorRemarkChanging(value); + this.SendPropertyChanging(); + this._SubcontractorRemark = value; + this.SendPropertyChanged("SubcontractorRemark"); + this.OnSubcontractorRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")] + public string ContractorRemark + { + get + { + return this._ContractorRemark; + } + set + { + if ((this._ContractorRemark != value)) + { + this.OnContractorRemarkChanging(value); + this.SendPropertyChanging(); + this._ContractorRemark = value; + this.SendPropertyChanged("ContractorRemark"); + this.OnContractorRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")] + public string SupervisionRemark + { + get + { + return this._SupervisionRemark; + } + set + { + if ((this._SupervisionRemark != value)) + { + this.OnSupervisionRemarkChanging(value); + this.SendPropertyChanging(); + this._SupervisionRemark = value; + this.SendPropertyChanged("SupervisionRemark"); + this.OnSupervisionRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")] + public string OwnerRemark + { + get + { + return this._OwnerRemark; + } + set + { + if ((this._OwnerRemark != value)) + { + this.OnOwnerRemarkChanging(value); + this.SendPropertyChanging(); + this._OwnerRemark = value; + this.SendPropertyChanged("OwnerRemark"); + this.OnOwnerRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")] + public System.Nullable SubcontractorIsPass + { + get + { + return this._SubcontractorIsPass; + } + set + { + if ((this._SubcontractorIsPass != value)) + { + this.OnSubcontractorIsPassChanging(value); + this.SendPropertyChanging(); + this._SubcontractorIsPass = value; + this.SendPropertyChanged("SubcontractorIsPass"); + this.OnSubcontractorIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")] + public System.Nullable ContractorIsPass + { + get + { + return this._ContractorIsPass; + } + set + { + if ((this._ContractorIsPass != value)) + { + this.OnContractorIsPassChanging(value); + this.SendPropertyChanging(); + this._ContractorIsPass = value; + this.SendPropertyChanged("ContractorIsPass"); + this.OnContractorIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")] + public System.Nullable SupervisionIsPass + { + get + { + return this._SupervisionIsPass; + } + set + { + if ((this._SupervisionIsPass != value)) + { + this.OnSupervisionIsPassChanging(value); + this.SendPropertyChanging(); + this._SupervisionIsPass = value; + this.SendPropertyChanged("SupervisionIsPass"); + this.OnSupervisionIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")] + public System.Nullable OwnerIsPass + { + get + { + return this._OwnerIsPass; + } + set + { + if ((this._OwnerIsPass != value)) + { + this.OnOwnerIsPassChanging(value); + this.SendPropertyChanging(); + this._OwnerIsPass = value; + this.SendPropertyChanged("OwnerIsPass"); + this.OnOwnerIsPassChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -268515,8 +268769,6 @@ namespace Model private string _RestrictCondition; - private System.Nullable _ResponsibilityProposeSatate; - private System.Nullable _ResponsibilityConfirm; private System.Nullable _ProposeConfirm; @@ -268527,11 +268779,9 @@ namespace Model private System.Nullable _OwnerConfirm; - private System.Nullable _ProposeConfirmData; - private System.Nullable _ResponsibilityConfirmData; - private System.Nullable _ProposeHandleData; + private System.Nullable _ProposeConfirmData; private System.Nullable _GeneraConfirmData; @@ -268547,6 +268797,10 @@ namespace Model private System.Nullable _Sort; + private System.Nullable _ResponsibilityProposeSatate; + + private System.Nullable _ProposeHandleData; + private string _FourDecisionCode; #region 可扩展性方法定义 @@ -268583,8 +268837,6 @@ namespace Model partial void OnRealityDestructionTimeChanged(); partial void OnRestrictConditionChanging(string value); partial void OnRestrictConditionChanged(); - partial void OnResponsibilityProposeSatateChanging(System.Nullable value); - partial void OnResponsibilityProposeSatateChanged(); partial void OnResponsibilityConfirmChanging(System.Nullable value); partial void OnResponsibilityConfirmChanged(); partial void OnProposeConfirmChanging(System.Nullable value); @@ -268595,12 +268847,10 @@ namespace Model partial void OnSupervisionConfirmChanged(); partial void OnOwnerConfirmChanging(System.Nullable value); partial void OnOwnerConfirmChanged(); - partial void OnProposeConfirmDataChanging(System.Nullable value); - partial void OnProposeConfirmDataChanged(); partial void OnResponsibilityConfirmDataChanging(System.Nullable value); partial void OnResponsibilityConfirmDataChanged(); - partial void OnProposeHandleDataChanging(System.Nullable value); - partial void OnProposeHandleDataChanged(); + partial void OnProposeConfirmDataChanging(System.Nullable value); + partial void OnProposeConfirmDataChanged(); partial void OnGeneraConfirmDataChanging(System.Nullable value); partial void OnGeneraConfirmDataChanged(); partial void OnSupervisionConfirmDataChanging(System.Nullable value); @@ -268615,6 +268865,10 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnResponsibilityProposeSatateChanging(System.Nullable value); + partial void OnResponsibilityProposeSatateChanged(); + partial void OnProposeHandleDataChanging(System.Nullable value); + partial void OnProposeHandleDataChanged(); partial void OnFourDecisionCodeChanging(string value); partial void OnFourDecisionCodeChanged(); #endregion @@ -268924,26 +269178,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] - public System.Nullable ResponsibilityProposeSatate - { - get - { - return this._ResponsibilityProposeSatate; - } - set - { - if ((this._ResponsibilityProposeSatate != value)) - { - this.OnResponsibilityProposeSatateChanging(value); - this.SendPropertyChanging(); - this._ResponsibilityProposeSatate = value; - this.SendPropertyChanged("ResponsibilityProposeSatate"); - this.OnResponsibilityProposeSatateChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirm", DbType="Int")] public System.Nullable ResponsibilityConfirm { @@ -269044,26 +269278,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] - public System.Nullable ProposeConfirmData - { - get - { - return this._ProposeConfirmData; - } - set - { - if ((this._ProposeConfirmData != value)) - { - this.OnProposeConfirmDataChanging(value); - this.SendPropertyChanging(); - this._ProposeConfirmData = value; - this.SendPropertyChanged("ProposeConfirmData"); - this.OnProposeConfirmDataChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirmData", DbType="DateTime")] public System.Nullable ResponsibilityConfirmData { @@ -269084,22 +269298,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] - public System.Nullable ProposeHandleData + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] + public System.Nullable ProposeConfirmData { get { - return this._ProposeHandleData; + return this._ProposeConfirmData; } set { - if ((this._ProposeHandleData != value)) + if ((this._ProposeConfirmData != value)) { - this.OnProposeHandleDataChanging(value); + this.OnProposeConfirmDataChanging(value); this.SendPropertyChanging(); - this._ProposeHandleData = value; - this.SendPropertyChanged("ProposeHandleData"); - this.OnProposeHandleDataChanged(); + this._ProposeConfirmData = value; + this.SendPropertyChanged("ProposeConfirmData"); + this.OnProposeConfirmDataChanged(); } } } @@ -269244,6 +269458,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] + public System.Nullable ResponsibilityProposeSatate + { + get + { + return this._ResponsibilityProposeSatate; + } + set + { + if ((this._ResponsibilityProposeSatate != value)) + { + this.OnResponsibilityProposeSatateChanging(value); + this.SendPropertyChanging(); + this._ResponsibilityProposeSatate = value; + this.SendPropertyChanged("ResponsibilityProposeSatate"); + this.OnResponsibilityProposeSatateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] + public System.Nullable ProposeHandleData + { + get + { + return this._ProposeHandleData; + } + set + { + if ((this._ProposeHandleData != value)) + { + this.OnProposeHandleDataChanging(value); + this.SendPropertyChanging(); + this._ProposeHandleData = value; + this.SendPropertyChanged("ProposeHandleData"); + this.OnProposeHandleDataChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FourDecisionCode", DbType="VarChar(20)")] public string FourDecisionCode { @@ -269956,7 +270210,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get @@ -334173,8 +334427,6 @@ namespace Model private EntitySet _Doc_DocManage; - private EntitySet _Doc_DocManageApprove; - private EntitySet _Driver_DriverProgress; private EntitySet _Driver_DriverReport; @@ -334643,6 +334895,8 @@ namespace Model private EntitySet _Test_TestPlan; + private EntitySet _TestRun_TrainRecords; + private EntitySet _Training_KnowledgeItem; private EntitySet _Training_Plan; @@ -334876,7 +335130,6 @@ namespace Model this._DataBase_File = new EntitySet(new Action(this.attach_DataBase_File), new Action(this.detach_DataBase_File)); this._DataBase_StartWorkReport = new EntitySet(new Action(this.attach_DataBase_StartWorkReport), new Action(this.detach_DataBase_StartWorkReport)); this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage)); - this._Doc_DocManageApprove = new EntitySet(new Action(this.attach_Doc_DocManageApprove), new Action(this.detach_Doc_DocManageApprove)); this._Driver_DriverProgress = new EntitySet(new Action(this.attach_Driver_DriverProgress), new Action(this.detach_Driver_DriverProgress)); this._Driver_DriverReport = new EntitySet(new Action(this.attach_Driver_DriverReport), new Action(this.detach_Driver_DriverReport)); this._Driver_DriverScheme = new EntitySet(new Action(this.attach_Driver_DriverScheme), new Action(this.detach_Driver_DriverScheme)); @@ -335111,6 +335364,7 @@ namespace Model this._Technique_RectifyItem = new EntitySet(new Action(this.attach_Technique_RectifyItem), new Action(this.detach_Technique_RectifyItem)); this._Technique_SpecialScheme = new EntitySet(new Action(this.attach_Technique_SpecialScheme), new Action(this.detach_Technique_SpecialScheme)); this._Test_TestPlan = new EntitySet(new Action(this.attach_Test_TestPlan), new Action(this.detach_Test_TestPlan)); + this._TestRun_TrainRecords = new EntitySet(new Action(this.attach_TestRun_TrainRecords), new Action(this.detach_TestRun_TrainRecords)); this._Training_KnowledgeItem = new EntitySet(new Action(this.attach_Training_KnowledgeItem), new Action(this.detach_Training_KnowledgeItem)); this._Training_Plan = new EntitySet(new Action(this.attach_Training_Plan), new Action(this.detach_Training_Plan)); this._Training_TestPlan = new EntitySet(new Action(this.attach_Training_TestPlan), new Action(this.detach_Training_TestPlan)); @@ -337249,19 +337503,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Doc_DocManageApprove", ThisKey="UserId", OtherKey="ApproveMan", DeleteRule="NO ACTION")] - public EntitySet Doc_DocManageApprove - { - get - { - return this._Doc_DocManageApprove; - } - set - { - this._Doc_DocManageApprove.Assign(value); - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_DriverProgress_Sys_User", Storage="_Driver_DriverProgress", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] public EntitySet Driver_DriverProgress { @@ -340388,6 +340629,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_TrainRecords_Sys_User", Storage="_TestRun_TrainRecords", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet TestRun_TrainRecords + { + get + { + return this._TestRun_TrainRecords; + } + set + { + this._TestRun_TrainRecords.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_KnowledgeItem_Sys_User1", Storage="_Training_KnowledgeItem", ThisKey="UserId", OtherKey="AuditMan", DeleteRule="NO ACTION")] public EntitySet Training_KnowledgeItem { @@ -341664,18 +341918,6 @@ namespace Model entity.Sys_User = null; } - private void attach_Doc_DocManageApprove(Doc_DocManageApprove entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Doc_DocManageApprove(Doc_DocManageApprove entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - private void attach_Driver_DriverProgress(Driver_DriverProgress entity) { this.SendPropertyChanging(); @@ -344436,6 +344678,18 @@ namespace Model entity.Sys_User = null; } + private void attach_TestRun_TrainRecords(TestRun_TrainRecords entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_TestRun_TrainRecords(TestRun_TrainRecords entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + private void attach_Training_KnowledgeItem(Training_KnowledgeItem entity) { this.SendPropertyChanging(); @@ -356473,6 +356727,373 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.TestRun_PersonTrainPlan")] + public partial class TestRun_PersonTrainPlan : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _PersonTrainPlanId; + + private string _ProjectId; + + private string _TrainType; + + private string _Purpose; + + private string _TrainingContent; + + private string _TrainingAddress; + + private System.Nullable _TrainingDate; + + private string _TrainingPersonNum; + + private System.Nullable _TrainingHours; + + private string _TrainingManager; + + private string _TrainingTeacher; + + private string _AssessmentMethod; + + private EntityRef _Base_Project; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnPersonTrainPlanIdChanging(string value); + partial void OnPersonTrainPlanIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnTrainTypeChanging(string value); + partial void OnTrainTypeChanged(); + partial void OnPurposeChanging(string value); + partial void OnPurposeChanged(); + partial void OnTrainingContentChanging(string value); + partial void OnTrainingContentChanged(); + partial void OnTrainingAddressChanging(string value); + partial void OnTrainingAddressChanged(); + partial void OnTrainingDateChanging(System.Nullable value); + partial void OnTrainingDateChanged(); + partial void OnTrainingPersonNumChanging(string value); + partial void OnTrainingPersonNumChanged(); + partial void OnTrainingHoursChanging(System.Nullable value); + partial void OnTrainingHoursChanged(); + partial void OnTrainingManagerChanging(string value); + partial void OnTrainingManagerChanged(); + partial void OnTrainingTeacherChanging(string value); + partial void OnTrainingTeacherChanged(); + partial void OnAssessmentMethodChanging(string value); + partial void OnAssessmentMethodChanged(); + #endregion + + public TestRun_PersonTrainPlan() + { + this._Base_Project = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonTrainPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string PersonTrainPlanId + { + get + { + return this._PersonTrainPlanId; + } + set + { + if ((this._PersonTrainPlanId != value)) + { + this.OnPersonTrainPlanIdChanging(value); + this.SendPropertyChanging(); + this._PersonTrainPlanId = value; + this.SendPropertyChanged("PersonTrainPlanId"); + this.OnPersonTrainPlanIdChanged(); + } + } + } + + [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="_TrainType", DbType="NVarChar(50)")] + public string TrainType + { + get + { + return this._TrainType; + } + set + { + if ((this._TrainType != value)) + { + this.OnTrainTypeChanging(value); + this.SendPropertyChanging(); + this._TrainType = value; + this.SendPropertyChanged("TrainType"); + this.OnTrainTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Purpose", DbType="NVarChar(50)")] + public string Purpose + { + get + { + return this._Purpose; + } + set + { + if ((this._Purpose != value)) + { + this.OnPurposeChanging(value); + this.SendPropertyChanging(); + this._Purpose = value; + this.SendPropertyChanged("Purpose"); + this.OnPurposeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingContent", DbType="NVarChar(200)")] + public string TrainingContent + { + get + { + return this._TrainingContent; + } + set + { + if ((this._TrainingContent != value)) + { + this.OnTrainingContentChanging(value); + this.SendPropertyChanging(); + this._TrainingContent = value; + this.SendPropertyChanged("TrainingContent"); + this.OnTrainingContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingAddress", DbType="NVarChar(50)")] + public string TrainingAddress + { + get + { + return this._TrainingAddress; + } + set + { + if ((this._TrainingAddress != value)) + { + this.OnTrainingAddressChanging(value); + this.SendPropertyChanging(); + this._TrainingAddress = value; + this.SendPropertyChanged("TrainingAddress"); + this.OnTrainingAddressChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingDate", DbType="DateTime")] + public System.Nullable TrainingDate + { + get + { + return this._TrainingDate; + } + set + { + if ((this._TrainingDate != value)) + { + this.OnTrainingDateChanging(value); + this.SendPropertyChanging(); + this._TrainingDate = value; + this.SendPropertyChanged("TrainingDate"); + this.OnTrainingDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingPersonNum", DbType="NVarChar(100)")] + public string TrainingPersonNum + { + get + { + return this._TrainingPersonNum; + } + set + { + if ((this._TrainingPersonNum != value)) + { + this.OnTrainingPersonNumChanging(value); + this.SendPropertyChanging(); + this._TrainingPersonNum = value; + this.SendPropertyChanged("TrainingPersonNum"); + this.OnTrainingPersonNumChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingHours", DbType="Decimal(18,1)")] + public System.Nullable TrainingHours + { + get + { + return this._TrainingHours; + } + set + { + if ((this._TrainingHours != value)) + { + this.OnTrainingHoursChanging(value); + this.SendPropertyChanging(); + this._TrainingHours = value; + this.SendPropertyChanged("TrainingHours"); + this.OnTrainingHoursChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingManager", DbType="NVarChar(50)")] + public string TrainingManager + { + get + { + return this._TrainingManager; + } + set + { + if ((this._TrainingManager != value)) + { + this.OnTrainingManagerChanging(value); + this.SendPropertyChanging(); + this._TrainingManager = value; + this.SendPropertyChanged("TrainingManager"); + this.OnTrainingManagerChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainingTeacher", DbType="NVarChar(50)")] + public string TrainingTeacher + { + get + { + return this._TrainingTeacher; + } + set + { + if ((this._TrainingTeacher != value)) + { + this.OnTrainingTeacherChanging(value); + this.SendPropertyChanging(); + this._TrainingTeacher = value; + this.SendPropertyChanged("TrainingTeacher"); + this.OnTrainingTeacherChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AssessmentMethod", DbType="NVarChar(50)")] + public string AssessmentMethod + { + get + { + return this._AssessmentMethod; + } + set + { + if ((this._AssessmentMethod != value)) + { + this.OnAssessmentMethodChanging(value); + this.SendPropertyChanging(); + this._AssessmentMethod = value; + this.SendPropertyChanged("AssessmentMethod"); + this.OnAssessmentMethodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_PersonTrainPlan_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.TestRun_PersonTrainPlan.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.TestRun_PersonTrainPlan.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.TestRun_SubInspectTerm")] public partial class TestRun_SubInspectTerm : INotifyPropertyChanging, INotifyPropertyChanged { @@ -358689,6 +359310,342 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.TestRun_TrainRecords")] + public partial class TestRun_TrainRecords : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _TrainRecordsId; + + private string _ProjectId; + + private string _TrainRecordsCode; + + private string _TrainRecordsName; + + private System.Nullable _UploadDate; + + private string _CompileMan; + + private System.Nullable _CompileDate; + + private string _Remark; + + private string _AttachUrl; + + 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 OnTrainRecordsIdChanging(string value); + partial void OnTrainRecordsIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnTrainRecordsCodeChanging(string value); + partial void OnTrainRecordsCodeChanged(); + partial void OnTrainRecordsNameChanging(string value); + partial void OnTrainRecordsNameChanged(); + partial void OnUploadDateChanging(System.Nullable value); + partial void OnUploadDateChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnRemarkChanging(string value); + partial void OnRemarkChanged(); + partial void OnAttachUrlChanging(string value); + partial void OnAttachUrlChanged(); + #endregion + + public TestRun_TrainRecords() + { + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainRecordsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string TrainRecordsId + { + get + { + return this._TrainRecordsId; + } + set + { + if ((this._TrainRecordsId != value)) + { + this.OnTrainRecordsIdChanging(value); + this.SendPropertyChanging(); + this._TrainRecordsId = value; + this.SendPropertyChanged("TrainRecordsId"); + this.OnTrainRecordsIdChanged(); + } + } + } + + [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="_TrainRecordsCode", DbType="NVarChar(50)")] + public string TrainRecordsCode + { + get + { + return this._TrainRecordsCode; + } + set + { + if ((this._TrainRecordsCode != value)) + { + this.OnTrainRecordsCodeChanging(value); + this.SendPropertyChanging(); + this._TrainRecordsCode = value; + this.SendPropertyChanged("TrainRecordsCode"); + this.OnTrainRecordsCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrainRecordsName", DbType="NVarChar(50)")] + public string TrainRecordsName + { + get + { + return this._TrainRecordsName; + } + set + { + if ((this._TrainRecordsName != value)) + { + this.OnTrainRecordsNameChanging(value); + this.SendPropertyChanging(); + this._TrainRecordsName = value; + this.SendPropertyChanged("TrainRecordsName"); + this.OnTrainRecordsNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UploadDate", DbType="DateTime")] + public System.Nullable UploadDate + { + get + { + return this._UploadDate; + } + set + { + if ((this._UploadDate != value)) + { + this.OnUploadDateChanging(value); + this.SendPropertyChanging(); + this._UploadDate = value; + this.SendPropertyChanged("UploadDate"); + this.OnUploadDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable CompileDate + { + get + { + return this._CompileDate; + } + set + { + if ((this._CompileDate != value)) + { + this.OnCompileDateChanging(value); + this.SendPropertyChanging(); + this._CompileDate = value; + this.SendPropertyChanged("CompileDate"); + this.OnCompileDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] + public string Remark + { + get + { + return this._Remark; + } + set + { + if ((this._Remark != value)) + { + this.OnRemarkChanging(value); + this.SendPropertyChanging(); + this._Remark = value; + this.SendPropertyChanged("Remark"); + this.OnRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(500)")] + public string AttachUrl + { + get + { + return this._AttachUrl; + } + set + { + if ((this._AttachUrl != value)) + { + this.OnAttachUrlChanging(value); + this.SendPropertyChanging(); + this._AttachUrl = value; + this.SendPropertyChanged("AttachUrl"); + this.OnAttachUrlChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_TrainRecords_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.TestRun_TrainRecords.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.TestRun_TrainRecords.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_TestRun_TrainRecords_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.TestRun_TrainRecords.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.TestRun_TrainRecords.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.TestRun_WorkInspectTemplate")] public partial class TestRun_WorkInspectTemplate : INotifyPropertyChanging, INotifyPropertyChanged {