edit-admin-order_count

This commit is contained in:
lccsw
2023-01-31 14:02:35 +08:00
parent 87511ece07
commit 09ea12a452
@@ -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;//分期