booking_auth_dev
wet 2 years ago
parent 92af417367
commit 1e3a240754

@ -652,6 +652,11 @@
船名映射 船名映射
</summary> </summary>
</member> </member>
<member name="F:Myshipping.Core.CommonConst.CACHE_KEY_COMMON_DB_MAPPING_YARD">
<summary>
场站映射
</summary>
</member>
<member name="F:Myshipping.Core.CommonConst.CACHE_KEY_COMMON_DB_DICT_DATA"> <member name="F:Myshipping.Core.CommonConst.CACHE_KEY_COMMON_DB_DICT_DATA">
<summary> <summary>
字典映射 字典映射
@ -659,7 +664,7 @@
</member> </member>
<member name="F:Myshipping.Core.CommonConst.CACHE_KEY_DJY_EDI_SETTING"> <member name="F:Myshipping.Core.CommonConst.CACHE_KEY_DJY_EDI_SETTING">
<summary> <summary>
船名映射 EDI映射
</summary> </summary>
</member> </member>
<member name="F:Myshipping.Core.CommonConst.ENTITY_ASSEMBLY_NAME"> <member name="F:Myshipping.Core.CommonConst.ENTITY_ASSEMBLY_NAME">
@ -1262,6 +1267,11 @@
代码 代码
</summary> </summary>
</member> </member>
<member name="P:Myshipping.Core.Entity.MappingYard.Name">
<summary>
名称
</summary>
</member>
<member name="P:Myshipping.Core.Entity.MappingYard.Module"> <member name="P:Myshipping.Core.Entity.MappingYard.Module">
<summary> <summary>
模块 模块
@ -5503,6 +5513,12 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Myshipping.Core.Service.ISysCacheService.GetAllMappingYard">
<summary>
获取公共库 场站映射
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.ISysCacheService.SetAllCodeCarrier(System.Collections.Generic.List{Myshipping.Core.Entity.CodeCarrier})"> <member name="M:Myshipping.Core.Service.ISysCacheService.SetAllCodeCarrier(System.Collections.Generic.List{Myshipping.Core.Entity.CodeCarrier})">
<summary> <summary>
设置公共库 船公司 设置公共库 船公司
@ -5587,6 +5603,12 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Myshipping.Core.Service.ISysCacheService.SetAllMappingYard(System.Collections.Generic.List{Myshipping.Core.Entity.MappingYard})">
<summary>
设置公共库 场站映射
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.ISysCacheService.GetAllTenantParam"> <member name="M:Myshipping.Core.Service.ISysCacheService.GetAllTenantParam">
<summary> <summary>
获取租户参数 获取租户参数
@ -5884,6 +5906,12 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Myshipping.Core.Service.SysCacheService.GetAllMappingYard">
<summary>
获取公共库 船名映射
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.SysCacheService.SetAllCodeCarrier(System.Collections.Generic.List{Myshipping.Core.Entity.CodeCarrier})"> <member name="M:Myshipping.Core.Service.SysCacheService.SetAllCodeCarrier(System.Collections.Generic.List{Myshipping.Core.Entity.CodeCarrier})">
<summary> <summary>
设置公共库 船公司 设置公共库 船公司
@ -5968,6 +5996,12 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Myshipping.Core.Service.SysCacheService.SetAllMappingYard(System.Collections.Generic.List{Myshipping.Core.Entity.MappingYard})">
<summary>
设置公共库 场站映射
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.SysCacheService.GetAllTenantParam"> <member name="M:Myshipping.Core.Service.SysCacheService.GetAllTenantParam">
<summary> <summary>
获取租户参数 获取租户参数
@ -6573,6 +6607,16 @@
新增场站信息 新增场站信息
</summary> </summary>
</member> </member>
<member name="M:Myshipping.Core.Service.CommonDBService.MappingYardList(Myshipping.Core.Service.MappingQueryDto)">
<summary>
获取场站映射
</summary>
</member>
<member name="M:Myshipping.Core.Service.CommonDBService.AddOrUpdateMappingYard(Myshipping.Core.Entity.MappingYard)">
<summary>
新增编辑场站映射信息
</summary>
</member>
<member name="M:Myshipping.Core.Service.CommonDBService.PortloadList(Myshipping.Core.Service.NameQueryDto)"> <member name="M:Myshipping.Core.Service.CommonDBService.PortloadList(Myshipping.Core.Service.NameQueryDto)">
<summary> <summary>
获取起始港信息 获取起始港信息
@ -6704,6 +6748,12 @@
</summary> </summary>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:Myshipping.Core.Service.ICommonDBService.GetAllMappingYard">
<summary>
获取场站映射
</summary>
<returns></returns>
</member>
<member name="M:Myshipping.Core.Service.ICommonDBService.GetAllPortload"> <member name="M:Myshipping.Core.Service.ICommonDBService.GetAllPortload">
<summary> <summary>
获取起始港 获取起始港

