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.

74 lines
2.0 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Flow.Dtos;
namespace DS.WMS.Core.Fee.Interface
{
/// <summary>
/// 报销模块
/// </summary>
public interface IReimbursementService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<ReimbursementRes>> GetListByPage(PageRequest request);
/// <summary>
/// 新增
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task< DataResult> AddReimbursement(ReimbursementReq model);
/// <summary>
/// 提交报销单进行审核
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
Task<DataResult> SubmitReimbursement(SubmitReimbursementReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<GetReimbursementRes> GetReimbursementInfo(string id);
/// <summary>
/// 未审批的报销单撤销
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
1 month ago
Task< DataResult> ReimbursementRevoked(long id);
/// <summary>
/// 根据审批结果更新审批状态
/// </summary>
///<param name="callback">回调信息</param>
/// <returns></returns>
Task<DataResult> UpdateStatusAsync(FlowCallback callback);
/// <summary>
/// 通知审批执行人变更
/// </summary>
/// <param name="callback">回调信息</param>
/// <returns></returns>
Task MarkerChangedAsync(MarkerChangedCallback callback);
/// <summary>
/// 报销单审核
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
1 month ago
Task<DataResult> AuditAsync(ReimbursementAuditRequest request);
}
}