protected function reset()
{
if (!$this->paramsAutoReset) {
$this->sql['columns'] = '';
return;
}
$this->sql = ['where' => '', 'columns' => '', 'limit' => '', 'orderBy' => '', 'groupBy' => '', 'having' => ''];
$this->table = [];
//操作的表
$this->join = [];
//是否内联
$this->leftJoin = [];
//是否左联结
$this->rightJoin = [];
//是否右联
$this->whereNeedAddAndOrOr = 0;
}