代码冲突修改

dev
cjy 4 weeks ago
parent 57e3d6b36f
commit 3d15a70966

@ -50,7 +50,7 @@ public partial class SeaExportService : ISeaExportService
private readonly ISysCacheService _sysCacheService;
private readonly IRabbitMQService _rabbitMQService;
private readonly IRedisService _redisBaseService;
private readonly IBookingSlotService _bookingSlotService;
//private readonly IBookingSlotService _bookingSlotService;
private readonly Lazy<ITaskManageBaseService> _taskManageBaseService;
@ -88,7 +88,7 @@ public partial class SeaExportService : ISeaExportService
_configService = _serviceProvider.GetRequiredService<IConfigService>();
_rabbitMQService = _serviceProvider.GetRequiredService<IRabbitMQService>();
_redisBaseService = _serviceProvider.GetRequiredService<IRedisService>();
_bookingSlotService = _serviceProvider.GetRequiredService<IBookingSlotService>();
//_bookingSlotService = _serviceProvider.GetRequiredService<IBookingSlotService>();
_taskManageBaseService = _serviceProvider.GetRequiredService<Lazy<ITaskManageBaseService>>();
@ -503,19 +503,19 @@ public partial class SeaExportService : ISeaExportService
//return DataResult.Successed("更新成功!", MultiLanguageConst.DataUpdateSuccess);
await tenantDb.Ado.CommitTranAsync();
//保存会同步舱位
await _bookingSlotService.SyncBookingOrderToSlot(new BookingOrderToSlotDto {
BookingId = info.Id,
CustomerId = info.CustomerId,
CustomerName = info.CustomerName,
CustomerNo = info.CustomerNo,
DocId = info.Doc,
DocName = info.DocName,
SaleId = info.SaleId,
SaleName = info.Sale,
OpId = info.OperatorId,
OpName = info.OperatorName
});
////保存会同步舱位
//await _bookingSlotService.SyncBookingOrderToSlot(new BookingOrderToSlotDto {
// BookingId = info.Id,
// CustomerId = info.CustomerId,
// CustomerName = info.CustomerName,
// CustomerNo = info.CustomerNo,
// DocId = info.Doc,
// DocName = info.DocName,
// SaleId = info.SaleId,
// SaleName = info.Sale,
// OpId = info.OperatorId,
// OpName = info.OperatorName
//});
return await Task.FromResult(DataResult.Successed("更新成功!", MultiLanguageConst.DataUpdateSuccess));
}

Loading…
Cancel
Save