对账明细修改

dev
cjy 1 week ago
parent 1b8826aa6c
commit 4972481f6f

@ -552,7 +552,7 @@ namespace DS.WMS.Core.Check.Method
CheckId = info.Id, CheckId = info.Id,
BusinessId = item BusinessId = item
}); });
var feeRecords = tenantDb.Queryable<FeeRecord>().Where(x => x.Id == item).ToList(); var feeRecords = tenantDb.Queryable<FeeRecord>().Where(x => x.BusinessId == item).ToList();
foreach (var record in feeRecords) foreach (var record in feeRecords)
{ {
feeList.Add(new CheckBillFeeRecords() feeList.Add(new CheckBillFeeRecords()
@ -610,7 +610,7 @@ namespace DS.WMS.Core.Check.Method
foreach (var item in addFeeIds) foreach (var item in addFeeIds)
{ {
var feeRecords = tenantDb.Queryable<FeeRecord>().Where(x => x.Id == item).ToList(); var feeRecords = tenantDb.Queryable<FeeRecord>().Where(x => x.BusinessId == item).ToList();
foreach (var record in feeRecords) foreach (var record in feeRecords)
{ {
feeList.Add(new CheckBillFeeRecords() feeList.Add(new CheckBillFeeRecords()

Loading…
Cancel
Save