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