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