|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.WMS.Core.Op.Dtos;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Op.Interface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合约号管理
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBookingContractNoManageService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model">合约号详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<long>> Save(BookingContractNoManageDto model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键获取合约号详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Id">合约号主键</param>
|
|
|
|
|
/// <returns>返回合约号详情</returns>
|
|
|
|
|
Task<DataResult<BookingContractNoManageDto>> GetInfo(long Id);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检索合约列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="queryItem">检索值可(模糊查询)</param>
|
|
|
|
|
/// <param name="top">返回记录最大行数</param>
|
|
|
|
|
/// <param name="carrier">船公司代码</param>
|
|
|
|
|
/// <param name="lane">航线代码</param>
|
|
|
|
|
/// <param name="lanecname">航线中文</param>
|
|
|
|
|
/// <param name="pod">目的港代码</param>
|
|
|
|
|
/// <returns>返回合约号详情列表</returns>
|
|
|
|
|
Task<DataResult<List<BookingContractNoManageDto>>> QuerytContractNoInfo(string queryItem, int top = 10, string carrier = "", string lane = "", string lanecname = "", string pod = "");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 作废(可批量删除)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Ids">合约号主键组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<string>> Delete (long[] Ids);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合约号管理台账
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="QuerySearch">查询条件</param>
|
|
|
|
|
/// <returns>返回台账列表</returns>
|
|
|
|
|
Task<DataResult<List<BookingContractNoManageDto>>> GetPageAsync(PageRequest<BookingContractNoManageQueryDto> QuerySearch);
|
|
|
|
|
}
|
|
|
|
|
}
|