From 047e174a2f2d5abac3bd18be5f5f062ed71c3b21 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Mon, 11 Mar 2024 15:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E6=88=B7=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/order/StoreOrderDao.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/common/dao/store/order/StoreOrderDao.php b/app/common/dao/store/order/StoreOrderDao.php index 5b271b79..b27a2401 100755 --- a/app/common/dao/store/order/StoreOrderDao.php +++ b/app/common/dao/store/order/StoreOrderDao.php @@ -79,6 +79,11 @@ class StoreOrderDao extends BaseDao $wheres['source'] = [0,2,103,105,999]; $query->where($wheres); unset($where['source']); + } elseif (isset($where['source']) && ($where['source'] == 11 || $where['source'] == 12)) { + $wheres['activity_type'] = 98; + $wheres['source'] = [$where['source'], 999]; + $query->where($wheres); + unset($where['source']); } else { if(isset($where['product_type']) && $where['product_type'] !== ''){ $where['product_type'] = [$where['product_type'], 2];