fix(pbom): 修复一个bug
This commit is contained in:
parent
111456e587
commit
343d76b71c
|
|
@ -190,10 +190,10 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
|
||||||
children.add(convert(it, p.getMaterialNo(), ignore));
|
children.add(convert(it, p.getMaterialNo(), ignore));
|
||||||
}
|
}
|
||||||
BomNewPbomParentEntity cp = getParent(it);
|
BomNewPbomParentEntity cp = getParent(it);
|
||||||
if (!ignore && cp.getUserRootIs() == 1) {
|
|
||||||
ignore = true;
|
|
||||||
}
|
|
||||||
if (Objects.nonNull(cp)) {
|
if (Objects.nonNull(cp)) {
|
||||||
|
if (!ignore && cp.getUserRootIs() == 1) {
|
||||||
|
ignore = true;
|
||||||
|
}
|
||||||
buildChildrenForSap(cRowId, cp, it, ignore);
|
buildChildrenForSap(cRowId, cp, it, ignore);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue