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/CommonDB/ICommonDBService.cs

184 lines
4.2 KiB
C#

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