From 8bfaf194054e60c22e2861f813de5c2b68127bac Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Tue, 31 Jan 2023 14:02:35 +0800 Subject: [PATCH] edit-admin-order_count --- admin/controllers/receiver/orderv2/Orders.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/controllers/receiver/orderv2/Orders.php b/admin/controllers/receiver/orderv2/Orders.php index 05921a4b..607260cb 100644 --- a/admin/controllers/receiver/orderv2/Orders.php +++ b/admin/controllers/receiver/orderv2/Orders.php @@ -60,15 +60,18 @@ class Orders extends HD_Controller $cate = $where = array(); $where["$t1.status<>"] = -1; strlen($value['pid_status']) && $where["$t1.brand_id>"] = 0; - if(strlen($value['pid_status']) && $value['pid_status']){ - $where["$t1.id>="] = $old_oid; - } +// if(strlen($value['pid_status']) && $value['pid_status']){ +// $where["$t1.id>="] = $old_oid; +// } if(is_product()){ $where["{$t1}.brand_id<>3"] = null;//狸车品牌不显示 $where["{$t1}.biz_id<>1"] = null;//biz_id=1不显示 } if ($value['list']) { foreach ($value['list'] as $key2 => $value2) { + if($key!=3 && $key2!=1){ + $where["$t1.id>="] = $old_oid; + } if($key2 && $key2<21){ $where_s = []; $key==1 && $where_s["{$t1}.payway"] = 0;//分期