天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1000 B

using System;
using Quartz;
namespace QMTask.DataDeal
{
/// <summary>
/// 安东呼叫超时处理
/// </summary>
//并发限制
[DisallowConcurrentExecution]
public class UpdateCallLogAndInsertMailForServerJob : IJob
{
/// <summary>
/// 执行方法
/// </summary>
/// <param name="context"></param>
public virtual void Execute(IJobExecutionContext context)
{
try
{
//调用服务端方法
var sa = new ServiceUtil().GetServiceAgent();
sa.InvokeServiceFunction<Object>("AndonCallBLL_UpdateCallLogAndInsertMailForServer");
context.Result = "安东呼叫超时处理服务开始:" + DateTime.Now.ToString("yy-MM-dd HH:mm:ss");
}
catch (Exception ex)
{
context.Result = "安东呼叫超时处理服务失败" + ex;
throw;
}
}
}
}