|
|
@ -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) |
|
|
|