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 Myshipping.Core;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Myshipping.Core.Entity;
|
|
|
|
|
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);
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|