From 3d806653974ac31b29ca4f27ef6f31dd2877dd59 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Thu, 16 Jun 2022 16:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E8=87=AA=E5=8A=A8=E6=94=B6=E8=B4=A7=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/dao/order/StoreOrderStoreOrderStatusDao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/dao/order/StoreOrderStoreOrderStatusDao.php b/crmeb/app/dao/order/StoreOrderStoreOrderStatusDao.php index 9ca67d449..30f9aa382 100644 --- a/crmeb/app/dao/order/StoreOrderStoreOrderStatusDao.php +++ b/crmeb/app/dao/order/StoreOrderStoreOrderStatusDao.php @@ -83,7 +83,7 @@ class StoreOrderStoreOrderStatusDao extends BaseDao */ public function getTakeOrderIds(array $where, int $limit = 0) { - return $this->search($where)->whereIn('refund_type', [0, 3])->field([$this->alias . '.*']) + return $this->search($where)->whereIn('refund_type', [0, 3])->where('pid', '<>', -1)->field([$this->alias . '.*']) ->when($limit != 0, function ($query) use ($limit) { $query->limit($limit); })->select()->toArray();