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.

65 lines
2.1 KiB
C#

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
{
/// <summary>
/// 费用审核
/// </summary>
public interface IFeeAuditService
{
/// <summary>
/// 获取列表分页数据
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeAuditBusiness>>> GetListAsync(PageRequest request);
6 months ago
/// <summary>
/// 获取整票审核列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Task<DataResult<List<FeeAuditBusiness>>> GetBizListAsync(PageRequest request);
/// <summary>
/// 批量审批
/// </summary>
/// <param name="yesOrNo">审批结果</param>
/// <param name="remark">备注</param>
/// <param name="idArray">待审批的费用ID</param>
/// <returns></returns>
Task<DataResult> AuditAsync(int yesOrNo, string remark, params long[] idArray);
6 months ago
/// <summary>
/// 本票审核(一键审核当前登录用户的所有待审核项)
/// </summary>
/// <param name="yesOrNo">审批结果1=通过2=驳回</param>
/// <param name="remark">备注</param>
/// <returns></returns>
Task<DataResult> AuditAsync(int yesOrNo, string remark);
6 months ago
/// <summary>
/// 整单费用状态审核
/// </summary>
/// <param name="request"></param>
Task<DataResult> AuditBusinessAsync(FeeBizAuditRequest request);
6 months ago
/// <summary>
/// 设置业务费用锁定状态
/// </summary>
/// <param name="items">业务信息</param>
/// <returns></returns>
Task<DataResult> SetFeeLockingAsync(IEnumerable<BusinessFeeStatus> items);
/// <summary>
/// 根据审批结果更新审批状态
/// </summary>
///<param name="callback">回调信息</param>
/// <returns></returns>
Task<DataResult> UpdateStatusAsync(FlowCallback callback);
}
}