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.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.WMS.Core.Op.Dtos.TaskInteraction;
|
|
|
|
|
using DS.WMS.Core.Op.Entity;
|
|
|
|
|
using DS.WMS.Core.Op.Entity.TaskInteraction;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Op.Interface.TaskInteraction
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 海运出口交互任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ITaskLogService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 读取业务日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="id">业务ID</param>
|
|
|
|
|
/// <param name="businessType">业务类型</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<DataResult<List<BusinessTaskLog>>> ReadLogAsync(long id, BusinessType businessType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 写入任务日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <param name="remark">备注</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task WriteLogAsync(TaskUpdateRequest request, string? remark = null);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 写入任务日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="task"></param>
|
|
|
|
|
/// <param name="remark">备注</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task WriteLogAsync(BusinessTask task, string? remark = null);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 写入任务日志
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="logs"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task WriteLogAsync(params BusinessTaskLog[] logs);
|
|
|
|
|
}
|
|
|
|
|
}
|