EBOM 10、40、50、60、70大类以及200201小类,版本号显示B00
This commit is contained in:
parent
cc31695be9
commit
fb7ac3f813
|
|
@ -443,7 +443,10 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
child.setEditStatus(parent.getEditStatus());
|
child.setEditStatus(parent.getEditStatus());
|
||||||
child.setVirtualPackageIs(parent.getVirtualPackageIs());
|
child.setVirtualPackageIs(parent.getVirtualPackageIs());
|
||||||
child.setSuperMaterialStatus(parent.getSuperMaterialStatus());
|
child.setSuperMaterialStatus(parent.getSuperMaterialStatus());
|
||||||
if (MaterialshouldBomExistUtil.checkShouldBomExist(child)) {
|
// 10、40、50、60、70大类以及200201小类这些不需要BOM的物料,版本号显示B00 by 10002327 241012
|
||||||
|
if(MaterialshouldBomExistUtil.checkNoNeedBom(child)){
|
||||||
|
child.setCurrentVersion(OriginalConstant.NO_NEED_BOM);
|
||||||
|
}else if (MaterialshouldBomExistUtil.checkShouldBomExist(child)) {
|
||||||
child.setCurrentVersion(OriginalConstant.NO_BOM_VERSION);
|
child.setCurrentVersion(OriginalConstant.NO_BOM_VERSION);
|
||||||
} else {
|
} else {
|
||||||
child.setCurrentVersion(OriginalConstant.DEFAULT_BOM_VERSION);
|
child.setCurrentVersion(OriginalConstant.DEFAULT_BOM_VERSION);
|
||||||
|
|
|
||||||
|
|
@ -395,8 +395,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
// 10、40、50、60、70大类以及200201小类这些不需要BOM的物料,版本号显示B00 by 10002327 241012
|
// 10、40、50、60、70大类以及200201小类这些不需要BOM的物料,版本号显示B00 by 10002327 241012
|
||||||
if(MaterialshouldBomExistUtil.checkNoNeedBom(child)){
|
if(MaterialshouldBomExistUtil.checkNoNeedBom(child)){
|
||||||
child.setCurrentVersion(OriginalConstant.NO_NEED_BOM);
|
child.setCurrentVersion(OriginalConstant.NO_NEED_BOM);
|
||||||
}else
|
}else if (MaterialshouldBomExistUtil.checkShouldBomExist(child)) {
|
||||||
if (MaterialshouldBomExistUtil.checkShouldBomExist(child)) {
|
|
||||||
child.setCurrentVersion(OriginalConstant.NO_BOM_VERSION);
|
child.setCurrentVersion(OriginalConstant.NO_BOM_VERSION);
|
||||||
} else {
|
} else {
|
||||||
child.setCurrentVersion(OriginalConstant.DEFAULT_BOM_VERSION);
|
child.setCurrentVersion(OriginalConstant.DEFAULT_BOM_VERSION);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue