|
|
|
@ -885,6 +885,8 @@ namespace Myshipping.Application
|
|
|
|
|
var truckCtnList =_taskTruckContaRepository.AsQueryable().Where(a => a.P_ID == info.PK_ID).ToList();
|
|
|
|
|
BookingTruckDto model = info.Adapt<BookingTruckDto>();
|
|
|
|
|
|
|
|
|
|
model.CallBackStatus = info.Status;
|
|
|
|
|
|
|
|
|
|
if (truckCtnList.Count > 0)
|
|
|
|
|
model.ContaList = truckCtnList.Adapt<List<BookingTruckCtnDto>>();
|
|
|
|
|
|
|
|
|
@ -968,8 +970,24 @@ namespace Myshipping.Application
|
|
|
|
|
it.TruckCode,
|
|
|
|
|
}).ExecuteCommandAsync();
|
|
|
|
|
|
|
|
|
|
var truckCtnList = _taskTruckContaRepository.AsQueryable().Where(a => a.P_ID == info.PK_ID).ToList();
|
|
|
|
|
BookingTruckDto model = info.Adapt<BookingTruckDto>();
|
|
|
|
|
|
|
|
|
|
model.CallBackStatus = info.Status;
|
|
|
|
|
|
|
|
|
|
if (truckCtnList.Count > 0)
|
|
|
|
|
model.ContaList = truckCtnList.Adapt<List<BookingTruckCtnDto>>();
|
|
|
|
|
|
|
|
|
|
if (info.BookingTruckId.HasValue)
|
|
|
|
|
model.Id = info.BookingTruckId.Value;
|
|
|
|
|
|
|
|
|
|
//更新完回写订舱的派车信息
|
|
|
|
|
var service = _namedServiceProvider.GetService(nameof(BookingTruckService));
|
|
|
|
|
var rlt = await service.TruckDispatchCompleteCallBack(model);
|
|
|
|
|
|
|
|
|
|
result.succ = true;
|
|
|
|
|
result.msg = "取消成功";
|
|
|
|
|
result.ext = rlt;
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|