20220516 实名制定时器优化、考勤导入、考试接口调整
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
namespace FineUIPro.Web
|
||||
{
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using BLL;
|
||||
using Model;
|
||||
using System.Timers;
|
||||
|
||||
public class Global : System.Web.HttpApplication
|
||||
{
|
||||
@@ -39,11 +40,15 @@
|
||||
|
||||
////实名制同步定时器
|
||||
try
|
||||
{
|
||||
{
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
if (ConfigurationManager.AppSettings["EnableRealName"] == "True")
|
||||
{
|
||||
BLL.RealNameMonitorService.StartMonitor();
|
||||
var getProjects = SynchroSetService.GetRealNameProject();
|
||||
foreach (var item in getProjects)
|
||||
{
|
||||
BLL.RealNameMonitorService.StartMonitor(item.JTproCode);
|
||||
}
|
||||
}
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
BLL.LogService.AddSys_Log(sysUser, string.Empty, string.Empty, string.Empty, "实名制同步定时器启动成功!");
|
||||
|
||||
Reference in New Issue
Block a user