|
|
|
@ -161,13 +161,10 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
throw Oops.Bah("等级为R1/R2,客服必填");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
if (m == null)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entity.TenantId = UserManager.TENANT_ID;
|
|
|
|
|
await _djycustomer.InsertAsync(entity);
|
|
|
|
|
foreach (var item in model.ContactList)
|
|
|
|
@ -193,13 +190,11 @@ namespace Myshipping.Application
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
ship.Code = entity.CodeName;
|
|
|
|
|
ship.Name = entity.ShortName;
|
|
|
|
|
ship.ModifyTime = DateTime.Now;
|
|
|
|
|
ship.ModifyUser = UserManager.DjyUserId;
|
|
|
|
|
await _codeForwarder.UpdateAsync(ship);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
await _commonDBService.GetAllForwarder(false);
|
|
|
|
|
}
|
|
|
|
@ -2107,7 +2102,7 @@ namespace Myshipping.Application
|
|
|
|
|
bookingStatusLog.MBLNO = item.MBLNO;
|
|
|
|
|
await _repStatuslog.InsertAsync(bookingStatusLog);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (item.detail != null && item.detail.Count > 0)
|
|
|
|
|
{
|
|
|
|
|
foreach (var dt in item.detail)
|
|
|
|
@ -2119,6 +2114,14 @@ namespace Myshipping.Application
|
|
|
|
|
BookingStatusLogDetail.OPTime = dt.OPTime;
|
|
|
|
|
await _statuslogdetail.InsertAsync(BookingStatusLogDetail);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (item.Status == "提箱")
|
|
|
|
|
{
|
|
|
|
|
await _bookingorderservice.AutoYardData(item.BookingId);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
@ -2355,6 +2358,8 @@ namespace Myshipping.Application
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
if (flag)
|
|
|
|
|
{
|
|
|
|
|