using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
///
/// 邮件接收记录服务
///
public interface IEmaiReceiveRecordService
{
///
/// 获取邮件接收记录详情
///
/// 邮件接收记录主键
/// 返回回执
Task GetInfo(string gid);
///
/// 删除
///
/// 邮件接收记录主键数组
/// 返回回执
Task Delete(string[] gIds);
///
/// 邮件接收记录台账查询
///
/// 邮件接收记录台账查询请求
/// 返回结果
Task> GetPageAsync(QueryEmaiReceiveRecordDto QuerySearch);
///
/// 获取重新解析邮件详情
///
/// 邮件接收记录主键
/// 返回回执
Task GetReParseInfo(string gid);
///
/// 获取邮件接收记录的邮件详情
///
/// 邮件接收记录主键
/// 返回回执
Task GetEmailInfo(string gid);
///
/// 重新解析邮件
///
/// 邮件接收记录详情
/// 返回回执
Task ReParseEmail(EmaiReceiveRecordDto model);
///
/// 重新解析邮件(批量)
///
/// 邮件接收记录主键数组
/// 返回回执
Task ReParseEmailBatch(string[] gIds);
}
}