35 lines
891 B
C#
35 lines
891 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ToDoWorker.Domain
|
|
{
|
|
public interface IEventDomain : IScopedDependency
|
|
{
|
|
/// <summary>
|
|
/// 获取活动名称
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<bool> RunEvent(EventDto request);
|
|
|
|
/// <summary>
|
|
/// 修复数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<bool> Repairdata();
|
|
|
|
Task<ToDoItemDeptMap> GetSetting(EventDto eventDto);
|
|
|
|
Task<ToDoItemSetting> GetDelaySec();
|
|
|
|
/// <summary>
|
|
/// 过滤登录事件
|
|
/// </summary>
|
|
/// <param name="eventDto"></param>
|
|
/// <returns></returns>
|
|
Task<bool> FilterLogEvent(EventDto eventDto, ToDoItemDeptMap setting);
|
|
}
|
|
} |