using DS.Module.Core;
using DS.WMS.Core.Application.Entity;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Flow.Dtos;
namespace DS.WMS.Core.Application.Interface
{
///
/// 申请单审核服务定义
///
public interface IApplicationAuditService where TEntity : ApplicationBase, new()
{
///
/// 一键审核当前登录用户的所有待审核项
///
/// 审批结果:1=通过,2=驳回
/// 备注
///
Task AuditAsync(int yesOrNo, string? remark);
///
/// 费用申请单审核
///
///
///
Task AuditAsync(AuditRequest request);
///
/// 将申请单重置为未打印状态
///
/// 申请单ID
///
Task SetUnPrinted(params long[] ids);
///
/// 根据审批结果更新审批状态
///
///回调信息
///
Task UpdateStatusAsync(FlowCallback callback);
}
}