diff --git a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderTruckInfo.cs b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderTruckInfo.cs
index b6849637..f3ea2e7f 100644
--- a/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderTruckInfo.cs
+++ b/Myshipping.Application/Service/TaskManagePlat/Dtos/TaskManageOrderTruckInfo.cs
@@ -168,6 +168,11 @@ namespace Myshipping.Application
///
public string DispatcherName { get; set; }
+ ///
+ /// 工厂地址
+ ///
+ public string FactoryAddr { get; set; }
+
///
/// 集装箱列表
///
diff --git a/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs b/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs
index a340857e..e0d7c89f 100644
--- a/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs
+++ b/Myshipping.Application/Service/TaskManagePlat/TaskManageTruckService.cs
@@ -165,18 +165,12 @@ namespace Myshipping.Application
entity.UpdatedUserId = UserManager.UserId;
entity.UpdatedUserName = UserManager.Name;
- await _taskTruckRepository.AsUpdateable(entity).IgnoreColumns(it => new
+ await _taskTruckRepository.AsUpdateable(entity).UpdateColumns(it => new
{
it.TenantId,
- it.CreatedTime,
- it.CreatedUserId,
- it.CreatedUserName,
- it.IsDeleted,
- it.BookingId,
- it.TruckId,
- it.TruckName,
- it.TruckCode,
- it.Status,
+ it.UpdatedTime,
+ it.UpdatedUserId,
+ it.UpdatedUserName,
}).ExecuteCommandAsync();
await _taskTruckContaRepository.DeleteAsync(x => x.P_ID == model.PK_ID);