1、EBOM发起变更-技术通知单异常问题

This commit is contained in:
大米 2024-06-25 14:05:54 +08:00
parent 4f928b6839
commit 50ef317ab4
1 changed files with 1 additions and 1 deletions

View File

@ -1154,7 +1154,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
newParent.setRowId(IdWorker.getId());
newParent.setLastVersionIs(1);
newParent.setCurrentVersion(VersionUtil.getNextVersionForSmallVersion(parent.getCurrentVersion()));
newParent.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_11.getValue());
newParent.setExceptionStatus(StrUtil.isBlank(paramDTO.getNoticeNums())? EBomExceptionStatusEnum.EXCEPT_NO_11.getValue():EBomExceptionStatusEnum.OK.getValue());
newParent.setChangeDesc(paramDTO.getChangeDesc());
newParent.setNoticeNums(paramDTO.getNoticeNums());
newParent.setStatus(EBomStatusEnum.WAIT_CHECK.getValue());