Merge branch 'refs/heads/feature/DM/nflg-bom' into feature/DM/nflg-bom-transition
This commit is contained in:
commit
c78f0fc151
|
|
@ -1121,7 +1121,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
try {
|
||||
this.getBaseMapper().updateRootState();
|
||||
ebomChildService.getBaseMapper().updateEBomMaterialUse();
|
||||
this.compucteLevelNum();
|
||||
//this.compucteLevelNum();
|
||||
|
||||
} catch (Exception e) {
|
||||
log.info("计算层级出错:" + e.getMessage());
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
VUtils.isTure(root.getMaterialNo().startsWith("31")).throwMessage("31码物料不能进行复制");
|
||||
|
||||
BomNewPbomChildEntity child = pbomChildService.getById(rowId);
|
||||
if (child.getVirtualPartRootMaterialNo().startsWith("31") && child.getVirtualPartType() > 0) {
|
||||
if (Objects.nonNull(child) && child.getVirtualPartRootMaterialNo().startsWith("31") && child.getVirtualPartType() > 0) {
|
||||
VUtils.isTure(true).throwMessage("31下的虚拟包不能复制");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue