diff --git a/ds-wms-service/DS.WMS.Core/Check/Method/CheckBillService.cs b/ds-wms-service/DS.WMS.Core/Check/Method/CheckBillService.cs index ab08ab72..bb6859e9 100644 --- a/ds-wms-service/DS.WMS.Core/Check/Method/CheckBillService.cs +++ b/ds-wms-service/DS.WMS.Core/Check/Method/CheckBillService.cs @@ -552,7 +552,7 @@ namespace DS.WMS.Core.Check.Method CheckId = info.Id, BusinessId = item }); - var feeRecords = tenantDb.Queryable().Where(x => x.Id == item).ToList(); + var feeRecords = tenantDb.Queryable().Where(x => x.BusinessId == item).ToList(); foreach (var record in feeRecords) { feeList.Add(new CheckBillFeeRecords() @@ -610,7 +610,7 @@ namespace DS.WMS.Core.Check.Method foreach (var item in addFeeIds) { - var feeRecords = tenantDb.Queryable().Where(x => x.Id == item).ToList(); + var feeRecords = tenantDb.Queryable().Where(x => x.BusinessId == item).ToList(); foreach (var record in feeRecords) { feeList.Add(new CheckBillFeeRecords()