fix(ebom): 修复引用件为未正确显示的问题

This commit is contained in:
曹鹏飞 2024-05-25 17:28:12 +08:00
parent c08ed0d539
commit 4cf4c95c83
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
if (parentEntity.getStatus().equals(EBomStatusEnum.PUBLISHED.getValue())) {
child.setStatus(EBomStatusEnum.BORROWED_PARTS.getValue());
child.setBomRowId(0L);
}
// //非本人则为借用件
// else if (!parentEntity.getCreatedBy().equals(child.getCreatedBy())) {