feat(ebom): 修复引用件为未正确显示的问题
This commit is contained in:
parent
ab1449e3f0
commit
c08ed0d539
|
|
@ -382,8 +382,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
child.setNoticeNums(parentEntity.getNoticeNums());
|
||||
child.setSuperMaterialStatus(parentEntity.getSuperMaterialStatus());
|
||||
|
||||
if (!Objects.equals(child.getStatus(), EBomStatusEnum.PUBLISHED.getValue())
|
||||
&& parentEntity.getStatus().equals(EBomStatusEnum.PUBLISHED.getValue())) {
|
||||
if (parentEntity.getStatus().equals(EBomStatusEnum.PUBLISHED.getValue())) {
|
||||
child.setStatus(EBomStatusEnum.BORROWED_PARTS.getValue());
|
||||
}
|
||||
// //非本人则为借用件
|
||||
|
|
|
|||
Loading…
Reference in New Issue