From 9e3799824abebb51575d735faedc9ac8c4a15ee5 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Fri, 29 Mar 2024 15:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=88=B1=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/BookingSlot/BookingSlotService.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs index aa36db82..7098319a 100644 --- a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs +++ b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs @@ -395,8 +395,8 @@ namespace Myshipping.Application TaskBCInfoDto bcTargetDto = dto.DataObj.Adapt(); //提取箱信息 - var ctnList = _repCtn.AsQueryable() - .Where(x => x.IsDeleted == false && x.TenantId == UserManager.TENANT_ID + var ctnList = _repCtn.AsQueryable().Filter(null, true) + .Where(x => x.IsDeleted == false && x.TenantId.Value == UserManager.TENANT_ID && x.SLOT_ID == model.Id).ToList(); if (ctnList != null) @@ -1210,6 +1210,7 @@ namespace Myshipping.Application /// /// 生成订舱订单请求 /// 返回回执 + [HttpGet("/BookingSlot/CreateBookingOrder")] public async Task CreateBookingOrder(BookingGenerateDto model) { TaskManageOrderResultDto result = new TaskManageOrderResultDto(); @@ -1476,7 +1477,7 @@ namespace Myshipping.Application /// /// /// 返回回执 - + [HttpGet("/BookingSlot/SearchBookingSlotWithOrderById")] public async Task SearchBookingSlotWithOrderById(long id) { BookingSlotWithOrderDto dto = null; @@ -1513,7 +1514,7 @@ namespace Myshipping.Application /// /// 订舱编号 /// 返回回执 - + [HttpGet("/BookingSlot/SearchBookingSlotWithOrderByNo")] public async Task SearchBookingSlotWithOrderByNo(string slotBookingNo) { BookingSlotWithOrderDto dto = null;