src/DumpController.php
public function filterTable($tableName, array $filterTable = [], array $optionsTable = [])
    {

        if (empty($filterTable) && empty($optionsTable)) {
            // filter migration table
            if ($tableName !== $this->schema->addPrefix($this->migrationTable, $this->db->tablePrefix)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } elseif (! empty($filterTable) && empty($optionsTable)) {
            if (! in_array($tableName, $filterTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } elseif (empty($filterTable) && ! empty($optionsTable)) {
            if (in_array($tableName, $optionsTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } else { // ! empty($filterTable) && ! empty($optionsTable)
            if (in_array($tableName, $optionsTable) && ! in_array($tableName, $filterTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }

                return false;
            }
        }

        // 记录所有已经 过滤 的数据库表
        $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
        if (! in_array($tableName, $this->filters) ) {
            $this->filters[] = $tableName;
        }

        return true; // filter
    }
public function filterTable($tableName, array $filterTable = [], array $optionsTable = [])
    {

        if (empty($filterTable) && empty($optionsTable)) {
            // filter migration table
            if ($tableName !== $this->schema->addPrefix($this->migrationTable, $this->db->tablePrefix)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } elseif (! empty($filterTable) && empty($optionsTable)) {
            if (! in_array($tableName, $filterTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } elseif (empty($filterTable) && ! empty($optionsTable)) {
            if (in_array($tableName, $optionsTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }
                return false;
            }

        } else { // ! empty($filterTable) && ! empty($optionsTable)
            if (in_array($tableName, $optionsTable) && ! in_array($tableName, $filterTable)) {

                $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
                if (! in_array($tableName, $this->generations) ) {
                    // 记录所有已经 生成 的数据库表
                    $this->generations[] = $tableName;
                }

                return false;
            }
        }

        // 记录所有已经 过滤 的数据库表
        $tableName = $this->schema->removePrefix($tableName, $this->db->tablePrefix);
        if (! in_array($tableName, $this->filters) ) {
            $this->filters[] = $tableName;
        }

        return true; // filter
    }
which table will not be generated
```
./yii dump -table=table,table1 -filter=table2,table3
```
@param $tableName string with prefix table name
@param $filterTable array -filter params
@param $optionsTable array -table params
@return boolean false not filter | true filter