using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
using DS.WMS.Core.Op.Dtos;
namespace DS.WMS.Core.Code.Interface;
public interface ICodeVesselService
{
///
/// 列表
///
///
///
DataResult> GetListByPage(PageRequest request);
///
/// 编辑
///
///
///
DataResult EditCodeVessel(CodeVesselReq req);
///
/// 获取详情
///
///
///
DataResult GetCodeVesselInfo(string id);
///
/// 列表
///
///
///
DataResult> GetClientListByPage(PageRequest request);
///
/// 编辑-客户端
///
///
///
DataResult EditClientCodeVessel(CodeVesselReq req);
///
/// 获取详情 -客户端
///
///
///
public DataResult GetClientCodeVesselInfo(string id);
///
/// 获取船名列表-基础库
///
///
///
DataResult> GetCodeVesselList(PageRequest request);
///
/// 导入船名列表
///
///
///
DataResult ImportCodeVessel(IdModel req);
///
/// 获取当前租户已有的船名
///
///
public DataResult> GetExistCodeVesselList();
///
/// 批量删除
///
///
///
public DataResult BatchDelCodeVessel(IdModel req);
///
/// 获取所有船名基础数据
///
/// 是否从缓存提取 true-从缓存读取 false-从数据库读取
/// 返回船名基础数据列表
Task>> GetAllList(bool isFromCache = true);
///
/// 加载到缓存
///
/// 返回回执
Task LoadCache();
}