diff --git a/DataBase/版本日志/SGGLDB_V2021-12-07-001(与博晟对接数据记录表).sql b/DataBase/版本日志/SGGLDB_V2021-12-07-001(与博晟对接数据记录表).sql new file mode 100644 index 00000000..dcf1d49e --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2021-12-07-001(与博晟对接数据记录表).sql @@ -0,0 +1,44 @@ + +CREATE TABLE [dbo].[Sys_DataExchange]( + [DataID] [int] NOT NULL, + [GetTime] [datetime] NULL, + [MessageText] [nvarchar](max) NULL, + [FromSystem] [nvarchar](50) NULL, + [ToSystem] [nvarchar](50) NULL, + [IsUpdate] [bit] NULL, + CONSTRAINT [PK_Sys_DataExchange] PRIMARY KEY CLUSTERED +( + [DataID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] + +GO + +ALTER TABLE [dbo].[Sys_DataExchange] ADD CONSTRAINT [DF_Sys_DataExchange_DataID] DEFAULT ((0)) FOR [DataID] +GO + +ALTER TABLE [dbo].[Sys_DataExchange] ADD CONSTRAINT [DF_Sys_DataExchange_IsUpdate] DEFAULT ((0)) FOR [IsUpdate] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'DataID' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȡʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'GetTime' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'MessageText' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Դϵͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'FromSystem' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϵͳ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'ToSystem' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'IsUpdate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ݽ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange' +GO + + diff --git a/SGGL/BLL/OpenService/FileInsertService.cs b/SGGL/BLL/OpenService/FileInsertService.cs index d041eecb..3f19aac2 100644 --- a/SGGL/BLL/OpenService/FileInsertService.cs +++ b/SGGL/BLL/OpenService/FileInsertService.cs @@ -98,6 +98,12 @@ namespace BLL /// public static void InsertAttachFile(string attachFileId, string dataId, string attachSource, string attachUrl, List fileContext) { + var getAtt = Funs.DB.AttachFile.FirstOrDefault(x => x.AttachFileId == attachFileId); + if (getAtt != null) + { + Funs.DB.AttachFile.DeleteOnSubmit(getAtt); + Funs.DB.SubmitChanges(); + } //多附件 var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == dataId); if (attachFile == null && !string.IsNullOrEmpty(attachSource)) @@ -111,7 +117,6 @@ namespace BLL }; Funs.DB.AttachFile.InsertOnSubmit(newAttachFile); Funs.DB.SubmitChanges(); - ////插入附件文件 BLL.FileInsertService.FileMoreInsert(fileContext, attachUrl); } diff --git a/SGGL/BLL/WebService/CNCECHSSEWebService.cs b/SGGL/BLL/WebService/CNCECHSSEWebService.cs index f23eb737..bee897ac 100644 --- a/SGGL/BLL/WebService/CNCECHSSEWebService.cs +++ b/SGGL/BLL/WebService/CNCECHSSEWebService.cs @@ -699,6 +699,7 @@ } } #endregion + #endregion #region 从集团获取数据 @@ -1084,5 +1085,1058 @@ } #endregion #endregion + + #region 资源库数据 + #region 法律法规从集团公司提取到企业 + /// + /// 法律法规从集团公司提取到企业 + /// + /// + public static Model.ResponeData getLaw_LawRegulationList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetLaw_LawRegulationListToSUB(); + if (getData.Count() > 0) + { + List LawRegulationLists = new List(); + foreach (var item in getData) + { + var getLawRegulationList = db.Law_LawRegulationList.FirstOrDefault(x => x.LawRegulationId == item.LawRegulationId); + if (getLawRegulationList == null) + { + var type =db.Base_LawsRegulationsType.FirstOrDefault(e => e.Id == item.LawsRegulationsTypeId); + if (!string.IsNullOrEmpty(item.LawsRegulationsTypeId) && type == null) + { + Model.Base_LawsRegulationsType new_LawsRegulationsType = new Model.Base_LawsRegulationsType + { + Id = item.LawsRegulationsTypeId, + Code = item.LawsRegulationsTypeCode, + Name = item.LawsRegulationsTypeName + }; + db.Base_LawsRegulationsType.InsertOnSubmit(new_LawsRegulationsType); + db.SubmitChanges(); + } + + Model.Law_LawRegulationList newLawRegulationList = new Model.Law_LawRegulationList + { + LawRegulationId = item.LawRegulationId, + LawsRegulationsTypeId = item.LawsRegulationsTypeId, + ApprovalDate = item.ApprovalDate, + CompileDate = item.CompileDate, + CompileMan = item.CompileMan, + Description = item.Description, + EffectiveDate = item.EffectiveDate, + IsPass = true, + LawRegulationCode = item.LawRegulationCode, + LawRegulationName = item.LawRegulationName, + UnitId = item.UnitId, + IsBuild = true + }; + + LawRegulationLists.Add(newLawRegulationList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.LawRegulationId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (LawRegulationLists.Count() > 0) + { + db.Law_LawRegulationList.InsertAllOnSubmit(LawRegulationLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + LawRegulationLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("法律法规从集团公司提取到企业!", ex); + } + return responeData; + } + } + #endregion + + #region 标准规范从集团公司提取到企业 + /// + /// 标准规范从集团公司提取到企业 + /// + /// + public static Model.ResponeData getLaw_HSSEStandardsList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetLaw_HSSEStandardsListToSUB(); + if (getData.Count() > 0) + { + List HSSEStandardsLists = new List(); + foreach (var item in getData) + { + var getHSSEStandardsList = db.Law_HSSEStandardsList.FirstOrDefault(x => x.StandardId == item.StandardId); + if (getHSSEStandardsList == null) + { + var type = db.Base_HSSEStandardListType.FirstOrDefault(e => e.TypeId == item.TypeId); + if (!string.IsNullOrEmpty(item.TypeId) && type == null) + { + Model.Base_HSSEStandardListType new_Type = new Model.Base_HSSEStandardListType + { + TypeId = item.TypeId, + TypeCode = item.TypeCode, + TypeName = item.TypeName + }; + db.Base_HSSEStandardListType.InsertOnSubmit(new_Type); + db.SubmitChanges(); + } + + Model.Law_HSSEStandardsList newHSSEStandardsList = new Model.Law_HSSEStandardsList + { + StandardId = item.StandardId, + StandardGrade = item.StandardGrade, + StandardNo = item.StandardNo, + StandardName = item.StandardName, + TypeId = item.TypeId, + IsSelected1 = item.IsSelected1, + IsSelected2 = item.IsSelected2, + IsSelected3 = item.IsSelected3, + IsSelected4 = item.IsSelected4, + IsSelected5 = item.IsSelected5, + IsSelected6 = item.IsSelected6, + IsSelected7 = item.IsSelected7, + IsSelected8 = item.IsSelected8, + IsSelected9 = item.IsSelected9, + IsSelected10 = item.IsSelected10, + IsSelected11 = item.IsSelected11, + IsSelected12 = item.IsSelected12, + IsSelected13 = item.IsSelected13, + IsSelected14 = item.IsSelected14, + IsSelected15 = item.IsSelected15, + IsSelected16 = item.IsSelected16, + IsSelected17 = item.IsSelected17, + IsSelected18 = item.IsSelected18, + IsSelected19 = item.IsSelected19, + IsSelected20 = item.IsSelected20, + IsSelected21 = item.IsSelected21, + IsSelected22 = item.IsSelected22, + IsSelected23 = item.IsSelected23, + IsSelected24 = item.IsSelected24, + IsSelected25 = item.IsSelected25, + IsSelected90 = item.IsSelected90, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + IsPass = true, + UnitId = item.UnitId, + IsBuild = true + }; + + HSSEStandardsLists.Add(newHSSEStandardsList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.StandardId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (HSSEStandardsLists.Count() > 0) + { + db.Law_HSSEStandardsList.InsertAllOnSubmit(HSSEStandardsLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + HSSEStandardsLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("标准规范从集团公司提取到企业!", ex); + } + return responeData; + } + } + #endregion + + #region 安全生产规章制度从集团公司提取 + /// + /// 安全生产规章制度从集团公司提取 + /// + /// + public static Model.ResponeData getLaw_RulesRegulations() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetLaw_RulesRegulationsToSUB(); + if (getData.Count() > 0) + { + List RulesRegulationsLists = new List(); + foreach (var item in getData) + { + var getRulesRegulationsList = db.Law_RulesRegulations.FirstOrDefault(x => x.RulesRegulationsId == item.RulesRegulationsId); + if (getRulesRegulationsList == null) + { + var type = db.Base_RulesRegulationsType.FirstOrDefault(e => e.RulesRegulationsTypeId == item.RulesRegulationsTypeId); + if (!string.IsNullOrEmpty(item.RulesRegulationsTypeId) && type == null) + { + Model.Base_RulesRegulationsType new_Type = new Model.Base_RulesRegulationsType + { + RulesRegulationsTypeId = item.RulesRegulationsTypeId, + RulesRegulationsTypeCode = item.RulesRegulationsTypeCode, + RulesRegulationsTypeName = item.RulesRegulationsTypeName + }; + db.Base_RulesRegulationsType.InsertOnSubmit(new_Type); + db.SubmitChanges(); + } + + Model.Law_RulesRegulations newRulesRegulationsList = new Model.Law_RulesRegulations + { + RulesRegulationsId = item.RulesRegulationsId, + RulesRegulationsCode = item.RulesRegulationsCode, + RulesRegulationsName = item.RulesRegulationsName, + RulesRegulationsTypeId = item.RulesRegulationsTypeId, + CustomDate = item.CustomDate, + ApplicableScope = item.ApplicableScope, + Remark = item.Remark, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + IsPass = true, + UnitId = item.UnitId, + IsBuild = true + }; + + RulesRegulationsLists.Add(newRulesRegulationsList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.RulesRegulationsId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (RulesRegulationsLists.Count() > 0) + { + db.Law_RulesRegulations.InsertAllOnSubmit(RulesRegulationsLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + RulesRegulationsLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("安全生产规章制度从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 安全管理规定从集团公司提取 + /// + /// 安全管理规定从集团公司提取 + /// + /// + public static Model.ResponeData getLaw_ManageRule() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetLaw_ManageRuleToSUB(); + if (getData.Count() > 0) + { + List ManageRuleLists = new List(); + foreach (var item in getData) + { + var getManageRuleList = db.Law_ManageRule.FirstOrDefault(x => x.ManageRuleId == item.ManageRuleId); + if (getManageRuleList == null) + { + var type = db.Base_ManageRuleType.FirstOrDefault(e => e.ManageRuleTypeId == item.ManageRuleTypeId); + if (!string.IsNullOrEmpty(item.ManageRuleTypeId) && type == null) + { + Model.Base_ManageRuleType new_Type = new Model.Base_ManageRuleType + { + ManageRuleTypeId = item.ManageRuleTypeId, + ManageRuleTypeCode = item.ManageRuleTypeCode, + ManageRuleTypeName = item.ManageRuleTypeName + }; + db.Base_ManageRuleType.InsertOnSubmit(new_Type); + db.SubmitChanges(); + } + + Model.Law_ManageRule newManageRuleList = new Model.Law_ManageRule + { + ManageRuleId = item.ManageRuleId, + ManageRuleCode = item.ManageRuleCode, + ManageRuleName = item.ManageRuleName, + ManageRuleTypeId = item.ManageRuleTypeId, + VersionNo = item.VersionNo, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + Remark = item.Remark, + IsPass = true, + UnitId = item.UnitId, + IsBuild = true + }; + + ManageRuleLists.Add(newManageRuleList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.ManageRuleId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (ManageRuleLists.Count() > 0) + { + db.Law_ManageRule.InsertAllOnSubmit(ManageRuleLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + ManageRuleLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("安全管理规定从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region HAZOP管理从集团公司提取 + /// + /// HAZOP管理从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_HAZOP() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetTechnique_HAZOPToSUB(); + if (getData.Count() > 0) + { + List ManageRuleLists = new List(); + foreach (var item in getData) + { + var getHAZOP = db.Technique_HAZOP.FirstOrDefault(e => e.HAZOPId == item.HAZOPId); ; + if (getHAZOP == null) + { + Model.Technique_HAZOP newManageRuleList = new Model.Technique_HAZOP + { + HAZOPId = item.HAZOPId, + UnitId = item.UnitId, + Abstract = item.Abstract, + HAZOPDate = item.HAZOPDate, + HAZOPTitle = item.HAZOPTitle, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + IsPass = true, + IsBuild = true + }; + + ManageRuleLists.Add(newManageRuleList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.HAZOPId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (ManageRuleLists.Count() > 0) + { + db.Technique_HAZOP.InsertAllOnSubmit(ManageRuleLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + ManageRuleLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("HAZOP管理从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 管理评价从集团公司提取 + /// + /// 管理评价从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_Appraise() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetTechnique_AppraiseToSUB(); + if (getData.Count() > 0) + { + List ManageRuleLists = new List(); + foreach (var item in getData) + { + var getAppraise = db.Technique_Appraise.FirstOrDefault(e => e.AppraiseId == item.AppraiseId); ; + if (getAppraise == null) + { + Model.Technique_Appraise newManageRuleList = new Model.Technique_Appraise + { + AppraiseId = item.AppraiseId, + AppraiseCode = item.AppraiseCode, + AppraiseTitle = item.AppraiseTitle, + Abstract = item.Abstract, + AppraiseDate = item.AppraiseDate, + ArrangementPerson = item.ArrangementPerson, + ArrangementDate = item.ArrangementDate, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + UnitId = item.UnitId, + IsPass = true, + IsBuild = true + }; + + ManageRuleLists.Add(newManageRuleList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.AppraiseId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (ManageRuleLists.Count() > 0) + { + db.Technique_Appraise.InsertAllOnSubmit(ManageRuleLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + ManageRuleLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("管理评价从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 应急预案从集团公司提取 + /// + /// 应急预案从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_Emergency() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetTechnique_EmergencyToSUB(); + if (getData.Count() > 0) + { + List EmergencyLists = new List(); + foreach (var item in getData) + { + var getEmergencyList = db.Technique_Emergency.FirstOrDefault(x => x.EmergencyId == item.EmergencyId); + if (getEmergencyList == null) + { + var type = db.Base_EmergencyType.FirstOrDefault(e => e.EmergencyTypeId == item.EmergencyTypeId); + if (!string.IsNullOrEmpty(item.EmergencyTypeId) && type == null) + { + Model.Base_EmergencyType new_Type = new Model.Base_EmergencyType + { + EmergencyTypeId = item.EmergencyTypeId, + EmergencyTypeCode = item.EmergencyTypeCode, + EmergencyTypeName = item.EmergencyTypeName + }; + db.Base_EmergencyType.InsertOnSubmit(new_Type); + db.SubmitChanges(); + } + + Model.Technique_Emergency newEmergencyList = new Model.Technique_Emergency + { + EmergencyId = item.EmergencyId, + EmergencyTypeId = item.EmergencyTypeId, + EmergencyCode = item.EmergencyCode, + EmergencyName = item.EmergencyName, + Summary = item.Summary, + Remark = item.Remark, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + IsPass = true, + UnitId = item.UnitId, + IsBuild = true + }; + + EmergencyLists.Add(newEmergencyList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.EmergencyId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (EmergencyLists.Count() > 0) + { + db.Technique_Emergency.InsertAllOnSubmit(EmergencyLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + EmergencyLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("应急预案从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 专项方案从集团公司提取 + /// + /// 专项方案从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_SpecialScheme() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + var getData = hsseC.GetTechnique_SpecialSchemeToSUB(); + if (getData.Count() > 0) + { + List SpecialSchemeLists = new List(); + foreach (var item in getData) + { + var getSpecialSchemeList = db.Technique_SpecialScheme.FirstOrDefault(x => x.SpecialSchemeId == item.SpecialSchemeId); + if (getSpecialSchemeList == null) + { + var type = db.Base_SpecialSchemeType.FirstOrDefault(e => e.SpecialSchemeTypeId == item.SpecialSchemeTypeId); + if (!string.IsNullOrEmpty(item.SpecialSchemeTypeId) && type == null) + { + Model.Base_SpecialSchemeType new_Type = new Model.Base_SpecialSchemeType + { + SpecialSchemeTypeId = item.SpecialSchemeTypeId, + SpecialSchemeTypeCode = item.SpecialSchemeTypeCode, + SpecialSchemeTypeName = item.SpecialSchemeTypeName + }; + db.Base_SpecialSchemeType.InsertOnSubmit(new_Type); + db.SubmitChanges(); + } + + Model.Technique_SpecialScheme newSpecialSchemeList = new Model.Technique_SpecialScheme + { + SpecialSchemeId = item.SpecialSchemeId, + SpecialSchemeTypeId = item.SpecialSchemeTypeId, + SpecialSchemeCode = item.SpecialSchemeCode, + SpecialSchemeName = item.SpecialSchemeName, + UnitId = item.UnitId, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + Summary = item.Summary, + IsPass = true, + IsBuild = true + }; + + SpecialSchemeLists.Add(newSpecialSchemeList); + ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.SpecialSchemeId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + + if (SpecialSchemeLists.Count() > 0) + { + db.Technique_SpecialScheme.InsertAllOnSubmit(SpecialSchemeLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:记录" + SpecialSchemeLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("专项方案从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 培训教材库信息从集团公司提取 + /// + /// 培训教材库信息从集团公司提取 + /// + /// + public static Model.ResponeData getTraining_TrainingList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + ///获取教材类别 + var getData = hsseC.GetTraining_TrainingListToSUB(); + if (getData.Count() > 0) + { + List newLists = new List(); + foreach (var item in getData) + { + var getTraining = db.Training_Training.FirstOrDefault(x => x.TrainingId == item.TrainingId); + if (getTraining == null) + { + Model.Training_Training newList = new Model.Training_Training + { + TrainingId = item.TrainingId, + TrainingCode = item.TrainingCode, + TrainingName = item.TrainingName, + SupTrainingId = item.SupTrainingId, + IsEndLever = item.IsEndLever, + IsBuild = true + }; + newLists.Add(newList); + } + } + if (newLists.Count() > 0) + { + db.Training_Training.InsertAllOnSubmit(newLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:培训教材库类别" + newLists.Count().ToString() + "条"; + } + ///获取明细 + var getDataItem = hsseC.GetTraining_TrainingItemListToSUB(); + if (getDataItem.Count() > 0) + { + List newItemLists = new List(); + foreach (var item in getDataItem) + { + var getItem = db.Training_TrainingItem.FirstOrDefault(x => x.TrainingId == item.TrainingId); + if (getItem == null) + { + Model.Training_TrainingItem newItemList = new Model.Training_TrainingItem + { + TrainingItemId = item.TrainingItemId, + TrainingId = item.TrainingId, + TrainingItemCode = item.TrainingItemCode, + TrainingItemName = item.TrainingItemName, + VersionNum = item.VersionNum, + ApproveState = item.ApproveState, + ResourcesFrom = item.ResourcesFrom, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + ResourcesFromType = item.ResourcesFromType, + UnitId = item.UnitId, + IsPass = true, + AttachUrl = item.AttachUrl + }; + newItemLists.Add(newItemList); + if (item.FileContext != null) + { ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.TrainingItemId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + } + if (newItemLists.Count() > 0) + { + db.Training_TrainingItem.InsertAllOnSubmit(newItemLists); + db.SubmitChanges(); + } + responeData.message += ";明细" + newItemLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("培训教材" + + "库信息从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 安全试题库信息从集团公司提取 + /// + /// 安全试题库信息从集团公司提取 + /// + /// + public static Model.ResponeData getTraining_TrainTestDBList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + ///获取类别 + var getData = hsseC.GetTraining_TrainTestDBListToSUB(); + if (getData.Count() > 0) + { + List newLists = new List(); + foreach (var item in getData) + { + var getTrainTestDB = db.Training_TrainTestDB.FirstOrDefault(x => x.TrainTestId == item.TrainTestId); + if (getTrainTestDB == null) + { + Model.Training_TrainTestDB newList = new Model.Training_TrainTestDB + { + TrainTestId = item.TrainTestId, + TrainTestCode = item.TrainTestCode, + TrainTestName = item.TrainTestName, + SupTrainTestId = item.SupTrainTestId, + IsEndLever = item.IsEndLever, + IsBuild = true + }; + newLists.Add(newList); + } + } + if (newLists.Count() > 0) + { + db.Training_TrainTestDB.InsertAllOnSubmit(newLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:安全试题类别" + newLists.Count().ToString() + "条"; + } + ///获取明细 + var getDataItem = hsseC.GetTraining_TrainTestDBItemListToSUB(); + if (getDataItem.Count() > 0) + { + List newItemLists = new List(); + foreach (var item in getDataItem) + { + var getItem = db.Training_TrainTestDBItem.FirstOrDefault(x => x.TrainTestItemId == item.TrainTestItemId); + if (getItem == null) + { + Model.Training_TrainTestDBItem newItemList = new Model.Training_TrainTestDBItem + { + TrainTestItemId = item.TrainTestItemId, + TrainTestId = item.TrainTestId, + TrainTestItemCode = item.TrainTestItemCode, + TraiinTestItemName = item.TraiinTestItemName, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + UnitId = item.UnitId, + IsPass = true + }; + newItemLists.Add(newItemList); + if (item.FileContext != null) + { ////上传附件 + BLL.FileInsertService.InsertAttachFile(item.AttachFileId, item.TrainTestId, item.AttachSource, item.AttachUrl, item.FileContext); + } + } + } + if (newItemLists.Count() > 0) + { + db.Training_TrainTestDBItem.InsertAllOnSubmit(newItemLists); + db.SubmitChanges(); + } + responeData.message += ";明细" + newItemLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("安全试题库信息从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 事故案例库信息从集团公司提取 + /// + /// 事故案例库信息从集团公司提取 + /// + /// + public static Model.ResponeData getEduTrain_AccidentCaseList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + ///获取类别 + var getData = hsseC.GetEduTrain_AccidentCaseListToSUB(); + if (getData.Count() > 0) + { + List newLists = new List(); + foreach (var item in getData) + { + var getAccidentCase = db.EduTrain_AccidentCase.FirstOrDefault(x => x.AccidentCaseId == item.AccidentCaseId); + if (getAccidentCase == null) + { + Model.EduTrain_AccidentCase newList = new Model.EduTrain_AccidentCase + { + AccidentCaseId = item.AccidentCaseId, + AccidentCaseCode = item.AccidentCaseCode, + AccidentCaseName = item.AccidentCaseName, + SupAccidentCaseId = item.SupAccidentCaseId, + IsEndLever = item.IsEndLever, + IsBuild = true + }; + newLists.Add(newList); + } + } + if (newLists.Count() > 0) + { + db.EduTrain_AccidentCase.InsertAllOnSubmit(newLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:事故案例类别" + newLists.Count().ToString() + "条"; + } + ///获取明细 + var getDataItem = hsseC.GetEduTrain_AccidentCaseItemListToSUB(); + if (getDataItem.Count() > 0) + { + List newItemLists = new List(); + foreach (var item in getDataItem) + { + var getItem = db.EduTrain_AccidentCaseItem.FirstOrDefault(x => x.AccidentCaseItemId == item.AccidentCaseItemId); + if (getItem == null) + { + Model.EduTrain_AccidentCaseItem newItemList = new Model.EduTrain_AccidentCaseItem + { + AccidentCaseItemId = item.AccidentCaseItemId, + AccidentCaseId = item.AccidentCaseId, + Activities = item.Activities, + AccidentName = item.AccidentName, + AccidentProfiles = item.AccidentProfiles, + AccidentReview = item.AccidentReview, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + UnitId = item.UnitId, + IsPass = true + }; + newItemLists.Add(newItemList); + } + } + if (newItemLists.Count() > 0) + { + db.EduTrain_AccidentCaseItem.InsertAllOnSubmit(newItemLists); + db.SubmitChanges(); + } + responeData.message += ";明细" + newItemLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("事故案例库信息从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 危险源清单从集团公司提取 + /// + /// 危险源清单从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_HazardList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + ///获取类别 + var getData = hsseC.GetTechnique_HazardListTypeListToSUB(); + if (getData.Count() > 0) + { + List newLists = new List(); + foreach (var item in getData) + { + var getHType = db.Technique_HazardListType.FirstOrDefault(e => e.HazardListTypeId == item.HazardListTypeId); + if (getHType == null) + { + Model.Technique_HazardListType newList = new Model.Technique_HazardListType + { + HazardListTypeId = item.HazardListTypeId, + HazardListTypeCode = item.HazardListTypeCode, + HazardListTypeName = item.HazardListTypeName, + SupHazardListTypeId = item.SupHazardListTypeId, + IsEndLevel = item.IsEndLevel, + IsBuild = true + }; + newLists.Add(newList); + } + } + if (newLists.Count() > 0) + { + db.Technique_HazardListType.InsertAllOnSubmit(newLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:类别" + newLists.Count().ToString() + "条"; + } + ///获取明细 + var getDataItem = hsseC.GetTechnique_HazardListListToSUB(); + if (getDataItem.Count() > 0) + { + List newItemLists = new List(); + foreach (var item in getDataItem) + { + var getItem = db.Technique_HazardList.FirstOrDefault(x => x.HazardId == item.HazardId); + if (getItem == null) + { + Model.Technique_HazardList newItemList = new Model.Technique_HazardList + { + HazardId = item.HazardId, + HazardListTypeId = item.HazardListTypeId, + HazardCode = item.HazardCode, + HazardItems = item.HazardItems, + DefectsType = item.DefectsType, + MayLeadAccidents = item.MayLeadAccidents, + HelperMethod = item.HelperMethod, + HazardJudge_L = item.HazardJudge_L, + HazardJudge_E = item.HazardJudge_E, + HazardJudge_C = item.HazardJudge_C, + HazardJudge_D = item.HazardJudge_D, + HazardLevel = item.HazardLevel, + ControlMeasures = item.ControlMeasures, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + UnitId = item.UnitId, + IsPass = true + }; + newItemLists.Add(newItemList); + } + } + if (newItemLists.Count() > 0) + { + db.Technique_HazardList.InsertAllOnSubmit(newItemLists); + db.SubmitChanges(); + } + responeData.message += ";明细" + newItemLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("危险源清单从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + + #region 安全隐患从集团公司提取 + /// + /// 安全隐患从集团公司提取 + /// + /// + public static Model.ResponeData getTechnique_RectifyList() + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var responeData = new Model.ResponeData(); + try + { + CNCECHSSEService.HSSEServiceClient hsseC = new CNCECHSSEService.HSSEServiceClient(); + ///获取类别 + var getData = hsseC.GetTechnique_RectifyListToSUB(); + if (getData.Count() > 0) + { + List newLists = new List(); + foreach (var item in getData) + { + var getAccidentCase = db.Technique_Rectify.FirstOrDefault(x => x.RectifyId == item.RectifyId); + if (getAccidentCase == null) + { + Model.Technique_Rectify newList = new Model.Technique_Rectify + { + RectifyId = item.RectifyId, + RectifyCode = item.RectifyCode, + RectifyName = item.RectifyName, + SupRectifyId = item.SupRectifyId, + IsEndLever = item.IsEndLever, + IsBuild = true + }; + newLists.Add(newList); + } + } + if (newLists.Count() > 0) + { + db.Technique_Rectify.InsertAllOnSubmit(newLists); + db.SubmitChanges(); + } + responeData.message = "获取成功:安全隐患类别" + newLists.Count().ToString() + "条"; + } + ///获取明细 + var getDataItem = hsseC.GetTechnique_RectifyItemListToSUB(); + if (getDataItem.Count() > 0) + { + List newItemLists = new List(); + foreach (var item in getDataItem) + { + var getItem = db.Technique_RectifyItem.FirstOrDefault(x => x.RectifyItemId == item.RectifyItemId); + if (getItem == null) + { + Model.Technique_RectifyItem newItemList = new Model.Technique_RectifyItem + { + RectifyItemId = item.RectifyItemId, + RectifyId = item.RectifyId, + HazardSourcePoint = item.HazardSourcePoint, + RiskAnalysis = item.RiskAnalysis, + RiskPrevention = item.RiskPrevention, + SimilarRisk = item.SimilarRisk, + CompileMan = item.CompileMan, + CompileDate = item.CompileDate, + UnitId = item.UnitId, + IsPass = true + }; + newItemLists.Add(newItemList); + } + } + if (newItemLists.Count() > 0) + { + db.Technique_RectifyItem.InsertAllOnSubmit(newItemLists); + db.SubmitChanges(); + } + responeData.message += ";明细" + newItemLists.Count().ToString() + "条"; + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = "获取失败:" + ex.Message; + ErrLogInfo.WriteLog("安全隐患从集团公司提取!", ex); + } + return responeData; + } + } + #endregion + #endregion } } diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx index cc7a5b2f..275af8f3 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx @@ -24,7 +24,7 @@ + - - + + + diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.cs index 4b2ddc1a..06a848cb 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.cs @@ -502,5 +502,23 @@ namespace FineUIPro.Web.HSSE.EduTrain } } #endregion + + /// + /// 从集团获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + var returnValue = CNCECHSSEWebService.getEduTrain_AccidentCaseList(); + if (returnValue.code == 1) + { + ShowNotify(returnValue.message, MessageBoxIcon.Success); + } + else + { + Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success); + } + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.designer.cs index 89d1a9a3..a7805374 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/AccidentCase.aspx.designer.cs @@ -165,6 +165,15 @@ namespace FineUIPro.Web.HSSE.EduTrain { /// protected global::FineUIPro.Button btnSelectColumns; + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + /// /// lblActivities 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx index d2951470..8ad04488 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx @@ -24,7 +24,7 @@ + + + diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.cs index c7c4d3e5..c6fc0d21 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.cs @@ -550,5 +550,23 @@ namespace FineUIPro.Web.HSSE.EduTrain return sb.ToString(); } #endregion + + /// + /// 从集团获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + var returnValue = CNCECHSSEWebService.getTraining_TrainingList(); + if (returnValue.code == 1) + { + ShowNotify(returnValue.message, MessageBoxIcon.Success); + } + else + { + Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success); + } + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.designer.cs index 3d0fc4a5..590253ac 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainDB.aspx.designer.cs @@ -174,6 +174,15 @@ namespace FineUIPro.Web.HSSE.EduTrain { /// protected global::FineUIPro.Button btnOut; + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + /// /// lbNumber 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx index 1b8d68cc..c78db399 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx @@ -60,6 +60,8 @@ + + diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.cs index 83375313..2b780d66 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.cs @@ -519,5 +519,22 @@ namespace FineUIPro.Web.HSSE.EduTrain this.BindGrid(); } + /// + /// 从集团获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + var returnValue = CNCECHSSEWebService.getTraining_TrainTestDBList(); + if (returnValue.code == 1) + { + ShowNotify(returnValue.message, MessageBoxIcon.Success); + } + else + { + Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success); + } + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.designer.cs index 2c0c832b..22ba9aee 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/TrainTestDB.aspx.designer.cs @@ -156,6 +156,15 @@ namespace FineUIPro.Web.HSSE.EduTrain { /// protected global::FineUIPro.Button btnSelectColumns; + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + /// /// lblTrainTestItemCode 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx index c4b6882d..ee7117db 100644 --- a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx @@ -39,6 +39,8 @@ + + diff --git a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.cs index 7fe41a6f..1ca188c6 100644 --- a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.cs @@ -329,5 +329,23 @@ namespace FineUIPro.Web.HSSE.Law } } #endregion + + /// + /// 从集团获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + var returnValue = CNCECHSSEWebService.getLaw_HSSEStandardsList(); + if (returnValue.code == 1) + { + ShowNotify(returnValue.message, MessageBoxIcon.Success); + } + else + { + Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success); + } + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.designer.cs index d3b49c64..eacc4231 100644 --- a/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/Law/HSSEStandardList.aspx.designer.cs @@ -102,6 +102,15 @@ namespace FineUIPro.Web.HSSE.Law { /// protected global::FineUIPro.Button btnSelectColumns; + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + /// /// lblStandardNo 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/Law/LawRegulationList.aspx b/SGGL/FineUIPro.Web/HSSE/Law/LawRegulationList.aspx index e6ede7c1..0f5e1fd4 100644 --- a/SGGL/FineUIPro.Web/HSSE/Law/LawRegulationList.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Law/LawRegulationList.aspx @@ -6,107 +6,109 @@ 法律法规 - +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +