From 17ac025a3c36ed56d68d373a7224df45adbfe1a7 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Fri, 18 Aug 2023 17:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/order/StoreOrderDao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/dao/store/order/StoreOrderDao.php b/app/common/dao/store/order/StoreOrderDao.php index 13bcfea4..0ff23ad2 100644 --- a/app/common/dao/store/order/StoreOrderDao.php +++ b/app/common/dao/store/order/StoreOrderDao.php @@ -96,10 +96,10 @@ class StoreOrderDao extends BaseDao $query->where('activity_type', $where['product_type']); }) ->when(isset($where['status']) && $where['status'] !== '', function ($query) use ($where) { - // 12表示信用购 + // 12表示信用购 先货后款 switch ($where['status']) { case 0 : - $query->whereIn('StoreOrder.status', [0, 9]); + $query->whereIn('StoreOrder.status', [0, 9, 12]); break; case -2 : $query->where('StoreOrder.paid', 1)->whereNotIn('StoreOrder.status', [10, 11]);