From 46776ce4596843f5fef84a76445a30e637a2227a Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Tue, 9 May 2023 17:54:55 +0800 Subject: [PATCH] 1 --- Myshipping.Application/Service/DataSync/DataSyncService.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Myshipping.Application/Service/DataSync/DataSyncService.cs b/Myshipping.Application/Service/DataSync/DataSyncService.cs index 41abd5b6..bb6529cc 100644 --- a/Myshipping.Application/Service/DataSync/DataSyncService.cs +++ b/Myshipping.Application/Service/DataSync/DataSyncService.cs @@ -455,6 +455,11 @@ namespace Myshipping.Application entity.CreatedUserId = userlist.Result.Where(x => x.Name == item.CreatedUserName).Select(x => x.Id).FirstOrDefault(); } + if (string.IsNullOrEmpty(item.Voyno)) + { + + entity.Voyno = entity.VoynoInside; + } if (m == null) { await _vesselinfo.InsertAsync(entity);