Browse Source

更新版本

master
zhaoxinyu 9 months ago
parent
commit
93dea7da05
  1. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_SA_SERVICE.cs
  2. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs

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

@ -193,10 +193,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
var bbacSaGroupNums = importBBACSaDetails.Select(t => t.GroupNum).Distinct();
//已存在的结算分组号
var _first=_codeRepository.FirstOrDefault(p => p.Project == "组验证开启" && p.Value == "是");
if (_first!=null)
{
var havBBACSaGroupNums = (await _bbacSaDetailRepository.GetListAsync(t => bbacSaGroupNums.Contains(t.GroupNum)).ConfigureAwait(false)).Select(t => t.GroupNum).Distinct();
@ -208,7 +205,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
}
}
}
if (!checkList.Any())
{
//验证客户对应厂内零件号是否存在

1
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_SA_SERVICE.cs

@ -336,7 +336,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
}
}
}
if (!checkList.Any())
{
checkList.AddRange(await CheckMaterialRelationshipAsync(importPubSaDetails).ConfigureAwait(false));

Loading…
Cancel
Save