|
|
@ -923,7 +923,6 @@ public class CommonDBService : ICommonDBService, IDynamicApiController, ITransie
|
|
|
|
if (!_sysCacheService.Exists("CommonConst.CACHE_KEY_COMMON_DB_VESSEL"))
|
|
|
|
if (!_sysCacheService.Exists("CommonConst.CACHE_KEY_COMMON_DB_VESSEL"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var list = await _codeVesselRep.ToListAsync();
|
|
|
|
var list = await _codeVesselRep.ToListAsync();
|
|
|
|
_logger.LogInformation(list.ToJsonString());
|
|
|
|
|
|
|
|
await _sysCacheService.SetAllCodeVessel(list);
|
|
|
|
await _sysCacheService.SetAllCodeVessel(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|