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.
63 lines
1.8 KiB
C#
63 lines
1.8 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 IMappingCarrierService
|
|
{
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<MappingCarrierRes>> GetListByPage(PageRequest request);
|
|
|
|
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
DataResult EditMappingCarrier(MappingCarrierReq req);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<MappingCarrierRes> GetMappingCarrierInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 删除
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public DataResult DelMappingCarrier(IdModel req);
|
|
/// <summary>
|
|
/// 批量删除
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
public DataResult BatchDelMappingCarrier(IdModel req);
|
|
|
|
/// <summary>
|
|
/// 获取所有船名映射数据
|
|
/// </summary>
|
|
/// <param name="isFromCache">是否从缓存提取 true-从缓存读取 false-从数据库读取</param>
|
|
/// <returns>返回船名映射数据列表</returns>
|
|
Task<DataResult<List<MappingCarrierRes>>> GetAllList(bool isFromCache = true);
|
|
|
|
/// <summary>
|
|
/// 加载到缓存
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<DataResult> LoadCache();
|
|
}
|
|
}
|