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.

55 lines
2.0 KiB
C#

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
{
/// <summary>
/// 邮件执行代码注入配置
/// </summary>
public interface IEmailExcuteCodeInjectConfigService
{
/// <summary>
/// 保存邮件执行代码注入配置
/// </summary>
/// <param name="info">邮件执行代码注入配置信息</param>
/// <returns>返回回执</returns>
Task<DataResult<EmailExcuteCodeInjectConfigDto>> Save(EmailExcuteCodeInjectConfigDto info);
/// <summary>
/// 获取邮件执行代码注入配置详情
/// </summary>
/// <param name="gid">邮件执行代码注入配置主键</param>
/// <returns>返回回执</returns>
Task<DataResult<EmailExcuteCodeInjectConfigDto>> GetInfo(string gid);
/// <summary>
/// 删除
/// </summary>
/// <param name="gIds">邮件执行代码注入配置主键数组</param>
/// <returns>返回回执</returns>
Task<DataResult> Delete(string[] gIds);
/// <summary>
/// 邮件执行代码注入配置台账查询
/// </summary>
/// <param name="QuerySearch">邮件执行代码注入配置台账查询请求</param>
/// <returns>返回结果</returns>
Task<DataResult<List<EmailExcuteCodeInjectConfigPageDto>>> GetPageAsync(PageRequest<QueryEmailExcuteCodeInjectConfigDto> QuerySearch);
/// <summary>
/// 检索所有使用此执行代码注入配置的解析配置列表
/// </summary>
/// <param name="gid">邮件执行代码注入配置主键</param>
/// <returns>返回结果</returns>
Task<DataResult<List<EmailParserConfigDto>>> QueryUseParserConfigEmailList(string gid);
}
}