Model/ResourceModel/Importer.php
public function massResend($ids)
    {
        try {
            $conn = $this->getConnection();
            $num = $conn->update(
                $this->getTable(Schema::EMAIL_IMPORTER_TABLE),
                ['import_status' => 0],
                ['id IN(?)' => $ids]
            );

            return $num;
        } catch (\Exception $e) {
            return $e->getMessage();
        }
    }
public function massResend($ids)
    {
        try {
            $conn = $this->getConnection();
            $num = $conn->update(
                $this->getTable(Schema::EMAIL_IMPORTER_TABLE),
                ['import_status' => 0],
                ['id IN(?)' => $ids]
            );

            return $num;
        } catch (\Exception $e) {
            return $e->getMessage();
        }
    }
public function massResend ( $ ids ) { try { $ conn = $ this -> getConnection ( ) ; $ num = $ conn -> update ( $ this -> getTable ( Schema :: EMAIL_IMPORTER_TABLE ) , [ 'import_status' => 0 ] , [ 'id IN(?)' => $ ids ] ) ; return $ num ; } catch ( \ Exception $ e ) { return $ e -> getMessage ( ) ; } }
Reset importer items.

@param array $ids

@return int|string
Reset importer items .