调整状态

This commit is contained in:
jing's 2023-12-27 17:22:29 +08:00
parent 6bbf7fd7b0
commit a65025da79
1 changed files with 4 additions and 2 deletions

View File

@ -794,6 +794,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
BomNewEbomParentEntity entity = new BomNewEbomParentEntity(); BomNewEbomParentEntity entity = new BomNewEbomParentEntity();
entity.setRowId(rowId); entity.setRowId(rowId);
entity.setStatus(EBomStatusEnum.RETURNED.getValue()); entity.setStatus(EBomStatusEnum.RETURNED.getValue());
entity.setEditStatus(EbomEditStatusEnum.HANDLER_CREATED.getValue());
entity.setRevertTime(LocalDateTime.now()); entity.setRevertTime(LocalDateTime.now());
entity.setRevertUserName(dto.getRevertUserName()); entity.setRevertUserName(dto.getRevertUserName());
updateList.add(entity); updateList.add(entity);
@ -870,6 +871,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
entity.setAuditTime(LocalDateTime.now()); entity.setAuditTime(LocalDateTime.now());
entity.setAuditUserName(dto.getRevertUserName()); entity.setAuditUserName(dto.getRevertUserName());
entity.setStatus(EBomStatusEnum.CHECKED.getValue()); entity.setStatus(EBomStatusEnum.CHECKED.getValue());
entity.setEditStatus(EbomEditStatusEnum.HANDLER_FINISHED.getValue());
updateReviewList.add(entity); updateReviewList.add(entity);
} }
@ -1019,8 +1021,8 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
} }
if (CollectionUtil.isNotEmpty(eBomDel.getDelEBom())) { if (CollectionUtil.isNotEmpty(eBomDel.getDelEBom())) {
// ThreadUtil.execAsync(() -> computeLevelNumAndRootState()); ThreadUtil.execAsync(() -> computeLevelNumAndRootState());
computeLevelNumAndRootState(); // computeLevelNumAndRootState();
} }
return true; return true;