查询条件不生效问题

hotfix/paypal-note
ycc 4 years ago
parent 31899a1c6e
commit 683494c375

@ -88,7 +88,7 @@ class Information_model extends CI_Model {
} }
$sql_keyword.=' ) '; $sql_keyword.=' ) ';
$this->path = " AND is1.is_path LIKE '$path%' "; $this->path = " AND is1.is_path LIKE '$path%' ";
$this->search =' AND ic_status=1 AND is_id NOT IN('.implode(',',$exclude_ids).',0)'; $this->search =' AND ic_status=1 AND is_id NOT IN('.implode(',',$exclude_ids).',0) '.$sql_keyword;
$this->orderBy = " ORDER BY is1.is_level ASC, is1.is_sort ASC,ic_datetime DESC "; $this->orderBy = " ORDER BY is1.is_level ASC, is1.is_sort ASC,ic_datetime DESC ";
return $this->GetList(); return $this->GetList();
} }

Loading…
Cancel
Save