|
|
@@ -130,6 +130,7 @@ class Fullorderexcel extends Start_Controller {
|
|
|
$page = $this->input->post('page',true);
|
|
|
$perpage = $this->input->post('perpage',true);
|
|
|
$type = $this->input->post('type',true);
|
|
|
+ $must = $this->input->post('must',true);
|
|
|
$where = "1=1 ";
|
|
|
//数据排序
|
|
|
$order_str = "id asc";
|
|
|
@@ -146,6 +147,10 @@ class Fullorderexcel extends Start_Controller {
|
|
|
{
|
|
|
$where .= " and type = '$type'";
|
|
|
}
|
|
|
+ if($must)
|
|
|
+ {
|
|
|
+ $where .= " and title like '%".$must."%' ";
|
|
|
+ }
|
|
|
//取得信息列表
|
|
|
$info_list = $this->fullorderexcel->find_all($where,'id,type,title',$order_str,$start,$perpage);
|
|
|
foreach ($info_list as $k=>$v)
|