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