using DS.Module.Core;
using DS.Module.DjyServiceStatus;
using DS.WMS.Core.EmailParse.Dtos;
using DS.WMS.Core.Op.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.EmailParse.Interface
{
///
/// 邮件解析邮箱账号
///
public interface IEmailUserAccountService
{
///
/// 保存邮件账户配置
///
/// 邮件账户配置信息
/// 返回回执
Task> Save(EmailUserAccountDto info);
///
/// 获取邮件账户配置表详情
///
/// 邮件账户配置主键
/// 返回回执
Task> GetInfo(string gid);
///
/// 删除
///
/// 邮件账户配置主键数组
/// 返回回执
Task Delete(string[] gIds);
///
/// 邮件账户配置台账查询
///
/// 邮件账户配置台账查询请求
/// 返回结果
Task>> GetPageAsync(PageRequest request);
///
/// 检索邮件解析配置
///
/// 检索条件
/// 返回记录最大条数(可以根据需要自助设定)
///
Task>> QueryEmailParserConfigList(string queryItem, int topNum = 10);
}
}