|
|
|
@ -132,7 +132,7 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
entity.CUSTSERVICEID = userlist.Where(x => x.Name == entity.CUSTSERVICE).Count() == 0 ? "" : userlist.Where(x => x.Name == entity.CUSTSERVICE).Select(x => x.Id).FirstOrDefault().ToString();
|
|
|
|
|
}
|
|
|
|
|
//entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
entity.TenantId = UserManager.TENANT_ID;
|
|
|
|
|
await _djycustomer.InsertAsync(entity);
|
|
|
|
|
foreach (var item in model.ContactList)
|
|
|
|
@ -220,7 +220,7 @@ namespace Myshipping.Application
|
|
|
|
|
entity.CUSTSERVICEID = userlist.Where(x => x.Name == entity.CUSTSERVICE).Count() == 0 ? "" : userlist.Where(x => x.Name == entity.CUSTSERVICE).Select(x => x.Id).FirstOrDefault().ToString();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
//entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
entity.TenantId = UserManager.TENANT_ID;
|
|
|
|
|
await _djycustomer.InsertAsync(entity);
|
|
|
|
|
foreach (var it in item.ContactList)
|
|
|
|
@ -250,7 +250,7 @@ namespace Myshipping.Application
|
|
|
|
|
{
|
|
|
|
|
entity.CUSTSERVICEID = userlist.Where(x => x.Name == entity.CUSTSERVICE).Count() == 0 ? "" : userlist.Where(x => x.Name == entity.CUSTSERVICE).Select(x => x.Id).FirstOrDefault().ToString();
|
|
|
|
|
}
|
|
|
|
|
//entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
entity.PropString = entity.PropString.Replace("forwarder", "booking_agent");
|
|
|
|
|
await _djycustomer.AsUpdateable(entity).IgnoreColumns(it => new
|
|
|
|
|
{
|
|
|
|
|
it.TenantId,
|
|
|
|
|