using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Fee.Entity;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Fee.Interface
{
///
/// 付费申请
///
public interface IFeeApplicationService
{
///
/// 获取分页列表
///
///
///
Task>> GetListAsync(PageRequest request);
///
/// 获取待付费的业务列表
///
///
///
Task>> GetBizListAsync(PageRequest request);
///
/// 获取申请单详情
///
/// 申请单ID
///
Task> GetAsync(long id);
///
/// 根据业务编号及类型获取关联费用记录
///
/// 业务ID
/// 业务类型
///
Task> GetFeesAsync(long id, BusinessType businessType);
///
/// 提交申请单
///
/// 申请单
///
Task SaveAsync(FeeApplication application);
///
/// 删除申请单明细
///
/// 申请单明细ID
///
Task DeleteDetailAsync(params long[] ids);
///
/// 删除申请单
///
/// 申请单ID
///
Task DeleteAsync(params long[] ids);
///
/// 发起审批工作流
///
/// 审批类型
/// 审批备注
/// 申请单ID
///
Task SubmitForApprovalAsync(AuditType auditType, string remark, params long[] idArray);
///
/// 撤销审批
///
/// 申请单ID
///
Task WithdrawAsync(params long[] ids);
}
}