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.

116 lines
3.8 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 ICheckBillService
{
/// <summary>
/// 客户对账列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<CheckBillListRes>> GetCheckBillList(PageRequest request);
/// <summary>
/// 详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<CheckBillInfoRes> GetCheckBillInfo(string id);
/// <summary>
/// 客户对账明细列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public Task<DataResult<CheckBillBusinessRes>> GetCheckBillBusinessList(PageRequest request);
/// <summary>
/// 客户对账明细对应费用列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<VW_CheckBill_Fee_Records>> GetCheckBillFeeRecordsList(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult EditCheckBill(CheckBillReq req);
/// <summary>
/// 对账明细批量删除
/// </summary>
/// <param name="req">主表Id及明细业务Ids</param>
/// <returns></returns>
public DataResult BatchDelCheckBillDetail(IdModel req);
/// <summary>
/// 业务明细查询列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<VW_CheckBill_Detail>> GetBusinessQueryList(PageRequest request);
/// <summary>
/// 业务明细对应费用查询列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<CheckBillFeeRecordRes>> GetFeeRecordQueryList(PageRequest request);
/// <summary>
/// 对账明细费用批量删除
/// </summary>
/// <param name="req">主表Id及费用Ids</param>
/// <returns></returns>
public DataResult BatchDelCheckBillFeeRecords(IdModel req);
/// <summary>
/// 对账列表批量删除
/// </summary>
/// <param name="req">主表Ids</param>
/// <returns></returns>
public Task<DataResult> BatchDelCheckBill(IdModel req);
/// <summary>
/// 对账明细添加
/// </summary>
/// <param name="req">主表Id及明细业务Ids</param>
/// <returns></returns>
public DataResult AddCheckBillDetail(IdModel req);
/// <summary>
/// 对账明细费用添加
/// </summary>
/// <param name="req">主表Id及明细业务费用Ids</param>
/// <returns></returns>
public DataResult AddCheckBillFeeRecords(IdModel req);
/// <summary>
/// 锁定
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult CheckBillLocking(IdModel req);
/// <summary>
/// 解除锁定
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult CheckBillUnLocking(IdModel req);
/// <summary>
/// 客户对账模板下拉列表
/// </summary>
/// <returns></returns>
public DataResult<List<CheckBillTemplateSelectRes>> GetCheckBillTemplateList();
}
}