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