You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.2 KiB
C#
66 lines
2.2 KiB
C#
using Myshipping.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Myshipping.Application
|
|
{
|
|
/// <summary>
|
|
/// 邮件接收记录服务
|
|
/// </summary>
|
|
public interface IEmaiReceiveRecordService
|
|
{
|
|
/// <summary>
|
|
/// 获取邮件接收记录详情
|
|
/// </summary>
|
|
/// <param name="gid">邮件接收记录主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> GetInfo(string gid);
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
/// <param name="gIds">邮件接收记录主键数组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> Delete(string[] gIds);
|
|
|
|
/// <summary>
|
|
/// 邮件接收记录台账查询
|
|
/// </summary>
|
|
/// <param name="QuerySearch">邮件接收记录台账查询请求</param>
|
|
/// <returns>返回结果</returns>
|
|
Task<SqlSugarPagedList<EmaiReceiveRecordPageDto>> GetPageAsync(QueryEmaiReceiveRecordDto QuerySearch);
|
|
|
|
/// <summary>
|
|
/// 获取重新解析邮件详情
|
|
/// </summary>
|
|
/// <param name="gid">邮件接收记录主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> GetReParseInfo(string gid);
|
|
|
|
/// <summary>
|
|
/// 获取邮件接收记录的邮件详情
|
|
/// </summary>
|
|
/// <param name="gid">邮件接收记录主键</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> GetEmailInfo(string gid);
|
|
|
|
/// <summary>
|
|
/// 重新解析邮件
|
|
/// </summary>
|
|
/// <param name="model">邮件接收记录详情</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> ReParseEmail(EmaiReceiveRecordDto model);
|
|
|
|
|
|
/// <summary>
|
|
/// 重新解析邮件(批量)
|
|
/// </summary>
|
|
/// <param name="gIds">邮件接收记录主键数组</param>
|
|
/// <returns>返回回执</returns>
|
|
Task<TaskManageOrderResultDto> ReParseEmailBatch(string[] gIds);
|
|
}
|
|
}
|