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.
189 lines
4.3 KiB
C#
189 lines
4.3 KiB
C#
using Myshipping.Core.Entity;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Threading.Tasks;
|
|
using System.Collections.Generic;
|
|
using Myshipping.Core.Entity.CommonDB;
|
|
using Myshipping.Core.Service.CommonDB.Dto;
|
|
|
|
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>
|
|
/// <returns></returns>
|
|
Task GetAllCountry(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);
|
|
|
|
|
|
Task GetAllMappingIssueType(bool flag);
|
|
|
|
Task GetAllMappingForwarder(bool flag = false);
|
|
|
|
/// <summary>
|
|
/// 保存航线信息
|
|
/// </summary>
|
|
/// <param name="dto">航线</param>
|
|
/// <returns></returns>
|
|
Task SaveCodeLane(CodeLaneDto dto);
|
|
|
|
/// <summary>
|
|
/// 查询航线信息
|
|
/// </summary>
|
|
/// <param name="input">查询条件</param>
|
|
/// <returns></returns>
|
|
Task<dynamic> CodeLaneList([FromQuery] NameQueryDto input);
|
|
|
|
/// <summary>
|
|
/// 保存航线与港口的的关系表
|
|
/// </summary>
|
|
/// <param name="dto">航线与港口的的关系表</param>
|
|
/// <returns></returns>
|
|
Task SaveRelaPortCarrierLaneDto(RelaPortCarrierLaneDto dto);
|
|
|
|
/// <summary>
|
|
/// 查询航线与港口的的关系表
|
|
/// </summary>
|
|
/// <param name="input">查询条件</param>
|
|
/// <returns></returns>
|
|
Task<dynamic> RelaPortCarrierLaneDtoList([FromQuery] RelaPortCarrierLaneQueryDto input);
|
|
|
|
/// <summary>
|
|
/// 保存国家
|
|
/// </summary>
|
|
/// <param name="dto">国家</param>
|
|
/// <returns></returns>
|
|
Task SaveCodeCountry(CodeCountryDto dto);
|
|
|
|
/// <summary>
|
|
/// 查询国家
|
|
/// </summary>
|
|
/// <param name="input">查询条件</param>
|
|
/// <returns></returns>
|
|
Task<dynamic> CodeCountryList([FromQuery] NameQueryDto input);
|
|
}
|