commit by yzf

master
Yang 3 years ago
parent 86c39be44a
commit 97f17d7b48

@ -601,7 +601,8 @@ namespace FactorySystemBll
{ {
foreach (TFS_Material item in temps) foreach (TFS_Material item in temps)
{ {
if (first.FIsNew || item.FIsNew) fids += item.FID + ",";//父级新则子一级全部都要、自己是新 //if (first.FIsNew || item.FIsNew)
fids += item.FID + ",";//父级新则子一级全部都要、自己是新
dtoList.Add(new BomFormulaDto() { mId = item.FID, isNew = item.FIsNew, childs = GetBomFormulaChild(item, formulaList, out string nextIds) }); dtoList.Add(new BomFormulaDto() { mId = item.FID, isNew = item.FIsNew, childs = GetBomFormulaChild(item, formulaList, out string nextIds) });
if (!string.IsNullOrEmpty(nextIds)) fids += nextIds + ","; if (!string.IsNullOrEmpty(nextIds)) fids += nextIds + ",";
} }

Loading…
Cancel
Save