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.

59 lines
1.6 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Map.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Map.Interface
{
public interface IMappingCtnService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<MappingCtnRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditMappingCtn(MappingCtnReq req);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<MappingCtnRes> GetMappingCtnInfo(string id);
/// <summary>
/// 删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult DelMappingCtn(IdModel req);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelMappingCtn(IdModel req);
/// <summary>
/// 检索集装箱映射
/// </summary>
/// <param name="carrierId">船公司ID</param>
/// <param name="module">模块代码</param>
/// <param name="code">箱型代码</param>
/// <returns></returns>
Task<DataResult<MappingCtnRes>> QueryMappingCtn(long carrierId, string module, string code);
}
}