转PBOM-解决缺parent时版本为空的情况

This commit is contained in:
大米 2024-08-13 11:32:46 +08:00
parent f2d556fb92
commit 1d2b2e3681
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public abstract class EBomToPbomBase {
if (Objects.isNull(oldParent)) {
return buildParentEntity(parentVo, facCode, oldParent, parentVo.getCurrentVersion());
return buildParentEntity(parentVo, facCode, oldParent, StrUtil.isBlank(parentVo.getCurrentVersion())? VersionUtil.getNextVersion(""):parentVo.getCurrentVersion());
}
//pbom 处于工作表