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