optimize
wet 2 years ago
parent dd8093011c
commit 46776ce459

@ -455,6 +455,11 @@ namespace Myshipping.Application
entity.CreatedUserId = userlist.Result.Where(x => x.Name == item.CreatedUserName).Select(x => x.Id).FirstOrDefault(); entity.CreatedUserId = userlist.Result.Where(x => x.Name == item.CreatedUserName).Select(x => x.Id).FirstOrDefault();
} }
if (string.IsNullOrEmpty(item.Voyno))
{
entity.Voyno = entity.VoynoInside;
}
if (m == null) if (m == null)
{ {
await _vesselinfo.InsertAsync(entity); await _vesselinfo.InsertAsync(entity);

Loading…
Cancel
Save