cusorderV2_831_4

This commit is contained in:
dengbw
2022-08-31 14:37:41 +08:00
parent d23f06999b
commit f71c6e9fa8
+2 -2
View File
@@ -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; //渠道经理过滤