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;