From e454a0d2cca5636a9444e8e0dd03d05a5f4af7ab Mon Sep 17 00:00:00 2001 From: wet <1034391973@qq.com> Date: Thu, 6 Jul 2023 19:07:40 +0800 Subject: [PATCH] 1 --- .../Service/BookingVesselInfo/BookingVesselInfoService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/BookingVesselInfo/BookingVesselInfoService.cs b/Myshipping.Application/Service/BookingVesselInfo/BookingVesselInfoService.cs index d8cd32ff..1be99df6 100644 --- a/Myshipping.Application/Service/BookingVesselInfo/BookingVesselInfoService.cs +++ b/Myshipping.Application/Service/BookingVesselInfo/BookingVesselInfoService.cs @@ -122,7 +122,8 @@ namespace Myshipping.Application if ((dto.ETA != null || dto.ETD != null || dto.ATD != null) && !string.IsNullOrEmpty(dto.Vessel) && !string.IsNullOrEmpty(dto.Voyno)&&!string.IsNullOrEmpty(dto.CARRIERID)) { - var order=await _order.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.IsDeleted == false && x.VESSEL == dto.Vessel && x.VOYNO == dto.Voyno&&x.CARRIERID==dto.CARRIERID).ToListAsync(); + var order=await _order.AsQueryable().Filter(null, true).Where(x => x.TenantId == UserManager.TENANT_ID && x.IsDeleted == false && x.VESSEL == dto.Vessel && x.VOYNO == dto.Voyno + &&x.CARRIERID==dto.CARRIERID&&x.CARRIER==dto.CARRIER).ToListAsync(); bool issend = false; if (order != null) {