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.
BookingHeChuan/Myshipping.Core/Service/DjyCustomer/IDjyCustomerService.cs

35 lines
1.4 KiB
C#

using Myshipping.Core;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Myshipping.Core.Entity;
2 years ago
using System.Collections.Generic;
namespace Myshipping.Core.Service
{
public interface IDjyCustomerService
{
Task<dynamic> Page([FromQuery] QueryDjyCustomerInput input);
Task<long> Add(AddDjyCustomerInput input);
Task<long> Update(UpdateDjyCustomerInput input);
Task Delete(GetDjyCustomerInput input);
Task<DjyCustomerOutput> Detail([FromQuery] GetDjyCustomerInput input);
//Task<dynamic> List([FromQuery] QueryBookingCustomerInput input);
2 years ago
Task<List<DjyCustomerContactOutput>> ListContact(long customerId);
/// <summary>
/// 检索车队参数
/// </summary>
/// <param name="queryItem">检索值</param>
/// <param name="queryType">检索类型数组(可传多个) fleet-车队customs_broker-报关行</param>
/// <param name="top">默认最大行数</param>
/// <returns>返回回执</returns>
Task<List<DjyCustomerOutput>> QuerytDjyCustomerInfo(string queryItem, string[] queryType, int top = 40);
/// <summary>
/// 根据客户属性查询客户列表
/// </summary>
/// <param name="propStringCodes">客户属性编码</param>
Task<List<(string codeName, string shortName)>> QueryDjyCustomerByProp(string[] propStringCodes);
}
}