This commit is contained in:
mkm 2024-01-13 11:10:11 +08:00
parent 44a06e0be0
commit 135912b9a1

View File

@ -225,7 +225,9 @@ class StoreOrderDao extends BaseDao
$wheres['source'] = [2, 103];
$query->where($wheres);
} else {
$query->where('activity_type', $where['product_type']);
if(isset($where['product_type']) && $where['product_type'] !== ''){
$query->where('activity_type', $where['product_type']);
}
}
return $query;
}