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 {
|
try {
|
||||||
this.getBaseMapper().updateRootState();
|
this.getBaseMapper().updateRootState();
|
||||||
ebomChildService.getBaseMapper().updateEBomMaterialUse();
|
ebomChildService.getBaseMapper().updateEBomMaterialUse();
|
||||||
this.compucteLevelNum();
|
//this.compucteLevelNum();
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("计算层级出错:" + e.getMessage());
|
log.info("计算层级出错:" + e.getMessage());
|
||||||
|
|
|
||||||
|
|
@ -587,7 +587,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
VUtils.isTure(root.getMaterialNo().startsWith("31")).throwMessage("31码物料不能进行复制");
|
VUtils.isTure(root.getMaterialNo().startsWith("31")).throwMessage("31码物料不能进行复制");
|
||||||
|
|
||||||
BomNewPbomChildEntity child = pbomChildService.getById(rowId);
|
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下的虚拟包不能复制");
|
VUtils.isTure(true).throwMessage("31下的虚拟包不能复制");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue