Browse Source

添加0数量调整表允许录入,适应只更新价格不能新数据

master
学 赵 1 year ago
parent
commit
f8ee4fceba
  1. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_BA_SERVICE.cs

4
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_BA_SERVICE.cs

@ -370,9 +370,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
if (adjlist != null && adjlist.Count > 0)
{
var relationList =_relationRepository.Where(p => p.BusinessType == inv.BusinessType);
var relationList =_relationRepository.Where(p => p.BusinessType == inv.BusinessType).ToList();
var relist= relationList.GroupBy(p => new { p.SettleMaterialCode, p.ErpMaterialCode }).Select(p => p.FirstOrDefault());
var relist= relationList.GroupBy(p => new { p.SettleMaterialCode, p.ErpMaterialCode }).Select(p => p.FirstOrDefault()).ToList();
foreach (var itm in adjlist)

Loading…
Cancel
Save