using Myshipping.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { /// /// 状态触发器 /// internal interface IStatusTriggerBaseService { /// /// 保存 /// /// 状态触发器详情 /// 返回回执 Task Save(StatusTriggerBaseDto info); /// /// 保存并启用 /// /// 状态触发器详情 /// 返回回执 Task SaveAndEnable(StatusTriggerBaseDto info); /// /// 启用 /// /// 状态触发器主键 /// 返回回执 Task SetEnable(string pkId); /// /// 取消启用 /// /// 状态触发器主键 /// 返回回执 Task SetUnEnable(string pkId); /// /// 删除 /// /// 状态触发器主键 /// 返回回执 Task Delete(string pkId); /// /// 获取状态触发器详情 /// /// 状态触发器主键 /// 返回回执 Task GetInfo(string pkId); /// /// 检索状态触发器列表 /// /// 检索值 /// 最大返回行数(默认15) /// 返回回执 Task QueryList(string queryItem, int topNum = 15); /// /// 状态触发器台账查询 /// /// 状态触发器台账查询请求 /// 返回结果 Task> GetPageAsync(QueryStatusTriggerBaseDto QuerySearch); } }