isNumber($field)) { $this->query = $this->query->where($fieldSql, $op, $this->getNumber($field)); } return $this; } public function queryString($field, $op = '=') { if ($this->isString($field)) { $this->query = $this->query->where($field, $op, $this->getNumber($field)); } return $this; } /** * 存在,且notEmpay * @param $field * @param $op * @return $this */ public function queryExist($field, $op = '=') { if ($this->notNull($field) && $this->notEmpty($field)) { $this->query = $this->query->where($field, $op, $this->data[$field]); } return $this; } }