using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Fee.Entity;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Op.Entity;
namespace DS.WMS.Core.Fee.Interface;
public interface IFeeRecordService
{
///
/// 列表
///
///
///
DataResult> GetListByPage(PageRequest request);
///
/// 列表
///
/// 查询条件
///
DataResult> GetList(string query);
///
/// 提交
///
/// 要提交的费用记录
///
DataResult InsertOrUpdate(IEnumerable items);
///
/// 根据费用模板引入
///
/// 业务ID
/// 业务类型
/// 模板ID
///
DataResult CreateByTemplate(long bid, BusinessType type, params long[] tidArray);
///
/// 删除
///
///
///
DataResult Delete(params long[] ids);
///
/// 发起审批工作流
///
/// 审批类型
/// 费用记录ID
///
DataResult SubmitForApproval(FeeAuditType auditType, params long[] idArray);
///
/// 发起费用修改申请
///
/// 费用修改信息
///
DataResult SubmitForModification(IEnumerable items);
///
/// 撤销审批
///
/// 费用记录ID
///
DataResult Withdraw(params long[] ids);
///
/// 根据审批结果更新审批状态
///
///回调信息
///
DataResult UpdateAuditStatus(FlowCallback callback);
}