diff --git a/app/common/dao/store/order/StoreOrderDao.php b/app/common/dao/store/order/StoreOrderDao.php index 797dfda0..5674928b 100755 --- a/app/common/dao/store/order/StoreOrderDao.php +++ b/app/common/dao/store/order/StoreOrderDao.php @@ -81,7 +81,8 @@ class StoreOrderDao extends BaseDao unset($where['source']); } else { if(isset($where['product_type']) && $where['product_type'] !== ''){ - $query->where('activity_type', $where['product_type']); + $where['product_type'] = [$where['product_type'], 2]; + $query->whereIn('activity_type', $where['product_type']); } } $query->when(($sysDel !== null), function ($query) use ($sysDel) {