diff --git a/api/controllers/wxapp/licheb/CusorderV2.php b/api/controllers/wxapp/licheb/CusorderV2.php index 08b03ded..d9755ef6 100644 --- a/api/controllers/wxapp/licheb/CusorderV2.php +++ b/api/controllers/wxapp/licheb/CusorderV2.php @@ -654,11 +654,13 @@ class CusorderV2 extends Wxapp $type = $this->input_param('type'); $order_s_time = $this->input_param('order_s_time'); $order_e_time = $this->input_param('order_e_time'); + $admin_ids = $this->input_param('admin_ids');//多选销售人员 !$page && $page = 1; !$size && $size = 10; $where = ['status!='=>2]; + $admin_ids && $where["admin_id in ({$admin_ids})"] = null; if ($group_id == 1) { $where['admin_id'] = $uid;//销售 } else if ($group_id == 2 || $group_id == 3) {//店长/老板