using DS.WMS.Core.Code.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.HangfireJob.Interface
{
public interface IJobCommonService
{
///
/// 获取船公司代码
///
///
///
///
public string GetCarrierCode(long Id, SqlSugarScopeProvider tenantDb);
///
/// 获取港口代码
///
///
///
///
public string GetPortCode(long Id, SqlSugarScopeProvider tenantDb);
///
/// 获取往来单位代码 有EDICode返 无返回CodeName
///
///
///
///
///
public string GetClientCode(long Id, SqlSugarScopeProvider tenantDb, bool isEDI = true);
///
/// 获取第三方账户
///
///
///
///
///
///
public CodeThirdParty GetCodeThirdParty(string type, string userId, SqlSugarScopeProvider tenantDb, long customerId = 0);
}
}