public function findByConfigGroupId($id)
    {
        $query = $this->createQueryBuilder('v')
            ->innerJoin('v.configType', 't')
            ->where('v.configGroup = :gid')
            ->setParameter('gid', $id)
            ->orderBy('v.position', 'ASC')
            ->getQuery();
        $result = $query->getResult();

        return $result;
    }