diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs index c8c23d77..8add2434 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/BookingSlot/BookingSlotService.cs @@ -4209,7 +4209,7 @@ namespace DS.WMS.Core.Op.Method // 1. 【舱位基础表】与【箱子表】做关联,并根据【舱位主键】、【箱型】做分组,统计出【总的箱量】,作为queryable1 var queryable1 = tenantDb.Queryable().InnerJoin((bas, ctn) => bas.Id == ctn.SlotId) .Where(whereList) - .WhereIF(!string.IsNullOrWhiteSpace(querySearch.OtherQueryCondition), (bas, ctn) => bas.SlotBookingNo == querySearch.OtherQueryCondition || bas.SlotNo == querySearch.OtherQueryCondition) + .WhereIF(!string.IsNullOrWhiteSpace(querySearch.OtherQueryCondition), (bas, ctn) => bas.SlotBookingNo.Contains(querySearch.OtherQueryCondition) || bas.SlotNo.Contains(querySearch.OtherQueryCondition)) .Where(bas => bas.IsCancellation == false) .WhereIF(ctnCodeArr != null && ctnCodeArr.Count > 0, (a, b) => b != null && !string.IsNullOrWhiteSpace(b.CtnCode)