From f71c6e9fa86d6842167c568b545dd5c7b9d9df1e Mon Sep 17 00:00:00 2001 From: dengbw Date: Wed, 31 Aug 2022 14:37:41 +0800 Subject: [PATCH] cusorderV2_831_4 --- api/controllers/wxapp/licheb/CusorderV2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/controllers/wxapp/licheb/CusorderV2.php b/api/controllers/wxapp/licheb/CusorderV2.php index f6e9cc30..8d8e9e13 100644 --- a/api/controllers/wxapp/licheb/CusorderV2.php +++ b/api/controllers/wxapp/licheb/CusorderV2.php @@ -662,7 +662,7 @@ class CusorderV2 extends Wxapp if ($group_id == 1) { $where['admin_id'] = $uid;//销售 } else if ($group_id == 2 || $group_id == 3) {//店长/老板 - $where["biz_id = {$this->biz_id} or admin_id = {$uid}"] = null; + $where["(biz_id = {$this->biz_id} OR admin_id = {$uid})"] = null; } else if ($group_id == 4) { $where['biz_id'] = $this->biz_id; $this->biz_id != 1 && $where['brand_id!='] = 3; //渠道经理过滤 @@ -960,7 +960,7 @@ class CusorderV2 extends Wxapp if ($group_id == 1) { $where['admin_id'] = $uid;//销售 } else if ($group_id == 2 || $group_id == 3) {//店长/老板 - $where["biz_id = {$this->biz_id} or admin_id = {$uid}"] = null; + $where["(biz_id = {$this->biz_id} OR admin_id = {$uid})"] = null; } else if ($group_id == 4) { $where['biz_id'] = $this->biz_id; $this->biz_id != 1 && $where['brand_id!='] = 3; //渠道经理过滤