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