$query->andWhere(['or',
['in', 'order.status', ['paid', 'refunding']],
['in', 'order.refund_type', 'part'],
])
sql => and (order.status in (['paid', 'refunding') or order.refund_type in('part'))
$query->andWhere(['or',
['in', 'order.status', ['paid', 'refunding']],
['in', 'order.refund_type', 'part'],
])
sql => and (order.status in (['paid', 'refunding') or order.refund_type in('part'))