diff --git a/app/common/controller/LogisticController.php b/app/common/controller/LogisticController.php index 0a45087d..1f05ba51 100644 --- a/app/common/controller/LogisticController.php +++ b/app/common/controller/LogisticController.php @@ -22,7 +22,11 @@ if($k != 'status'){ $where[] = [$k,'like','%'.$v.'%']; }else{ - $where[] = [$k,'=',$v]; + if($v==3){ + $where[] = [$k,'in','3,4']; + }else{ + $where[] = [$k,'=',$v]; + } } } $data = Logistics::field(['id','order_id','order_sn','shop_name','shop_phone','receiver_name','receiver_phone','receiver_address','courier_name','courier_company','status','qh_time','ps_time','qx_time','create_time'])