You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
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
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取船公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Id"></param>
|
|
|
|
|
/// <param name="tenantDb"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public string GetCarrierCode(long Id, SqlSugarScopeProvider tenantDb);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取港口代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Id"></param>
|
|
|
|
|
/// <param name="tenantDb"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public string GetPortCode(long Id, SqlSugarScopeProvider tenantDb);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取往来单位代码 有EDICode返 无返回CodeName
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="Id"></param>
|
|
|
|
|
/// <param name="tenantDb"></param>
|
|
|
|
|
/// <param name="isEDI"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public string GetClientCode(long Id, SqlSugarScopeProvider tenantDb, bool isEDI = true);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取第三方账户
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="type"></param>
|
|
|
|
|
/// <param name="userId"></param>
|
|
|
|
|
/// <param name="tenantDb"></param>
|
|
|
|
|
/// <param name="customerId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public CodeThirdParty GetCodeThirdParty(string type, string userId, SqlSugarScopeProvider tenantDb, long customerId = 0);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|