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