一键扩充1020编码2
This commit is contained in:
parent
648a4552c9
commit
ced7059846
|
|
@ -28,6 +28,7 @@ import com.google.common.collect.*;
|
||||||
import com.google.common.reflect.TypeToken;
|
import com.google.common.reflect.TypeToken;
|
||||||
import com.mysql.cj.xdevapi.JsonArray;
|
import com.mysql.cj.xdevapi.JsonArray;
|
||||||
import com.mzt.logapi.context.LogRecordContext;
|
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.conmon.util.SessionUtil;
|
||||||
import com.nflg.product.base.core.exception.NflgBusinessException;
|
import com.nflg.product.base.core.exception.NflgBusinessException;
|
||||||
import com.nflg.product.bomnew.config.NacosConfig;
|
import com.nflg.product.bomnew.config.NacosConfig;
|
||||||
|
|
@ -2540,6 +2541,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
||||||
auditEntity.setPbomParentRowId(bomRowId);
|
auditEntity.setPbomParentRowId(bomRowId);
|
||||||
auditEntity.setMaterialNos(materialList.stream().map(MaterialMainEntity::getMaterialNo).collect(Collectors.joining(",")));
|
auditEntity.setMaterialNos(materialList.stream().map(MaterialMainEntity::getMaterialNo).collect(Collectors.joining(",")));
|
||||||
auditEntity.setOaInstId(instId);
|
auditEntity.setOaInstId(instId);
|
||||||
|
auditEntity.setCreatedBy(SessionUtil.getUserCode());
|
||||||
auditEntity.setOaStatus(PBomOaStatusEnum.IN_REVIEW.getValue());
|
auditEntity.setOaStatus(PBomOaStatusEnum.IN_REVIEW.getValue());
|
||||||
bomNewPbomAuditService.save(auditEntity);
|
bomNewPbomAuditService.save(auditEntity);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue