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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
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
{
/// <summary>
/// 申请单审核服务定义
/// </summary>
public interface IApplicationAuditService < in TEntity > where TEntity : ApplicationBase , new ( )
{
/// <summary>
/// 一键审核当前登录用户的所有待审核项
/// </summary>
/// <param name="yesOrNo">审批结果: 1=通过, 2=驳回</param>
/// <param name="remark">备注</param>
/// <returns></returns>
Task < DataResult > AuditAsync ( int yesOrNo , string? remark ) ;
/// <summary>
/// 费用申请单审核
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task < DataResult > AuditAsync ( AuditRequest request ) ;
/// <summary>
/// 将申请单重置为未打印状态
/// </summary>
/// <param name="ids">申请单ID</param>
/// <returns></returns>
Task < DataResult > SetUnPrinted ( params long [ ] ids ) ;
/// <summary>
/// 根据审批结果更新审批状态
/// </summary>
///<param name="callback">回调信息</param>
/// <returns></returns>
Task < DataResult > UpdateStatusAsync ( FlowCallback callback ) ;
}
}