using DS.Module.Core;
using DS.WMS.Core.Code.Dtos;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Info.Dtos;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.Sys.Dtos;
using DS.WMS.Core.Sys.Entity;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace DS.WMS.Core.Sys.Interface;
///
/// 公共基础服务
///
public interface IClientCommonService
{
///
/// 根据类型获取客户及供应商下拉列表
///
///
public Task>> GetSupplierAndClientListByCode(string code = "", string queryKey = "");
///
/// 获取当前机构银行信息
///
///
public Task>> GetOrgBankListAsync();
///
/// 获取任务类型列表
///
///
public Task>> GetTaskTypeConstList();
///
/// 获取服务项目下拉数据
///
/// 业务类型
/// 搜索关键词
///
Task>> GetServiceItemAsync(BusinessType businessType, string? queryKey = null);
///
/// 获取结算方式
///
/// 搜索关键词
///
Task>> GetStlModeAsync(string? queryKey = null);
///
/// 获取客户银行
///
/// 客户ID
/// 搜索关键词
///
Task>> GetClientBankAsync(long id, string? queryKey = null);
///
/// 根据五字码获取港口信息-客户端
///
///
public Task> GetClientPortInfoByCode(string queryKey = "");
///
/// 获取航线操作员列表
///
///
public Task>> GetLaneUserList(string queryKey = "");
///
/// 获取委托单位下拉列表
///
///
public Task>> GetControllerClientListByKey(string queryKey = "");
///
/// 获取船公司下拉列表
///
///
public Task>> GetCarrierSelectList(string queryKey = "");
///
/// 获取约号下拉列表-客户端
///
///
public Task>> GetBookingContractNoList(string queryKey = "", long carrierId = 0);
///
/// 获取商品下拉列表-客户端
///
///
public Task>> GetClientGoodsList(string queryKey = "");
///
/// 根据id获取往来单位参数信息
///
///
///
public Task>> GetClientParamListById(string id);
///
/// 根据用户ids获取用户邮箱信息
///
///
///
public Task>> GetUseEmailListByIds(long[] ids);
///
/// 根据类型获取用户下拉列表
///
///
public Task>> GetUserListByCode(string code, string queryKey = "");
///
/// 获取工厂信息下拉列表
///
///
public DataResult> GetFactorySelectList();
///
/// 根据单位获取数量箱型信息
///
///
public DataResult GetUnitSelectInfo(UnitSelectInfoReq req);
///
/// 根据类型获取往来单位下拉及业务信息列表
///
///
public Task> GetClientSelectInfoByCode(ClientSelectInfoReq req);
///
/// 获取往来单位下拉集合列表
///
///
public Task>> GetMultiClientList();
///
/// 提取汇率信息
///
///
///
public DataResult GetBusinessCurrencyExchangeInfo(BusinessCurrencyExchangeReq req);
///
/// 获取揽货人信息
///
///
public DataResult> GetSaleList(string queryKey = "");
///
/// 获取审核日志列表
///
///
///
public Task>> GetAuditLogList(string id);
///
/// 获取费用代码下拉选择
///
///
public DataResult> GetFeeCodeSelectList();
///
/// 获取币别信息下拉选择
///
///
public DataResult> GetFeeCurrencySelectList();
///
/// 根据类型获取往来单位下拉列表
///
///
public Task>> GetClientListByCode(string code = "", string queryKey = "");
///
/// 根据类型获取供应商下拉列表
///
///
public Task>> GetSupplierListByCode(string code = "", string queryKey = "");
///
/// 获取所有往来单位下拉列表
///
///
///
///
public DataResult> GetAllClientList(long? id = null, string? type = null);
///
/// 获取船公司下拉列表
///
///
public DataResult> GetCarrierClientList();
///
/// 获取场站下拉列表
///
///
public DataResult> GetYardClientList();
///
/// 获取订舱公司下拉列表
///
///
public DataResult> GetBookingClientList();
///
/// 获取车队下拉列表
///
///
public DataResult> GetTruckClientList();
///
/// 获取委托单位下拉列表
///
///
public DataResult> GetControllerClientList();
///
/// 获取报关行下拉列表
///
///
public DataResult> GetCustomClientList();
///
/// 获取代理(国外)下拉列表
///
///
public DataResult> GetAgentClientList();
///
/// 获取代理(国内)下拉列表
///
///
public DataResult> GetAgentCnClientList();
///
/// 获取快递公司下拉列表
///
///
public DataResult> GetExpressClientList();
///
/// 获取航空公司下拉列表
///
///
public DataResult> GetAirLinesClientList();
///
/// 获取发货人下拉列表
///
///
public DataResult> GetShipperClientList();
///
/// 获取收货人下拉列表
///
///
public DataResult> GetConsigneeClientList();
///
/// 获取通知人下拉列表
///
///
public DataResult> GetNotifyPartyClientList();
///
/// 获取仓库下拉列表
///
///
public DataResult> GetWareHouseClientList();
///
/// 获取码头下拉列表
///
///
public DataResult> GetWharfClientList();
///
/// 获取保险公司下拉列表
///
///
public DataResult> GetInsurerClientList();
///
/// 获取租箱公司下拉列表
///
///
public DataResult> GetLeasingClientList();
///
/// 获取贸易代理下拉列表
///
///
public DataResult> GetTradingAgencyClientList();
///
/// 获取船代下拉列表
///
///
public DataResult> GetShipAgencyClientList();
///
/// 获取经营单位下拉列表
///
///
public DataResult> GetEnterpriseClientList();
///
/// 获取部门列表
///
/// 机构id
///
public DataResult> GetDeptList(string orgId = "", string queryKey = "");
///
/// 获取操作员列表
///
///
public DataResult> GetOperatorUserList(string queryKey = "");
///
/// 获取单证员列表
///
///
public DataResult> GetVouchingClerkList(string queryKey = "");
///
/// 获取销售员列表
///
///
public DataResult> GetSaleUserList(string queryKey = "");
///
/// 获取报关员列表
///
///
public DataResult> GetCustomUserList(string queryKey = "");
///
/// 获取财务员列表
///
///
public DataResult> GetFinancialStaffList(string queryKey = "");
///
/// 获取客服列表
///
///
public DataResult> GetCustomerServiceList(string queryKey = "");
///
/// 获取司机列表
///
///
public DataResult> GetDiverList(string queryKey = "");
///
/// 获取派车调度人员列表
///
///
public DataResult> GetDispatcherList(string queryKey = "");
///
/// 获取签单方式下拉列表
///
///
public DataResult> GetIssueTypeSelectList();
///
/// 获取集装箱下拉列表
///
///
public DataResult> GetCtnSelectList(string queryKey = "");
///
/// 获取包装类型下拉列表
///
///
public DataResult> GetPackageSelectList(string queryKey = "");
///
/// 获取船名下拉列表
///
///
public DataResult> GetVesselSelectList(string queryKey = "");
///
/// 获取航次下拉列表
///
///
public DataResult> GetVoynoSelectList(string queryKey = "");
///
/// 获取运输条款下拉列表
///
///
public DataResult> GetServiceSelectList();
///
/// 获取用户高级查询设置
///
///
///
///
public DataResult GetUserQuerySet(string permissionId, int tagNo = 0);
///
/// 更新用户高级查询设置
///
///
///
public DataResult UpdateUserQuerySet(UserQuerySetUpdateReq req);
///
/// 获取模块新增信息
///
/// 权限模块id
///
Task> GetFormSetCreateInfoAsync(string id);
}