调整状态
This commit is contained in:
parent
6bbf7fd7b0
commit
a65025da79
|
|
@ -794,6 +794,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
BomNewEbomParentEntity entity = new BomNewEbomParentEntity();
|
||||
entity.setRowId(rowId);
|
||||
entity.setStatus(EBomStatusEnum.RETURNED.getValue());
|
||||
entity.setEditStatus(EbomEditStatusEnum.HANDLER_CREATED.getValue());
|
||||
entity.setRevertTime(LocalDateTime.now());
|
||||
entity.setRevertUserName(dto.getRevertUserName());
|
||||
updateList.add(entity);
|
||||
|
|
@ -870,6 +871,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
entity.setAuditTime(LocalDateTime.now());
|
||||
entity.setAuditUserName(dto.getRevertUserName());
|
||||
entity.setStatus(EBomStatusEnum.CHECKED.getValue());
|
||||
entity.setEditStatus(EbomEditStatusEnum.HANDLER_FINISHED.getValue());
|
||||
updateReviewList.add(entity);
|
||||
}
|
||||
|
||||
|
|
@ -1019,8 +1021,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
}
|
||||
if (CollectionUtil.isNotEmpty(eBomDel.getDelEBom())) {
|
||||
|
||||
// ThreadUtil.execAsync(() -> computeLevelNumAndRootState());
|
||||
computeLevelNumAndRootState();
|
||||
ThreadUtil.execAsync(() -> computeLevelNumAndRootState());
|
||||
// computeLevelNumAndRootState();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue