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.

29 lines
1.1 KiB
C#

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 = 10);
}
}