转PBOM-解决缺parent时版本为空的情况
This commit is contained in:
parent
f2d556fb92
commit
1d2b2e3681
|
|
@ -173,7 +173,7 @@ public abstract class EBomToPbomBase {
|
||||||
|
|
||||||
|
|
||||||
if (Objects.isNull(oldParent)) {
|
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 处于工作表
|
//pbom 处于工作表
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue