20211208 定时器优化,当日人数定时校正方法开放
This commit is contained in:
@@ -19,7 +19,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static void StartMonitor()
|
||||
{
|
||||
int adTimeJ = 120;
|
||||
int adTimeJ = 30;
|
||||
if (messageTimer != null)
|
||||
{
|
||||
messageTimer.Stop();
|
||||
@@ -47,7 +47,7 @@ namespace BLL
|
||||
{
|
||||
try
|
||||
{
|
||||
var getDataList = (from x in Funs.DB.Sys_DataExchange where x.IsUpdate == false select x).Take(200).ToList();
|
||||
var getDataList = (from x in Funs.DB.Sys_DataExchange where x.IsUpdate == false select x).Take(100).ToList();
|
||||
if (getDataList.Count() > 0)
|
||||
{
|
||||
var getDataList0 = getDataList.Where(x => x.MessageText.Contains("\"Type\":0")).ToList();
|
||||
|
||||
Reference in New Issue
Block a user