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