一键扩充1020编码2

This commit is contained in:
10002327 2024-10-31 10:40:55 +08:00
parent 648a4552c9
commit ced7059846
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import com.google.common.collect.*;
import com.google.common.reflect.TypeToken;
import com.mysql.cj.xdevapi.JsonArray;
import com.mzt.logapi.context.LogRecordContext;
import com.nflg.product.base.core.config.MybatisPlusHandler;
import com.nflg.product.base.core.conmon.util.SessionUtil;
import com.nflg.product.base.core.exception.NflgBusinessException;
import com.nflg.product.bomnew.config.NacosConfig;
@ -2540,6 +2541,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
auditEntity.setPbomParentRowId(bomRowId);
auditEntity.setMaterialNos(materialList.stream().map(MaterialMainEntity::getMaterialNo).collect(Collectors.joining(",")));
auditEntity.setOaInstId(instId);
auditEntity.setCreatedBy(SessionUtil.getUserCode());
auditEntity.setOaStatus(PBomOaStatusEnum.IN_REVIEW.getValue());
bomNewPbomAuditService.save(auditEntity);
}