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.
|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
using DS.WMS.Core.Info.Dtos;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Info.Interface;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 往来单位
|
|
|
|
/// </summary>
|
|
|
|
public interface IClientInfoService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 列表
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult<List<ClientInfoRes>> GetListByPage(PageRequest request);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 编辑
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="model"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult EditClientInfo(ClientInfoReq model);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取详情
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
DataResult<ClientInfoRes> GetClientInfo(string id);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 批量删除发票抬头
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="idModel"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> DeleteInvoiceHeaderAsync(IdModel idModel);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 批量删除
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="req"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult> DeleteAsync(IdModel req);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取往来单位详情(含有联系人列表)
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="query">查询往来单位</param>
|
|
|
|
/// <returns>返回往来单位详情</returns>
|
|
|
|
Task<DataResult<ClientInfoRes>> GetClientInfoWithContact(QueryClientInfo query);
|
|
|
|
}
|