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];