From f6935bda30a6b75d0795e69bbd8a5a956fc2cf5c Mon Sep 17 00:00:00 2001 From: weiz Date: Mon, 13 Nov 2023 17:10:04 +0800 Subject: [PATCH] update --- app/common/controller/LogisticController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'])