Language:
Free Online Dictionary|3Dict

据情办理

Source : CEDICT

to judge by the circumstances (idiom)