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.

70 lines
1.8 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
namespace DS.WMS.Core.Code.Interface;
public interface ICodePortService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodePortRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
DataResult EditCodePort(CodePortReq req);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CodePortRes> GetCodePortInfo(string id);
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodePortRes>> GetClientListByPage(PageRequest request);
/// <summary>
/// 编辑-客户端
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
DataResult EditClientCodePort(CodePortReq req);
/// <summary>
/// 获取详情 -客户端
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<CodePortRes> GetClientCodePortInfo(string id);
/// <summary>
/// 获取港口列表-基础库
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodePortRes>> GetCodePortList(PageRequest request);
/// <summary>
/// 导入港口列表
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
DataResult ImportCodePort(IdModel req);
/// <summary>
/// 获取当前租户已有的港口
/// </summary>
/// <returns></returns>
public DataResult<List<string>> GetExistCodePortList();
}