From b58beb247222ee413a7f376f7a50c750fedcfb12 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 24 Apr 2024 11:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user | 2 +- SGGL/FineUIPro.Web/Global.asax.cs | 21 ++++++++++---------- SGGL/FineUIPro.Web/Web.config | 4 ++-- SGGL/FineUIPro.Web/common/main_new.aspx | 2 +- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 5 +++-- SGGL/WebAPI/WebAPI.csproj.user | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user index 9e91deff..63ca13cc 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU true false diff --git a/SGGL/FineUIPro.Web/Global.asax.cs b/SGGL/FineUIPro.Web/Global.asax.cs index 59fb1858..d50dea04 100644 --- a/SGGL/FineUIPro.Web/Global.asax.cs +++ b/SGGL/FineUIPro.Web/Global.asax.cs @@ -37,7 +37,16 @@ ErrLogInfo.WriteLog(string.Empty, ex); //AppDomain.Unload(AppDomain.CurrentDomain); } - + ////材料软件定时 + try + { + BLL.MonitorService.StartGetPipelineWeldingQuantities(); + BLL.MCSWebService.StartMonitor(); + } + catch (Exception ex) + { + ErrLogInfo.WriteLog("材料软件定时器启动失败!", ex); + } if (ConfigurationManager.AppSettings["EnableRealName"] == "True") { @@ -104,16 +113,6 @@ { ErrLogInfo.WriteLog("自动校正人工时定时器启动失败!", ex); } - ////材料软件定时 - try - { - BLL.MonitorService.StartGetPipelineWeldingQuantities(); - BLL.MCSWebService.StartMonitor(); - } - catch (Exception ex) - { - ErrLogInfo.WriteLog("材料软件定时器启动失败!", ex); - } ////从博晟获取培训考试数据定时器 try diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config index 9fc55c34..963148f2 100644 --- a/SGGL/FineUIPro.Web/Web.config +++ b/SGGL/FineUIPro.Web/Web.config @@ -12,7 +12,7 @@ - + @@ -77,7 +77,7 @@ - + diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx b/SGGL/FineUIPro.Web/common/main_new.aspx index 947da205..0c377a35 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx +++ b/SGGL/FineUIPro.Web/common/main_new.aspx @@ -54,7 +54,7 @@
-
安全管理人员
+
安全管理人员
0
diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index a72d9fe9..45761dd8 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -62,7 +62,8 @@ namespace FineUIPro.Web.common select x; var glAllPerson = from x in allSum join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId - where (y.PostType == "1" || y.PostType == "4") //一般管理岗位和特种管理人员 + //where (y.PostType == "1" || y.PostType == "4") //一般管理岗位和特种管理人员 + where y.IsHsse == true select x; this.divSafeManagePersonNum.InnerText = glAllPerson.Count().ToString(); @@ -571,7 +572,7 @@ namespace FineUIPro.Web.common List listdata = new List(); double result = 0; Model.SGGLDB db = Funs.DB; - var ndtLists = from x in db.ProcessControl_NondestructiveTest_New where x.ProfessionalName== "工艺管道" select x; + var ndtLists = from x in db.ProcessControl_NondestructiveTest_New where x.ProfessionalName == "工艺管道" select x; decimal a = 0, b = 0; if (ndtLists.Count() > 0) { diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index 5fe155da..bd497c6b 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU true