From f5ada0149f81b93019d5210f35756087e17fc7d9 Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Fri, 24 Mar 2023 11:20:18 +0800 Subject: [PATCH] 1 --- Myshipping.Application/Service/DataSync/DataSyncService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Myshipping.Application/Service/DataSync/DataSyncService.cs b/Myshipping.Application/Service/DataSync/DataSyncService.cs index 66608d2f..842eb9eb 100644 --- a/Myshipping.Application/Service/DataSync/DataSyncService.cs +++ b/Myshipping.Application/Service/DataSync/DataSyncService.cs @@ -363,6 +363,7 @@ namespace Myshipping.Application { fdentity.FORWARDERID = djycustomer.Result.Where(x => x.ShortName == fdentity.FORWARDER && x.PropString == "booking_agent").Select(x => x.CodeName).First(); } + fdentity.MBLNO = entity.MBLNO; fdentity.CreatedUserId = user.Result.Id; fdentity.CreatedUserName = user.Result.Name; fdentity.CreatedTime = DateTime.Now; @@ -651,7 +652,7 @@ namespace Myshipping.Application { throw Oops.Bah($"当前提单号{fdet.MBLNO}_{fdet.HBLNO}已存在,请勿重复录入!"); } - + fdentity.MBLNO = entity.MBLNO; fdentity.Id = fdmain.Id; fdentity.UpdatedUserName = user.Result.Name; fdentity.UpdatedUserId = user.Result.Id; @@ -1085,6 +1086,7 @@ namespace Myshipping.Application { fdentity.FORWARDERID = djycustomer.Result.Where(x => x.ShortName == fdentity.FORWARDER && x.PropString == "booking_agent").Select(x => x.CodeName).First(); } + fdentity.MBLNO = entity.MBLNO; fdentity.CreatedUserId = user.Result.Id; fdentity.CreatedUserName = user.Result.Name; fdentity.CreatedTime = DateTime.Now; @@ -1368,7 +1370,7 @@ namespace Myshipping.Application { throw Oops.Bah($"当前提单号{fdet.MBLNO}_{fdet.HBLNO}已存在,请勿重复录入!"); } - + fdentity.MBLNO = entity.MBLNO; fdentity.Id = fdmain.Id; fdentity.UpdatedUserName = user.Result.Name; fdentity.UpdatedUserId = user.Result.Id;