|
|
|
|
using Myshipping.Core.Entity;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Myshipping.Core.Entity.CommonDB;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Core.Service;
|
|
|
|
|
|
|
|
|
|
public interface ICommonDBService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllCarrier(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船公司映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllMappingCarrier(bool flag);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllVessel(bool flag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船名映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllMappingVessel(bool flag);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船代
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllForwarder(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取场站
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllYard(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取场站映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllMappingYard(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取起始港
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllPortload(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取目的港
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllPort(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取包装
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllPackage(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取运输方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllService(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllCtn(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取箱型映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllMappingCtn(bool flag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付费方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllFrt(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllLane(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线与港口的的关系
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task GetAllRelaPortCarrierLane(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付费方式映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllMappingFrt(bool flag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 起始港映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllMappingPortLoad(bool flag);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的港映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllMappingPort(bool flag);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 包装映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllMappingPackage(bool flag);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运输服务映射
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllMappingService(bool flag);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签单方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task GetAllCodeIssueType(bool flag);
|
|
|
|
|
}
|