|
@@ -31,6 +31,7 @@ class LiveAppointment extends Controller
|
|
|
$this->title = '预约列表';
|
|
|
$live_id = input('id');
|
|
|
$goods_id = input('goods_id',0);
|
|
|
+ $search_name = input('search_name','');
|
|
|
$where= [];
|
|
|
if($this->request->request('live_name')) $where[]= ['l.name','=',$this->request->request('live_name')];
|
|
|
if($this->request->request('live_time')){
|
|
@@ -39,6 +40,7 @@ class LiveAppointment extends Controller
|
|
|
}
|
|
|
if($live_id) $where[] = ['live_id','=',$live_id];
|
|
|
if($goods_id) $where[] = ['goods_id','=',$goods_id];
|
|
|
+ if($search_name) $where[] = ['g.name','like',"%".$search_name."%"];
|
|
|
$this->goods_id = $goods_id;
|
|
|
$this->live_id = $live_id;
|
|
|
$this->live_status = Db::table('store_live')->where('id',$live_id)->value('status');
|