Model/ResourceModel/Order.php
public function setImported($ids)
    {
        if (empty($ids)) {
            return;
        }
        $connection = $this->getConnection();
        $tableName = $this->getTable(Schema::EMAIL_ORDER_TABLE);
        $connection->update(
            $tableName,
            [
                'modified' => new \Zend_Db_Expr('null'),
                'email_imported' => '1',
                'updated_at' => gmdate('Y-m-d H:i:s')
            ],
            ["order_id IN (?)" => $ids]
        );
    }
public function setImported($ids)
    {
        if (empty($ids)) {
            return;
        }
        $connection = $this->getConnection();
        $tableName = $this->getTable(Schema::EMAIL_ORDER_TABLE);
        $connection->update(
            $tableName,
            [
                'modified' => new \Zend_Db_Expr('null'),
                'email_imported' => '1',
                'updated_at' => gmdate('Y-m-d H:i:s')
            ],
            ["order_id IN (?)" => $ids]
        );
    }
public function setImported ( $ ids ) { if ( empty ( $ ids ) ) { return ; } $ connection = $ this -> getConnection ( ) ; $ tableName = $ this -> getTable ( Schema :: EMAIL_ORDER_TABLE ) ; $ connection -> update ( $ tableName , [ 'modified' => new \ Zend_Db_Expr ( 'null' ) , 'email_imported' => '1' , 'updated_at' => gmdate ( 'Y-m-d H:i:s' ) ] , [ "order_id IN (?)" => $ ids ] ) ; }
Mark the connector orders to be imported.

@param array $ids

@return null
Mark the connector orders to be imported .