using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.TaskInteraction.Dtos;
namespace DS.WMS.Core.Fee.Interface
{
///
/// 费用审核
///
public interface IFeeAuditService
{
///
/// 获取列表分页数据
///
///
///
Task>> GetListAsync(PageRequest request);
///
/// 获取整票审核列表
///
///
///
Task>> GetBizListAsync(PageRequest request);
///
/// 根据查询条件获取费用明细
///
/// 请求参数
///
Task> GetFeesAsync(AuditDetailRequest request);
///
/// 获取业务相关联的费用统计
///
/// 业务ID
/// 业务类型
/// 费用ID(可空)
///
Task> GetStatAsync(long id, BusinessType businessType, long? feeId);
///
/// 按费用批量审批
///
/// 审批结果
/// 备注
/// 待审批的费用ID
///
Task AuditAsync(int yesOrNo, string remark, params long[] idArray);
///
/// 按业务批量审核
///
///
///
Task AuditAsync(BizAuditRequest request);
///
/// 一键审核当前登录用户的所有待审核项
///
///
///
Task AuditAsync(AuditConditionRequest request);
///
/// 整票审核
///
/// 审核请求
///
Task AuditBillAsync(TaskAuditRequest request);
///
/// 设置业务费用锁定状态
///
/// 业务信息
///
Task SetFeeLockingAsync(IEnumerable items);
///
/// 根据审批结果更新审批状态
///
///回调信息
///
Task UpdateStatusAsync(FlowCallback callback);
}
}