@ -434,7 +434,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeCarrier(List<CodeCarrier> list) public Task SetAllCodeCarrier(List<CodeCarrier> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_CARRIER, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_CARRIER, list);
} }
/// <summary> /// <summary>
@ -443,7 +443,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeVessel(List<CodeVessel> list) public Task SetAllCodeVessel(List<CodeVessel> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_VESSEL, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_VESSEL, list);
} }
/// <summary> /// <summary>
@ -452,7 +452,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeForwarder(List<CodeForwarder> list) public Task SetAllCodeForwarder(List<CodeForwarder> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_FORWARDER, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_FORWARDER, list);
} }
/// <summary> /// <summary>
@ -461,7 +461,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeYard(List<CodeYard> list) public Task SetAllCodeYard(List<CodeYard> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_YARD, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_YARD, list);
} }
/// <summary> /// <summary>
@ -470,7 +470,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodePortLoad(List<CodePortLoad> list) public Task SetAllCodePortLoad(List<CodePortLoad> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PORTLOAD, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PORTLOAD, list);
} }
/// <summary> /// <summary>
@ -479,7 +479,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodePort(List<CodePort> list) public Task SetAllCodePort(List<CodePort> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PORT, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PORT, list);
} }
/// <summary> /// <summary>
@ -488,7 +488,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodePackage(List<CodePackage> list) public Task SetAllCodePackage(List<CodePackage> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PACKAGE, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_PACKAGE, list);
} }
/// <summary> /// <summary>
@ -497,7 +497,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeService(List<CodeService> list) public Task SetAllCodeService(List<CodeService> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_SERVICE, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_SERVICE, list);
} }
/// <summary> /// <summary>
@ -506,7 +506,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeCtn(List<CodeCtn> list) public Task SetAllCodeCtn(List<CodeCtn> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_CTN, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_CTN, list);
} }
/// <summary> /// <summary>
@ -515,7 +515,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllCodeFrt(List<CodeFrt> list) public Task SetAllCodeFrt(List<CodeFrt> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_FRT, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_FRT, list);
} }
/// <summary> /// <summary>
@ -524,7 +524,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllMappingCtn(List<MappingCtn> list) public Task SetAllMappingCtn(List<MappingCtn> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_CTN, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_CTN, list);
} }
/// <summary> /// <summary>
@ -533,7 +533,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllMappingCarrier(List<MappingCarrier> list) public Task SetAllMappingCarrier(List<MappingCarrier> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_CARRIER, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_CARRIER, list);
} }
/// <summary> /// <summary>
@ -542,7 +542,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllMappingFrt(List<MappingFrt> list) public Task SetAllMappingFrt(List<MappingFrt> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_FRT, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_FRT, list);
} }
/// <summary> /// <summary>
@ -551,7 +551,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllMappingVessel(List<MappingVessel> list) public Task SetAllMappingVessel(List<MappingVessel> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_VESSEL, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_VESSEL, list);
} }
/// <summary> /// <summary>
@ -560,7 +560,7 @@ public class SysCacheService : ISysCacheService, IDynamicApiController, ISinglet
/// <returns></returns> /// <returns></returns>
public Task SetAllMappingYard(List<MappingYard> list) public Task SetAllMappingYard(List<MappingYard> list)
{ {
return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_YARD, list, TimeSpan.FromMinutes(5)); return _cache.SetAsync(CommonConst.CACHE_KEY_COMMON_DB_MAPPING_YARD, list);
} }

@ -20,11 +20,8 @@ public class CommonDBService : ICommonDBService, IDynamicApiController, ITransie
private readonly SqlSugarRepository<CodeCarrier> _codeCarrierRep; private readonly SqlSugarRepository<CodeCarrier> _codeCarrierRep;
private readonly SqlSugarRepository<MappingCarrier> _mappingCarrierRep; private readonly SqlSugarRepository<MappingCarrier> _mappingCarrierRep;
private readonly SqlSugarRepository<CodeVessel> _codeVesselRep; private readonly SqlSugarRepository<CodeVessel> _codeVesselRep;
private readonly SqlSugarRepository<MappingVessel> _mappingVesselRep; private readonly SqlSugarRepository<MappingVessel> _mappingVesselRep;
private readonly SqlSugarRepository<CodeForwarder> _codeForwarderRep; private readonly SqlSugarRepository<CodeForwarder> _codeForwarderRep;
private readonly SqlSugarRepository<CodeYard> _codeYardRep; private readonly SqlSugarRepository<CodeYard> _codeYardRep;
private readonly SqlSugarRepository<MappingYard> _mappingYardRep; private readonly SqlSugarRepository<MappingYard> _mappingYardRep;
@ -34,10 +31,8 @@ public class CommonDBService : ICommonDBService, IDynamicApiController, ITransie
private readonly SqlSugarRepository<CodeService> _codeServiceRep; private readonly SqlSugarRepository<CodeService> _codeServiceRep;
private readonly SqlSugarRepository<CodeCtn> _codeCtnRep; private readonly SqlSugarRepository<CodeCtn> _codeCtnRep;
private readonly SqlSugarRepository<MappingCtn> _mappingCtnRep; private readonly SqlSugarRepository<MappingCtn> _mappingCtnRep;
private readonly SqlSugarRepository<CodeFrt> _codeFrtRep; private readonly SqlSugarRepository<CodeFrt> _codeFrtRep;
private readonly SqlSugarRepository<MappingFrt> _mappingFrtRep; private readonly SqlSugarRepository<MappingFrt> _mappingFrtRep;
private readonly ISysCacheService _sysCacheService; private readonly ISysCacheService _sysCacheService;
public CommonDBService(SqlSugarRepository<CodeCarrier> codeCarrierRep, public CommonDBService(SqlSugarRepository<CodeCarrier> codeCarrierRep,
@ -164,7 +159,6 @@ public class CommonDBService : ICommonDBService, IDynamicApiController, ITransie
return queryList.ToList(); return queryList.ToList();
} }
/// <summary> /// <summary>
/// 新增船名信息 /// 新增船名信息
/// </summary> /// </summary>

Loading…
Cancel
Save