Merge branch 'refs/heads/feature/DM/nflg-bom' into feature/DM/nflg-bom-transition
This commit is contained in:
commit
af6c30c89d
|
|
@ -383,8 +383,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
||||||
child.setNoticeNums(parentEntity.getNoticeNums());
|
child.setNoticeNums(parentEntity.getNoticeNums());
|
||||||
child.setSuperMaterialStatus(parentEntity.getSuperMaterialStatus());
|
child.setSuperMaterialStatus(parentEntity.getSuperMaterialStatus());
|
||||||
|
|
||||||
if (!Objects.equals(child.getStatus(), EBomStatusEnum.PUBLISHED.getValue())
|
if (parentEntity.getStatus().equals(EBomStatusEnum.PUBLISHED.getValue())) {
|
||||||
&& parentEntity.getStatus().equals(EBomStatusEnum.PUBLISHED.getValue())) {
|
|
||||||
child.setStatus(EBomStatusEnum.BORROWED_PARTS.getValue());
|
child.setStatus(EBomStatusEnum.BORROWED_PARTS.getValue());
|
||||||
}
|
}
|
||||||
// //非本人则为借用件
|
// //非本人则为借用件
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue