fix(ebom): 修改判断条件

This commit is contained in:
曹鹏飞 2024-06-07 15:18:41 +08:00
parent e8f3da6694
commit b0bc503239
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class BomNewEbomExportToSAP {
children.add(convert(it, p.getMaterialNo(), ignore));
}
if (it.getVirtualPartType() > VirtualPackageTypeEnum.UN_VIRTUAL_PACKAGE.getValue()
&& !Objects.equals(it.getVirtualPartType(), VirtualPackageTypeEnum.DELIVERY_PACKAGE.getValue())) {
&& !Objects.equals(it.getVirtualPartType(), VirtualPackageTypeEnum.MAKING_PACKAGE.getValue())) {
cRowId = null;
}
BomNewEbomParentEntity cp = getParent(it);