退舱入池后调用cargoo

dev
zhangxiaofeng 1 month ago
parent f25e57fd41
commit 2d19c9d40e

@ -7,6 +7,7 @@ using DS.Module.UserModule;
using DS.WMS.Core.Fee.Entity;
using DS.WMS.Core.Flow.Dtos;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Dtos.Cargoo;
using DS.WMS.Core.Op.Entity;
using DS.WMS.Core.Op.Interface;
using DS.WMS.Core.Sys.Entity;
@ -610,6 +611,14 @@ namespace DS.WMS.Core.Op.Method
if (!res.Succeeded)
return await Task.FromResult(DataResult.Failed(res.Message));
// 订舱完成推送Cargoo
var cargooService = _serviceProvider.GetRequiredService<ICargooService>();
await cargooService.SendCargoo(new CargooShipmentReqDto()
{
bookingId = task.BusinessId,
cargooStatusEnum = CargooStatusEnum.Confirmed
});
return DataResult.Success;
}

Loading…
Cancel
Save