|
|
@ -165,18 +165,12 @@ namespace Myshipping.Application
|
|
|
|
entity.UpdatedUserId = UserManager.UserId;
|
|
|
|
entity.UpdatedUserId = UserManager.UserId;
|
|
|
|
entity.UpdatedUserName = UserManager.Name;
|
|
|
|
entity.UpdatedUserName = UserManager.Name;
|
|
|
|
|
|
|
|
|
|
|
|
await _taskTruckRepository.AsUpdateable(entity).IgnoreColumns(it => new
|
|
|
|
await _taskTruckRepository.AsUpdateable(entity).UpdateColumns(it => new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
it.TenantId,
|
|
|
|
it.TenantId,
|
|
|
|
it.CreatedTime,
|
|
|
|
it.UpdatedTime,
|
|
|
|
it.CreatedUserId,
|
|
|
|
it.UpdatedUserId,
|
|
|
|
it.CreatedUserName,
|
|
|
|
it.UpdatedUserName,
|
|
|
|
it.IsDeleted,
|
|
|
|
|
|
|
|
it.BookingId,
|
|
|
|
|
|
|
|
it.TruckId,
|
|
|
|
|
|
|
|
it.TruckName,
|
|
|
|
|
|
|
|
it.TruckCode,
|
|
|
|
|
|
|
|
it.Status,
|
|
|
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
|
|
|
|
|
|
|
|
await _taskTruckContaRepository.DeleteAsync(x => x.P_ID == model.PK_ID);
|
|
|
|
await _taskTruckContaRepository.DeleteAsync(x => x.P_ID == model.PK_ID);
|
|
|
|