20220521 升级包登陆异常问题修复
This commit is contained in:
parent
15256b5c7c
commit
4fc483b04c
|
@ -7,7 +7,7 @@ namespace BLL
|
|||
{
|
||||
public class RealNameMonitorService
|
||||
{
|
||||
#region 启动监视器 系统启动5分钟
|
||||
#region 启动监视器 系统启动5分钟
|
||||
/// <summary>
|
||||
/// 监视组件
|
||||
/// </summary>
|
||||
|
@ -59,26 +59,6 @@ namespace BLL
|
|||
SynchroSetService.PushAttendance(jtProCode);
|
||||
SynchroSetService.updatePersonsExitTime(jtProCode);
|
||||
}
|
||||
|
||||
//var getRProjects = from x in Funs.DB.RealName_Project
|
||||
// select x;
|
||||
//if (getRProjects.Count() > 0)
|
||||
//{
|
||||
// foreach (var item in getRProjects)
|
||||
// {
|
||||
// var getSynchroSet = Funs.DB.RealName_SynchroSet.FirstOrDefault(x => x.ProCode == item.JTproCode);
|
||||
// if (getSynchroSet != null && !string.IsNullOrEmpty(item.JTproCode))
|
||||
// {
|
||||
// SynchroSetService.PushProCollCompany(item.JTproCode);
|
||||
// //SynchroSetService.PushCollTeam(item.ProCode);
|
||||
// //SynchroSetService.getCollTeam(item.ProCode);
|
||||
// SynchroSetService.PushPersons(Const.BtnAdd, item.JTproCode, null);
|
||||
// SynchroSetService.PushPersons(Const.BtnModify, item.JTproCode, null);
|
||||
// SynchroSetService.PushAttendance(item.JTproCode);
|
||||
// SynchroSetService.updatePersonsExitTime(item.JTproCode);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<ItemGroup>
|
||||
<Reference Include="Apache.NMS, Version=1.8.0.0, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>bin\Apache.NMS.dll</HintPath>
|
||||
<HintPath>..\..\..\..\DepCode\reference-bll\Reference BLL\Apache.NMS.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Apache.NMS.ActiveMQ, Version=1.7.2.4108, Culture=neutral, PublicKeyToken=82756feee3957618, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Apache.NMS.ActiveMQ.1.7.2\lib\net40\Apache.NMS.ActiveMQ.dll</HintPath>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
protected void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
Application["OnlineUserCount"] = 0;
|
||||
Model.Sys_User sysUser = new Sys_User();
|
||||
try
|
||||
{
|
||||
Funs.RootPath = Server.MapPath("~/");
|
||||
|
@ -28,8 +27,7 @@
|
|||
Funs.SystemName = ConfigurationManager.AppSettings["SystemName"];
|
||||
Funs.SGGLUrl = ConfigurationManager.AppSettings["SGGLUrl"];
|
||||
Funs.RealNameApiUrl = ConfigurationManager.AppSettings["RealNameApiUrl"];
|
||||
Funs.ControlApiUrl = ConfigurationManager.AppSettings["ControlApiUrl"];
|
||||
sysUser = UserService.GetUserByUserId(Const.sysglyId);
|
||||
Funs.ControlApiUrl = ConfigurationManager.AppSettings["ControlApiUrl"];
|
||||
Funs.SystemVersion = ConfigurationManager.AppSettings["SystemVersion"];
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
@ -37,11 +35,18 @@
|
|||
ErrLogInfo.WriteLog(string.Empty, ex);
|
||||
//AppDomain.Unload(AppDomain.CurrentDomain);
|
||||
}
|
||||
|
||||
///实名制出入记录去重
|
||||
try
|
||||
{
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog("实名制出入记录去重定时器启动失败!", ex);
|
||||
}
|
||||
////实名制同步定时器
|
||||
try
|
||||
{
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
{
|
||||
if (ConfigurationManager.AppSettings["EnableRealName"] == "True")
|
||||
{
|
||||
var getProjects = SynchroSetService.GetRealNameProject();
|
||||
|
@ -50,8 +55,6 @@
|
|||
BLL.RealNameMonitorService.StartMonitor(item.JTproCode);
|
||||
}
|
||||
}
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "实名制同步定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -63,7 +66,6 @@
|
|||
BLL.MonitorService.StartMonitor();
|
||||
BLL.MonitorService.StartMonitorEve();
|
||||
BLL.MonitorService.StartPersonQuarterCheck();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "通用定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -73,18 +75,15 @@
|
|||
try
|
||||
{
|
||||
BLL.RealNameMonitorService.StartMonitorDeletePushLog();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "实名制日志清理定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog("实名制日志清理定时器启动失败!", ex);
|
||||
}
|
||||
|
||||
///考勤记录清理定时器
|
||||
try
|
||||
{
|
||||
BLL.RealNameMonitorService.StartMonitorCleanAttendance();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "考勤去重定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -94,7 +93,6 @@
|
|||
try
|
||||
{
|
||||
BLL.MCSWebService.StartMonitor();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "从材料软件获取数据定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -104,18 +102,15 @@
|
|||
try
|
||||
{
|
||||
BLL.CNCECHSSEMonitorService.StartMonitor();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "从集团获取数据定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog("从集团获取数据定时器启动失败!", ex);
|
||||
}
|
||||
|
||||
////从博晟获取培训考试数据定时器
|
||||
try
|
||||
{
|
||||
BLL.BOSHENGMonitorService.StartMonitor();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "从博晟获取培训考试数据定时器启动成功!");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="wrapper" class="dec-login bi-absolute-layout dec-login-fresh">
|
||||
<img alt="" class="bi-single bi-img display-block"
|
||||
<%-- <img alt="" class="bi-single bi-img display-block"
|
||||
src="./images/login.png"
|
||||
style="height: 100%; left: 0px; top: 0px; bottom: 0px; position: absolute; display: none;" />
|
||||
style="height: 100%; left: 0px; top: 0px; bottom: 0px; position: absolute; display: none;" />--%>
|
||||
<img alt=""
|
||||
src="res/index/images/iconlogo.png"
|
||||
style="height: auto;width:300px; left: 100px; top: 60px; position: absolute;" />
|
||||
|
|
Loading…
Reference in New Issue