|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Extensions;
|
|
|
|
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.Sys.Dtos;
|
|
|
|
using DS.WMS.Core.Sys.Entity;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Sys.Interface;
|
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// </summary>
|
|
|
|
public interface IClientCommonService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 根据类型获取用户下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Task<DataResult<List<ApiSelectViewModel>>> GetUserListByCode(string code = "");
|
|
|
|
/// <summary>
|
|
|
|
/// 获取工厂信息下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodeFactorySelectRes>> GetFactorySelectList();
|
|
|
|
/// <summary>
|
|
|
|
/// 根据单位获取数量箱型信息
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<UnitSelectInfoRes> GetUnitSelectInfo(UnitSelectInfoReq req);
|
|
|
|
/// <summary>
|
|
|
|
/// 根据类型获取往来单位下拉及业务信息列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<ClientSelectInfoRes> GetClientSelectInfoByCode(ClientSelectInfoReq req);
|
|
|
|
/// <summary>
|
|
|
|
/// 获取往来单位下拉集合列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public Task<DataResult<List<ClientSelectMultiRes>>> GetMultiClientList();
|
|
|
|
/// <summary>
|
|
|
|
/// 提取汇率信息
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="req"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<BusinessCurrencyExchangeRes> GetBusinessCurrencyExchangeInfo(BusinessCurrencyExchangeReq req);
|
|
|
|
/// <summary>
|
|
|
|
/// 获取揽货人信息
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<SaleSelectListRes>> GetSaleList();
|
|
|
|
/// <summary>
|
|
|
|
/// 获取审核日志列表
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<AuditLogListRes>> GetAuditLogList(string id);
|
|
|
|
/// <summary>
|
|
|
|
/// 获取费用代码下拉选择
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<FeeCodeSelectRes>> GetFeeCodeSelectList();
|
|
|
|
/// <summary>
|
|
|
|
/// 获取币别信息下拉选择
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<FeeCurrencySelectRes>> GetFeeCurrencySelectList();
|
|
|
|
/// <summary>
|
|
|
|
/// 根据类型获取往来单位下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetClientListByCode(string code ="");
|
|
|
|
/// <summary>
|
|
|
|
/// 获取所有往来单位下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetAllClientList();
|
|
|
|
/// <summary>
|
|
|
|
/// 获取船公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetCarrierClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取场站下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetYardClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取订舱公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetBookingClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取车队下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetTruckClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取委托单位下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetControllerClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取报关行下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetCustomClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取代理(国外)下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetAgentClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取代理(国内)下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetAgentCnClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取快递公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetExpressClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取航空公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetAirLinesClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取发货人下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetShipperClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取收货人下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetConsigneeClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取通知人下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetNotifyPartyClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取仓库下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetWareHouseClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取码头下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetWharfClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取保险公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetInsurerClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取租箱公司下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetLeasingClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取贸易代理下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetTradingAgencyClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取船代下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetShipAgencyClientList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取经营单位下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<ClientSelectRes>> GetEnterpriseClientList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取部门列表
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="orgId">机构id</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<DeptSelectRes>> GetDeptList(string orgId = "");
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取操作员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetOperatorUserList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取单证员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetVouchingClerkList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取销售员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetSaleUserList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取报关员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetCustomUserList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取财务员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetFinancialStaffList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取客服列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetCustomerServiceList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取司机列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetDiverList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取派车调度人员列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<UserSelectRes>> GetDispatcherList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取签单方式下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<IssueTypeSelectRes>> GetIssueTypeSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取集装箱下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodeCtnSelectRes>> GetCtnSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取包装类型下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodePackageSelectRes>> GetPackageSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取船名下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodeVesselSelectRes>> GetVesselSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取航次下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodeVoynoSelectRes>> GetVoynoSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取运输条款下拉列表
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<List<CodeServiceSelectRes>> GetServiceSelectList();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取用户高级查询设置
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="permissionId"></param>
|
|
|
|
/// <param name="tagNo"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult<SysQuerySet> GetUserQuerySet(string permissionId,int tagNo=0);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 更新用户高级查询设置
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="req"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public DataResult UpdateUserQuerySet(UserQuerySetUpdateReq req);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 获取模块新增信息
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="id">权限模块id</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task<DataResult<FormSetCreateRes>> GetFormSetCreateInfoAsync(string id);
|
|
|
|
}
|