From f10588e9464d448b11cb98aaf295cd4e7696f5e3 Mon Sep 17 00:00:00 2001 From: dengbw Date: Wed, 7 Sep 2022 13:59:57 +0800 Subject: [PATCH] CusorderV2_907 --- api/controllers/wxapp/licheb/CusorderV2.php | 2 ++ 1 file changed, 2 insertions(+) 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) {//店长/老板