@Override
    @Transactional(rollbackFor = Throwable.class, isolation = Isolation.REPEATABLE_READ)
    public void updateOpt(InlongGroupRequest request, String operator) {
        InlongGroupEntity entity = groupMapper.selectByGroupId(request.getInlongGroupId());
        CommonBeanUtils.copyProperties(request, entity, true);
        // set the ext params
        setTargetEntity(request, entity);
        entity.setModifier(operator);
        int rowCount = groupMapper.updateByIdentifierSelective(entity);
        if (rowCount != InlongConstants.AFFECTED_ONE_ROW) {
            throw new BusinessException(ErrorCodeEnum.CONFIG_EXPIRED,
                    String.format("record has already updated with group id=%s, curVersion=%d",
                            request.getInlongGroupId(), request.getVersion()));
        }
    }
Set the parameters of the target entity.

@param request inlong group request
@param targetEntity entity which will set the new parameters
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/group/AbstractGroupOperator.java