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.

86 lines
2.6 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Check.Dtos;
using DS.WMS.Core.Check.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Check.Interface
{
public interface ICheckBillAutoService
{
/// <summary>
/// 自动对账列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<CheckBillAutoRes>> GetCheckBillAutoList(PageRequest request);
/// <summary>
/// 详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<CheckBillAutoRes> GetCheckBillAutoInfo(string id);
/// <summary>
/// 自动对账明细列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<CheckBillAutoDetailRes>> GetCheckBillAutoDetailList(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult EditCheckBillAutoInfo(CheckBillAutoReq req);
/// <summary>
/// 导入Excel账单明细
/// </summary>
/// <param name="id"></param>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult> CreateCheckBillAutoByExcel(string id, List<CheckBillAutoExcelReq> req);
/// <summary>
/// 对账明细批量删除
/// </summary>
/// <param name="req">主表Id及明细业务Ids</param>
/// <returns></returns>
public DataResult BatchDelCheckBillAutoDetail(IdModel req);
/// <summary>
/// 自动对账批量删除
/// </summary>
/// <param name="req">主表Ids</param>
/// <returns></returns>
public DataResult BatchDelCheckBillAuto(IdModel req);
/// <summary>
/// 自动对账重新匹配
/// </summary>
/// <param name="req">主表Id</param>
/// <returns></returns>
public DataResult RecountCheckBillAuto(IdModel req);
/// <summary>
/// 生成对账单
/// </summary>
/// <param name="req">主表Id</param>
/// <returns></returns>
public Task<DataResult> CreateCheckBill(IdModel req);
/// <summary>
/// 取消生成的对账单
/// </summary>
/// <param name="req">主表Id</param>
/// <returns></returns>
public Task<DataResult> CancelCheckBill(IdModel req);
}
}