public function getOrdersToPrepare()
    {
        $res = $this->createQueryBuilder('o')
            ->innerJoin('o.shippingLastStateLine', 'sl')
            ->where('sl.name = \'preparing\'')
            ->orderBy('o.updatedAt', 'ASC')
            ->getQuery()
            ->getResult();

        return $res;
    }