Merge remote-tracking branch 'origin/DM/-bug修复-2' into test
This commit is contained in:
commit
95941e1e32
|
|
@ -321,7 +321,7 @@ public abstract class FormalEBomToPbomBase {
|
||||||
pBomParent.setSource(PbomSourceEnum.FROM_EBOM.getValue());
|
pBomParent.setSource(PbomSourceEnum.FROM_EBOM.getValue());
|
||||||
pBomParent.setSourceStatus(PbomSourceStatusEnum.EBOM.getValue());
|
pBomParent.setSourceStatus(PbomSourceStatusEnum.EBOM.getValue());
|
||||||
//EBOM版本大于pbom版本则用EBOm版本
|
//EBOM版本大于pbom版本则用EBOm版本
|
||||||
if(oldParent!=null && VersionUtil.compare(parentVo.getCurrentVersion(),oldParent.getCurrentVersion())>0){
|
if( oldParent!=null && StrUtil.isNotBlank(parentVo.getCurrentVersion()) && VersionUtil.compare(parentVo.getCurrentVersion(),oldParent.getCurrentVersion())>0){
|
||||||
pBomParent.setCurrentVersion(parentVo.getCurrentVersion());
|
pBomParent.setCurrentVersion(parentVo.getCurrentVersion());
|
||||||
pBomParent.setCurrentVersion(parentVo.getCurrentVersion());
|
pBomParent.setCurrentVersion(parentVo.getCurrentVersion());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue