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
{
///
/// 海运出口交互任务
///
public interface ITaskLogService
{
///
/// 读取业务日志
///
/// 业务ID
/// 业务类型
///
Task>> ReadLogAsync(long id, BusinessType businessType);
///
/// 写入任务日志
///
///
/// 备注
///
Task WriteLogAsync(TaskUpdateRequest request, string? remark = null);
///
/// 写入任务日志
///
///
/// 备注
///
Task WriteLogAsync(BusinessTask task, string? remark = null);
///
/// 写入任务日志
///
///
///
Task WriteLogAsync(params BusinessTaskLog[] logs);
}
}