fix: 修复一个bug
This commit is contained in:
parent
abd6a0742d
commit
e7f7b4c15c
|
|
@ -706,7 +706,8 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
pbomChildService.getBaseMapper().setProductionFactoryCode(k.getProductionFactoryCode(), rowIds);
|
||||
}
|
||||
|
||||
if (k.getProductionFactoryCode().equals(EBomConstant.MAIN_FACTORY_CODE_1010)) {
|
||||
if (k.getProductionFactoryCode().equals(EBomConstant.MAIN_FACTORY_CODE_1010)
|
||||
&& CollUtil.isNotEmpty(k.getAllParentRowIds())) {
|
||||
//设置所有父级节点为1010
|
||||
pbomChildService.setParentFactoryCode1010(k.getAllParentRowIds());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue