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